Exemplo n.º 1
0
 //构造方法
 public OrderDataAccess()
 {
     this.orderDataContext = new OrderDataContext();
     this.menuDataContext  = new MenuDataContext();
     this.morDataContext   = new MenuOrder_RDataContext();
 }
 //构造方法
 public MenuDataAccess()
 {
     this.menuDataContext = new MenuDataContext();
 }