25 lines
714 B
C#
25 lines
714 B
C#
//using System;
|
|
//using System.Collections.Generic;
|
|
//using System.Linq;
|
|
//using System.Text;
|
|
//using FluentNHibernate.Conventions;
|
|
//using FluentNHibernate.Conventions.Instances;
|
|
//using NHibernate;
|
|
//using NHibernate.SqlCommand;
|
|
//using System.Diagnostics;
|
|
//using Ninject.Modules;
|
|
|
|
//namespace Tanshu.Accounts.Repository
|
|
//{
|
|
// public class RepositoryModule : NinjectModule
|
|
// {
|
|
// public override void Load()
|
|
// {
|
|
// Bind<ISessionFactory>().ToMethod(m => SessionRepository.GetSessionFactory()).InSingletonScope();
|
|
// Bind<ISession>().ToMethod (m=>m.Kernel.
|
|
// Bind<ISession>().To<Sword>();
|
|
// Bind<Samurai>().ToSelf();
|
|
// }
|
|
// }
|
|
//}
|