public RelatedProductRepository()
 {
     this.db = new NopContext();
     db.RelatedProduct.Load();
 }
示例#2
0
 public PictureRepository()
 {
     db = new NopContext();
     //db.Picture.Include(pm=>pm.Product_Picture_Mapping).Include(pb=>pb.PictureBinaries).Load();
     db.Picture.Load();
 }
 public PictureBinaryRepository()
 {
     db = new NopContext();
     db.PictureBinary.Load();
 }
 public CategoryRepository()
 {
     this.db = new NopContext();
     db.Category.Load();
 }