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