예제 #1
0
 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
 public EfRepository(iTestDbContext context)
 {
     this.context = context;
 }