/// <summary> /// Create a new Address object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="line1">Initial value of the Line1 property.</param> /// <param name="line2">Initial value of the Line2 property.</param> /// <param name="line3">Initial value of the Line3 property.</param> /// <param name="postalCode">Initial value of the PostalCode property.</param> public static Address CreateAddress(global::System.Int32 id, global::System.String line1, global::System.String line2, global::System.String line3, global::System.String postalCode) { Address address = new Address(); address.Id = id; address.Line1 = line1; address.Line2 = line2; address.Line3 = line3; address.PostalCode = postalCode; 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); }