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

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