コード例 #1
0
ファイル: EntitySaver.cs プロジェクト: Georgi-Angelov/iTest
 public EntitySaver(iTestDbContext context) => this.context = context;
コード例 #2
0
 public HomeController(iTestDbContext ctx)
 {
     this.ctx = ctx;
 }
コード例 #3
0
 public GenericRepository(iTestDbContext context)
 {
     this.context = context;
     this.dbSet   = this.Context.Set <TEntity>();
 }
コード例 #4
0
ファイル: EfRepository.cs プロジェクト: Georgi-Angelov/iTest
 public EfRepository(iTestDbContext context)
 {
     this.context = context;
 }