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