コード例 #1
0
ファイル: Repository.cs プロジェクト: TeamFrenchBlue/TechShop
 public Repository(ITechShopDbContext context)
 {
     this.Context = context;
     this.DbSet   = this.Context.Set <T>();
 }
コード例 #2
0
 public TechShopData(ITechShopDbContext context)
 {
     this.context      = context;
     this.repositories = new Dictionary <Type, object>();
 }