public Repository(IBoothManageContext mydbcontext) { this._dbContext = mydbcontext as BoothManageContext; this._dbSet = _dbContext.Set <T>(); this._connStr = _dbContext.Database.GetDbConnection().ConnectionString; }
public BoothManager(IRepositoryFactory repositoryFactory, IBoothManageContext mydbcontext) : base(repositoryFactory, mydbcontext) { }
public IRepository <T> CreateRepository <T>(IBoothManageContext mydbcontext) where T : class, new() { return(new Repository <T>(mydbcontext)); }
public Base(IRepositoryFactory repositoryFactory, IBoothManageContext mydbcontext) { this._repositoryFactory = repositoryFactory; this._mydbcontext = mydbcontext; }
public MarketBll(IRepositoryFactory repositoryFactory, IBoothManageContext mydbcontext) : base(repositoryFactory, mydbcontext) { }