Beispiel #1
0
 public UnitOfWork(InsuranceDb context)
 {
     _context = context;
 }
Beispiel #2
0
 public Repository(InsuranceDb db)
 {
     Db    = db;
     DbSet = Db.Set <TEntity>();
 }