예제 #1
0
 public Repository(MvcTravelContext ctx)
 {
     context = ctx;
     dbset   = context.Set <T>();
 }
예제 #2
0
 public ClassMvcTravelUnitOfWork(MvcTravelContext ctx) => context = ctx;