コード例 #1
0
 public Repository(MammasTiffinDbContext mammasTiffinDbContext)
 {
     this._mammasTiffinDbContext = mammasTiffinDbContext;
     this._dbSet = this._mammasTiffinDbContext.Set <TEntity>();
 }
コード例 #2
0
 public Repository(MammasTiffinDbContext mammasTiffinDbContext)
 {
     _mammasTiffinDbContext = mammasTiffinDbContext;
     _dbSet = _mammasTiffinDbContext.Set <TEntity>();
 }