コード例 #1
0
ファイル: Repository.cs プロジェクト: pooriyaprz/TaskOne
 public Repository(DbTaskOne context)
 {
     Context = context;
 }
コード例 #2
0
 public PropertyRepository(DbTaskOne context) : base(context)
 {
 }
コード例 #3
0
ファイル: OwnerRepository.cs プロジェクト: pooriyaprz/TaskOne
 public OwnerRepository(DbTaskOne context) : base(context)
 {
 }
コード例 #4
0
 public UnitOfWork(DbTaskOne context)
 {
     _context   = context;
     Owners     = new OwnerRepository(_context);
     Properties = new PropertyRepository(_context);
 }