Exemplo n.º 1
0
 public UnitOfWork(CMDContext context)
 {
     this.context             = context;
     this.CustomerRepository  = new CustomerRepository(context);
     this.OrderRepository     = new OrderRepository(context);
     this.OrderItemRepository = new OrderItemRepository(context);
     this.ItemRepository      = new ItemRepository(context);
 }
 public OrderItemRepository(CMDContext context) : base(context)
 {
 }
 public CustomerRepository(CMDContext context) : base(context)
 {
 }
 public Repository(CMDContext context)
 {
     this.context = context;
 }
Exemplo n.º 5
0
 public ValuesController(CMDContext context)
 {
     this.context = context;
 }