예제 #1
0
        public ProductRepository(ShopgunDataContext context)
            : base(context)
        {
            var loadOptions = new DataLoadOptions();

            loadOptions.LoadWith <Product>(p => p.CertificationMarks);
            context.LoadOptions = loadOptions;
        }
예제 #2
0
 public AdviceRepository(DataContext context)
     : base(context)
 {
 }
예제 #3
0
 public BrandRepository(ShopgunDataContext context)
     : base(context)
 {
 }
예제 #4
0
 public IngredientRepository(ShopgunDataContext context)
     : base(context)
 {
 }