Пример #1
0
 public EntityFrameworkRepository(VsSummit2018Context context)
 {
     this.context = context;
     collection   = context.Set <T>();
 }
Пример #2
0
 public EntityFrameworkUoW(VsSummit2018Context context, IServiceProvider serviceProvider)
 {
     this.context         = context;
     this.serviceProvider = serviceProvider;
 }