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