/// <summary> /// Create a new CustomerAddress object. /// </summary> /// <param name="customerID">Initial value of the CustomerID property.</param> /// <param name="addressID">Initial value of the AddressID property.</param> /// <param name="addressTypeID">Initial value of the AddressTypeID property.</param> /// <param name="rowguid">Initial value of the rowguid property.</param> /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param> public static CustomerAddress CreateCustomerAddress(global::System.Int32 customerID, global::System.Int32 addressID, global::System.Int32 addressTypeID, global::System.Guid rowguid, global::System.DateTime modifiedDate) { CustomerAddress customerAddress = new CustomerAddress(); customerAddress.CustomerID = customerID; customerAddress.AddressID = addressID; customerAddress.AddressTypeID = addressTypeID; customerAddress.rowguid = rowguid; customerAddress.ModifiedDate = modifiedDate; return customerAddress; }
/// <summary> /// Deprecated Method for adding a new object to the CustomerAddresses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCustomerAddresses(CustomerAddress customerAddress) { base.AddObject("CustomerAddresses", customerAddress); }