public InformationManager(POCDBEntities context) { this._context = context; }
public UserManager(POCDBEntities context) { this._context = context; }
public UnitOfWork() { this._context = new POCDBEntities(); this._context.Configuration.LazyLoadingEnabled = false; //This should kept false for faster loading this._context.Configuration.ProxyCreationEnabled = false; }