Пример #1
0
 public MyOrder()
 {
     this._description      = "";
     this._orderDate        = "";
     this._totalCost        = 0.0;
     this._myOrdersPosition = new MyOrdersPosition();
     this._client           = new MyClient();
     this._id = "-1";
 }
Пример #2
0
 public MyOrder(string Adescription, string AorderDate,
                double AtotalCost, MyOrdersPosition AmyOrdersPosition,
                MyClient Aclient, string Aid)
 {
     this._description      = Adescription;
     this._orderDate        = AorderDate;
     this._totalCost        = AtotalCost;
     this._myOrdersPosition = AmyOrdersPosition;
     this._client           = Aclient;
     this._id = Aid;
 }