public ProductRepository(LandDbContext dbContext) : base(dbContext)
 {
 }
Beispiel #2
0
 public LandDbContext Init()
 {
     return(dbContext ?? (dbContext = new LandDbContext()));
 }
Beispiel #3
0
 public GenericRepository(LandDbContext dbContext)
 {
     _dbContext = dbContext;
     _dbSet     = _dbContext.Set <TEntity>();
 }