This project is read-only.

ISessionFactory registered twice

Feb 3, 2013 at 8:18 PM
Hi

Why the following code, happened twice in Bootstrapper:

builder.Register(c => FNHMVC.Data.Infrastructure.ConnectionHelper.BuildSessionFactory()).As<ISessionFactory>().SingleInstance();
        builder.Register(c => c.Resolve<ISessionFactory>().OpenSession()).InstancePerLifetimeScope();
Coordinator
Feb 11, 2013 at 12:00 AM
Edited Feb 11, 2013 at 12:04 AM
Must had been a copy paste mistake. Will fix this as soon as I can.