Ejemplo n.º 1
0
 public ENLineCustomerOrder(int idLines_Customers, int customerOrder, ENNewBook newBook, int quantity)
 {
     this.idLines_Customers = idLines_Customers;
     this.idCustomerOrder = customerOrder;
     this.newBook = newBook;
     this.quantity = quantity;
     this.total = quantity * newBook.Price;
     cad = new CADLineCustomerOrder();
 }
Ejemplo n.º 2
0
 public ENLineCustomerOrder()
 {
     id = 0;
     idLines_Customers = 1;
     idCustomerOrder = 0;
     newBook = new ENNewBook();
     total = 0;
     cad = new CADLineCustomerOrder();
 }