public ProxyQuotation(int quotationID, int salesID) { // TODO: Complete member initialization this.quotationID = quotationID; quotation = QuotationDA.getInstance().readFromDatabase(quotationID); this.salesID = salesID; }
public byte[] getQuotationData() { return(QuotationDA.getInstance().getQuotationData(this.quotationID)); }
public bool create() { return(QuotationDA.getInstance().addToDatabase(this)); }
public bool updateQuotationData() { return(QuotationDA.getInstance().updateToDatabaseQuotationData(this)); }
public System.Data.DataView viewQuotationData(int salesID) { return(QuotationDA.getInstance().readAllQuotations(salesID)); }