コード例 #1
0
 public UnitofWork()
 {
     _context = new TechDbContext();
     Persons  = new PersonRepository(_context);
     Colors   = new ColourRepository(_context);
 }
コード例 #2
0
ファイル: PersonRepository.cs プロジェクト: abelaem/techdemo
 public PersonRepository(TechDbContext context) : base(context)
 {
 }
コード例 #3
0
 public ColourRepository(TechDbContext context) : base(context)
 {
 }
コード例 #4
0
 public Repository(TechDbContext context)
 {
     Context = context;
 }