/// <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); }
/// <summary> /// Create a new CustomerAddress object. /// </summary> /// <param name="customerID">Initial value of the CustomerID property.</param> public static CustomerAddress CreateCustomerAddress(global::System.String customerID) { CustomerAddress customerAddress = new CustomerAddress(); customerAddress.CustomerID = customerID; return customerAddress; }