mirror of
https://github.com/riperiperi/FreeSO
synced 2026-08-13 20:26:13 -04:00
15 lines
348 B
C#
15 lines
348 B
C#
|
|
using FSO.Server.Database.DA;
|
|||
|
|
using Ninject.Modules;
|
|||
|
|
|
|||
|
|
namespace FSO.Server.Database
|
|||
|
|
{
|
|||
|
|
public class DatabaseModule : NinjectModule
|
|||
|
|
{
|
|||
|
|
public override void Load()
|
|||
|
|
{
|
|||
|
|
//TODO: If we add more drivers make this a provider
|
|||
|
|
this.Bind<IDAFactory>().To<MySqlDAFactory>().InSingletonScope();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|