예제 #1
0
 public BaseRepository(MyStoreDBContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }
예제 #2
0
 public ProductRepository(MyStoreDBContext context)
 {
     this._context = context;
 }