예제 #1
0
 public Repository(FinalDB_IPContext context)
 {
     this.context = context;
     entity       = context.Set <T>();
 }
예제 #2
0
 public ProductsRepository(FinalDB_IPContext context)
     : base(context)
 {
     categories = context.Set <Categories>();
 }