コード例 #1
0
 public GenericRepository(ICarsDBContext context)
 {
     this.context = context;
     this.set     = context.Set <T>();
 }
コード例 #2
0
ファイル: CarsData.cs プロジェクト: JohnAgarwal57/Telerik
 public CarsData(ICarsDBContext context)
 {
     this.context      = context;
     this.repositories = new Dictionary <Type, object>();
 }