narsil/Tanshu.Accounts.Repository/Ninject/QueryStore.cs
2011-03-12 17:12:02 +05:30

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();
// }
// }
//}