/// <summary> /// Create a new AddressType object. /// </summary> /// <param name="addressTypeCode">Initial value of the AddressTypeCode property.</param> /// <param name="lastModifiedBy">Initial value of the LastModifiedBy property.</param> /// <param name="lastModifiedDate">Initial value of the LastModifiedDate property.</param> public static AddressType CreateAddressType(global::System.String addressTypeCode, global::System.String lastModifiedBy, global::System.DateTime lastModifiedDate) { AddressType addressType = new AddressType(); addressType.AddressTypeCode = addressTypeCode; addressType.LastModifiedBy = lastModifiedBy; addressType.LastModifiedDate = lastModifiedDate; return addressType; }
/// <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(AddressType addressType) { base.AddObject("AddressTypes", addressType); }