ISessionFactory registered twice

Feb 3, 2013 at 7: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 10, 2013 at 11:00 PM
Edited Feb 10, 2013 at 11:04 PM
Must had been a copy paste mistake. Will fix this as soon as I can.