コード例 #1
0
 public GenericRepository(PetVacayContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }
コード例 #2
0
ファイル: UnitOfWork.cs プロジェクト: ximemou/Pet-Vacay-
 public UnitOfWork()
 {
     this.context = new PetVacayContext();
 }