/// <summary> /// Create a new AddressType object. /// </summary> /// <param name="addressTypeID">Initial value of the AddressTypeID property.</param> public static AddressType CreateAddressType(global::System.Int32 addressTypeID) { AddressType addressType = new AddressType(); addressType.AddressTypeID = addressTypeID; return addressType; }
/// <summary> /// Deprecated Method for adding a new object to the AddressType EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAddressType(AddressType addressType) { base.AddObject("AddressType", addressType); }