/// <summary> /// Create a new ClientAddress object. /// </summary> /// <param name="addressId">Initial value of the AddressId property.</param> /// <param name="clientId">Initial value of the ClientId property.</param> /// <param name="addressSeqNum">Initial value of the AddressSeqNum property.</param> /// <param name="addressTypeCode">Initial value of the AddressTypeCode property.</param> /// <param name="formatCode">Initial value of the FormatCode property.</param> /// <param name="effectiveDate">Initial value of the EffectiveDate property.</param> /// <param name="expirationDate">Initial value of the ExpirationDate property.</param> /// <param name="lastModifiedBy">Initial value of the LastModifiedBy property.</param> /// <param name="lastModifiedDate">Initial value of the LastModifiedDate property.</param> public static ClientAddress CreateClientAddress(global::System.Int32 addressId, global::System.Int32 clientId, global::System.Int32 addressSeqNum, global::System.String addressTypeCode, global::System.String formatCode, global::System.DateTime effectiveDate, global::System.DateTime expirationDate, global::System.String lastModifiedBy, global::System.DateTime lastModifiedDate) { ClientAddress clientAddress = new ClientAddress(); clientAddress.AddressId = addressId; clientAddress.ClientId = clientId; clientAddress.AddressSeqNum = addressSeqNum; clientAddress.AddressTypeCode = addressTypeCode; clientAddress.FormatCode = formatCode; clientAddress.EffectiveDate = effectiveDate; clientAddress.ExpirationDate = expirationDate; clientAddress.LastModifiedBy = lastModifiedBy; clientAddress.LastModifiedDate = lastModifiedDate; return clientAddress; }
/// <summary> /// Deprecated Method for adding a new object to the ClientAddresses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToClientAddresses(ClientAddress clientAddress) { base.AddObject("ClientAddresses", clientAddress); }