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