예제 #1
0
 public BaseRepo(DbCtx ctx)
 {
     this.ctx = ctx;
     dbSet    = ctx.Set <T>();
 }
예제 #2
0
 public Repository(DbCtx context)
 {
     Context   = context;
     _entities = Context.Set <T>();
 }