Пример #1
0
 public GenericRepository(ICodeChestDbContext context)
 {
     this.context = context;
     this.set     = context.Set <T>();
 }
Пример #2
0
 public CodeChestData(ICodeChestDbContext context)
 {
     this.context      = context;
     this.repositories = new Dictionary <Type, object>();
 }