/// <summary> /// Deprecated Method for adding a new object to the SalesCustAddrs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSalesCustAddrs(SalesCustAddr salesCustAddr) { base.AddObject("SalesCustAddrs", salesCustAddr); }
/// <summary> /// Create a new SalesCustAddr object. /// </summary> /// <param name="custID">Initial value of the CustID property.</param> /// <param name="name1">Initial value of the Name1 property.</param> /// <param name="name2">Initial value of the Name2 property.</param> /// <param name="nameShort">Initial value of the NameShort property.</param> /// <param name="deptID">Initial value of the DeptID property.</param> /// <param name="salesPerson">Initial value of the SalesPerson property.</param> /// <param name="soldSeqNum">Initial value of the SoldSeqNum property.</param> /// <param name="soldAddr1">Initial value of the SoldAddr1 property.</param> /// <param name="soldAdd2">Initial value of the SoldAdd2 property.</param> /// <param name="soldAddr3">Initial value of the SoldAddr3 property.</param> /// <param name="soldAddr4">Initial value of the SoldAddr4 property.</param> /// <param name="soldCity">Initial value of the SoldCity property.</param> /// <param name="soldState">Initial value of the SoldState property.</param> /// <param name="soldPostal">Initial value of the SoldPostal property.</param> /// <param name="soldCounty">Initial value of the SoldCounty property.</param> /// <param name="soldCountry">Initial value of the SoldCountry property.</param> /// <param name="shipSeqNum">Initial value of the ShipSeqNum property.</param> /// <param name="shipAddr1">Initial value of the ShipAddr1 property.</param> /// <param name="shipAddr2">Initial value of the ShipAddr2 property.</param> /// <param name="shipAddr3">Initial value of the ShipAddr3 property.</param> /// <param name="shipAddr4">Initial value of the ShipAddr4 property.</param> /// <param name="shipCity">Initial value of the ShipCity property.</param> /// <param name="shipState">Initial value of the ShipState property.</param> /// <param name="shipPostal">Initial value of the ShipPostal property.</param> /// <param name="shipCounty">Initial value of the ShipCounty property.</param> /// <param name="shipCountry">Initial value of the ShipCountry property.</param> /// <param name="billSeqNum">Initial value of the BillSeqNum property.</param> /// <param name="billAddr1">Initial value of the BillAddr1 property.</param> /// <param name="billAddr2">Initial value of the BillAddr2 property.</param> /// <param name="billAddr3">Initial value of the BillAddr3 property.</param> /// <param name="billAddr4">Initial value of the BillAddr4 property.</param> /// <param name="billCity">Initial value of the BillCity property.</param> /// <param name="billState">Initial value of the BillState property.</param> /// <param name="billPostal">Initial value of the BillPostal property.</param> /// <param name="billCounty">Initial value of the BillCounty property.</param> /// <param name="billCountry">Initial value of the BillCountry property.</param> /// <param name="custStatus">Initial value of the CustStatus property.</param> public static SalesCustAddr CreateSalesCustAddr(global::System.String custID, global::System.String name1, global::System.String name2, global::System.String nameShort, global::System.String deptID, global::System.String salesPerson, global::System.Decimal soldSeqNum, global::System.String soldAddr1, global::System.String soldAdd2, global::System.String soldAddr3, global::System.String soldAddr4, global::System.String soldCity, global::System.String soldState, global::System.String soldPostal, global::System.String soldCounty, global::System.String soldCountry, global::System.Decimal shipSeqNum, global::System.String shipAddr1, global::System.String shipAddr2, global::System.String shipAddr3, global::System.String shipAddr4, global::System.String shipCity, global::System.String shipState, global::System.String shipPostal, global::System.String shipCounty, global::System.String shipCountry, global::System.Decimal billSeqNum, global::System.String billAddr1, global::System.String billAddr2, global::System.String billAddr3, global::System.String billAddr4, global::System.String billCity, global::System.String billState, global::System.String billPostal, global::System.String billCounty, global::System.String billCountry, global::System.String custStatus) { SalesCustAddr salesCustAddr = new SalesCustAddr(); salesCustAddr.CustID = custID; salesCustAddr.Name1 = name1; salesCustAddr.Name2 = name2; salesCustAddr.NameShort = nameShort; salesCustAddr.DeptID = deptID; salesCustAddr.SalesPerson = salesPerson; salesCustAddr.SoldSeqNum = soldSeqNum; salesCustAddr.SoldAddr1 = soldAddr1; salesCustAddr.SoldAdd2 = soldAdd2; salesCustAddr.SoldAddr3 = soldAddr3; salesCustAddr.SoldAddr4 = soldAddr4; salesCustAddr.SoldCity = soldCity; salesCustAddr.SoldState = soldState; salesCustAddr.SoldPostal = soldPostal; salesCustAddr.SoldCounty = soldCounty; salesCustAddr.SoldCountry = soldCountry; salesCustAddr.ShipSeqNum = shipSeqNum; salesCustAddr.ShipAddr1 = shipAddr1; salesCustAddr.ShipAddr2 = shipAddr2; salesCustAddr.ShipAddr3 = shipAddr3; salesCustAddr.ShipAddr4 = shipAddr4; salesCustAddr.ShipCity = shipCity; salesCustAddr.ShipState = shipState; salesCustAddr.ShipPostal = shipPostal; salesCustAddr.ShipCounty = shipCounty; salesCustAddr.ShipCountry = shipCountry; salesCustAddr.BillSeqNum = billSeqNum; salesCustAddr.BillAddr1 = billAddr1; salesCustAddr.BillAddr2 = billAddr2; salesCustAddr.BillAddr3 = billAddr3; salesCustAddr.BillAddr4 = billAddr4; salesCustAddr.BillCity = billCity; salesCustAddr.BillState = billState; salesCustAddr.BillPostal = billPostal; salesCustAddr.BillCounty = billCounty; salesCustAddr.BillCountry = billCountry; salesCustAddr.CustStatus = custStatus; return salesCustAddr; }