protected AbstractManager() { AutofacRegistrations.RegisterDaoFactory(); Scope = AutofacRegistrations.Container.BeginLifetimeScope(); DaoFactory = Scope.Resolve <IDaoFactory>(); }