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