コード例 #1
0
ファイル: Repository.cs プロジェクト: zonhanoz09/ShopFashion
 public Repository(ShopFashionContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }
コード例 #2
0
 public DemoRepository(ShopFashionContext context) : base(context)
 {
     this.context = context;
     this.dbSet   = context.Set <DemoTable>();
 }