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(); }
public ENLineCustomerOrder() { id = 0; idLines_Customers = 1; idCustomerOrder = 0; newBook = new ENNewBook(); total = 0; cad = new CADLineCustomerOrder(); }