Example #1
0
 public EFRepository(SmartPriceContext ctx)
 {
     _ctx = ctx;
 }
Example #2
0
 public EFDataAccess(SmartPriceContext ctx)
 {
     _dbSet = ctx.Set <T>();
 }