Пример #1
0
 public Repository(DbContext db, IMapper mapper, IEntityDeepUpdater <TDomain, TEntity> updater)
 {
     this.context = db;
     this.Mapper  = mapper;
     this.updater = updater;
     DbSet        = context.Set <TEntity>();
 }
Пример #2
0
 public TestRepo(TestRecordContext db, IMapper mapper, IEntityDeepUpdater <Test, TestRecord> updater) : base(db, mapper, updater)
 {
 }