mirror of
https://github.com/riperiperi/FreeSO
synced 2026-08-13 20:26:13 -04:00
MPL per-file was used in older project files, but should apply to the whole project, so having it there was redundant.
14 lines
348 B
C#
14 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();
|
|
}
|
|
}
|
|
}
|