/// <summary> /// Create a new Customer object. /// </summary> /// <param name="customerID">Initial value of the CustomerID property.</param> /// <param name="storeID">Initial value of the StoreID property.</param> /// <param name="isVIP">Initial value of the IsVIP property.</param> /// <param name="fccMember">Initial value of the FccMember property.</param> /// <param name="fccPoints">Initial value of the FccPoints property.</param> /// <param name="noChecks">Initial value of the NoChecks property.</param> /// <param name="canBill">Initial value of the CanBill property.</param> /// <param name="isTaxExempt">Initial value of the IsTaxExempt property.</param> /// <param name="billCycleID">Initial value of the BillCycleID property.</param> /// <param name="autoDiscount1ID">Initial value of the AutoDiscount1ID property.</param> /// <param name="deleted">Initial value of the Deleted property.</param> /// <param name="billToOffice">Initial value of the BillToOffice property.</param> /// <param name="sOFInStore">Initial value of the SOFInStore property.</param> /// <param name="noHeatseals">Initial value of the NoHeatseals property.</param> /// <param name="isFinCharged">Initial value of the IsFinCharged property.</param> /// <param name="billCenterID">Initial value of the BillCenterID property.</param> /// <param name="creditLimit">Initial value of the CreditLimit property.</param> /// <param name="priceListID">Initial value of the PriceListID property.</param> /// <param name="isPrintName">Initial value of the IsPrintName property.</param> /// <param name="isHotel">Initial value of the IsHotel property.</param> /// <param name="printIReminder">Initial value of the PrintIReminder property.</param> /// <param name="printPackingList">Initial value of the PrintPackingList property.</param> /// <param name="isCompany">Initial value of the IsCompany property.</param> /// <param name="language">Initial value of the Language property.</param> /// <param name="coupCount">Initial value of the CoupCount property.</param> /// <param name="designation">Initial value of the Designation property.</param> /// <param name="taxAuthorityID">Initial value of the TaxAuthorityID property.</param> /// <param name="invoicePrintID">Initial value of the InvoicePrintID property.</param> /// <param name="noEmailPromos">Initial value of the NoEmailPromos property.</param> /// <param name="kioskCannotReplaceCard">Initial value of the KioskCannotReplaceCard property.</param> /// <param name="emailStatements">Initial value of the EmailStatements property.</param> /// <param name="printStatements">Initial value of the PrintStatements property.</param> /// <param name="accountType">Initial value of the AccountType property.</param> /// <param name="priceLevel">Initial value of the PriceLevel property.</param> /// <param name="requestsNoEmail">Initial value of the RequestsNoEmail property.</param> /// <param name="invoiceCopies">Initial value of the InvoiceCopies property.</param> /// <param name="printInvoicePrices">Initial value of the PrintInvoicePrices property.</param> /// <param name="printInvoiceTotals">Initial value of the PrintInvoiceTotals property.</param> /// <param name="noPricesOnFirstCopy">Initial value of the NoPricesOnFirstCopy property.</param> /// <param name="noTotalsOnFirstCopy">Initial value of the NoTotalsOnFirstCopy property.</param> public static Customer CreateCustomer(global::System.Int32 customerID, global::System.Int32 storeID, global::System.Boolean isVIP, global::System.Boolean fccMember, global::System.Int32 fccPoints, global::System.Boolean noChecks, global::System.Boolean canBill, global::System.Boolean isTaxExempt, global::System.Int32 billCycleID, global::System.Int32 autoDiscount1ID, global::System.Boolean deleted, global::System.Boolean billToOffice, global::System.Boolean sOFInStore, global::System.Boolean noHeatseals, global::System.Boolean isFinCharged, global::System.Int32 billCenterID, global::System.Decimal creditLimit, global::System.Int32 priceListID, global::System.Boolean isPrintName, global::System.Boolean isHotel, global::System.Boolean printIReminder, global::System.Boolean printPackingList, global::System.Boolean isCompany, global::System.Int32 language, global::System.Int32 coupCount, global::System.Int32 designation, global::System.Int32 taxAuthorityID, global::System.Int32 invoicePrintID, global::System.Boolean noEmailPromos, global::System.Boolean kioskCannotReplaceCard, global::System.Boolean emailStatements, global::System.Boolean printStatements, global::System.Int32 accountType, global::System.Int32 priceLevel, global::System.Boolean requestsNoEmail, global::System.Int32 invoiceCopies, global::System.Boolean printInvoicePrices, global::System.Boolean printInvoiceTotals, global::System.Boolean noPricesOnFirstCopy, global::System.Boolean noTotalsOnFirstCopy) { Customer customer = new Customer(); customer.CustomerID = customerID; customer.StoreID = storeID; customer.IsVIP = isVIP; customer.FccMember = fccMember; customer.FccPoints = fccPoints; customer.NoChecks = noChecks; customer.CanBill = canBill; customer.IsTaxExempt = isTaxExempt; customer.BillCycleID = billCycleID; customer.AutoDiscount1ID = autoDiscount1ID; customer.Deleted = deleted; customer.BillToOffice = billToOffice; customer.SOFInStore = sOFInStore; customer.NoHeatseals = noHeatseals; customer.IsFinCharged = isFinCharged; customer.BillCenterID = billCenterID; customer.CreditLimit = creditLimit; customer.PriceListID = priceListID; customer.IsPrintName = isPrintName; customer.IsHotel = isHotel; customer.PrintIReminder = printIReminder; customer.PrintPackingList = printPackingList; customer.IsCompany = isCompany; customer.Language = language; customer.CoupCount = coupCount; customer.Designation = designation; customer.TaxAuthorityID = taxAuthorityID; customer.InvoicePrintID = invoicePrintID; customer.NoEmailPromos = noEmailPromos; customer.KioskCannotReplaceCard = kioskCannotReplaceCard; customer.EmailStatements = emailStatements; customer.PrintStatements = printStatements; customer.AccountType = accountType; customer.PriceLevel = priceLevel; customer.RequestsNoEmail = requestsNoEmail; customer.InvoiceCopies = invoiceCopies; customer.PrintInvoicePrices = printInvoicePrices; customer.PrintInvoiceTotals = printInvoiceTotals; customer.NoPricesOnFirstCopy = noPricesOnFirstCopy; customer.NoTotalsOnFirstCopy = noTotalsOnFirstCopy; return customer; }
/// <summary> /// Deprecated Method for adding a new object to the Customers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCustomers(Customer customer) { base.AddObject("Customers", customer); }