Пример #1
0
 public Repository(DbTaskOne context)
 {
     Context = context;
 }
Пример #2
0
 public PropertyRepository(DbTaskOne context) : base(context)
 {
 }
Пример #3
0
 public OwnerRepository(DbTaskOne context) : base(context)
 {
 }
Пример #4
0
 public UnitOfWork(DbTaskOne context)
 {
     _context   = context;
     Owners     = new OwnerRepository(_context);
     Properties = new PropertyRepository(_context);
 }