Ejemplo n.º 1
0
 public OrderContext(IDataConnector dataConnector)
 {
     dataConnector  = this.dataConnector;
     accountContext = new AccountContext(dataConnector);
     itemContext    = new OrderItemContext(dataConnector);
 }
Ejemplo n.º 2
0
 public OrderContext()
 {
     dataConnector  = new SQLConnector();
     accountContext = new AccountContext();
     itemContext    = new OrderItemContext();
 }