public ProductRepository(EcommerceDataset context) : base(context) { if (context == null) { throw new ArgumentNullException(); } }
public Orders(EcommerceDataset context) : base(context) { if (context == null) { throw new ArgumentNullException(); } }
public RepositoryBase(EcommerceDataset context) { this.context = context; this.dbSet = context.Set <TEntity>(); }