Пример #1
0
 public UnitOfWork(MRPanelContext context)
 {
     this.context = context;
     Repository   = new Repository <T>(context);
 }
Пример #2
0
 public Repository(MRPanelContext context)
 {
     Table = context.Set <T>();
 }