public QuotationImportWindow(Quotation quotation) { this.quotation = quotation; }
public void CreateHeader(Quotation quotation) { context.Create(quotation.Header); }
public void UpdateHeader(Quotation quotation) { context.Update(quotation.Header); }
public bool ReadHeader(Quotation quotation) { var table = context.RunSelect($"select id from Quotation where OrderNumber = {quotation.Header.OrderCode}"); return(table.Rows.Count > 0); }