示例#1
0
 public UnitOfWork()
 {
     context = new FitnessContext();
 }
示例#2
0
 public Repository(FitnessContext context)
 {
     this.context  = context;
     this.entities = context.Set <T>();
 }
示例#3
0
 public UnitOfWork(FitnessContext context)
 {
     this.context = context;
 }