/// <summary> /// Create a new Address object. /// </summary> /// <param name="addressID">Initial value of the AddressID property.</param> /// <param name="address1">Initial value of the Address1 property.</param> /// <param name="city">Initial value of the City property.</param> /// <param name="state">Initial value of the State property.</param> /// <param name="zip">Initial value of the Zip property.</param> public static Address CreateAddress(global::System.Int64 addressID, global::System.String address1, global::System.String city, global::System.String state, global::System.String zip) { Address address = new Address(); address.AddressID = addressID; address.Address1 = address1; address.City = city; address.State = state; address.Zip = zip; return address; }
/// <summary> /// Deprecated Method for adding a new object to the Addresses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAddresses(Address address) { base.AddObject("Addresses", address); }