/// <summary> /// Create a new AddressCT object. /// </summary> /// <param name="addressLine">Initial value of the AddressLine property.</param> /// <param name="city">Initial value of the City property.</param> public static AddressCT CreateAddressCT(global::System.String addressLine, global::System.String city) { AddressCT addressCT = new AddressCT(); addressCT.AddressLine = addressLine; addressCT.City = city; return(addressCT); }
/// <summary> /// Create a new ContactInfoCT object. /// </summary> /// <param name="address">Initial value of the Address property.</param> /// <param name="homePhone">Initial value of the HomePhone property.</param> public static ContactInfoCT CreateContactInfoCT(AddressCT address, global::System.String homePhone) { ContactInfoCT contactInfoCT = new ContactInfoCT(); contactInfoCT.Address = StructuralObject.VerifyComplexObjectIsNotNull(address, "Address"); contactInfoCT.HomePhone = homePhone; return(contactInfoCT); }
/// <summary> /// Create a new AddressCT object. /// </summary> /// <param name="addressLine">Initial value of the AddressLine property.</param> /// <param name="city">Initial value of the City property.</param> public static AddressCT CreateAddressCT(global::System.String addressLine, global::System.String city) { AddressCT addressCT = new AddressCT(); addressCT.AddressLine = addressLine; addressCT.City = city; return addressCT; }
partial void OnAddressChanging(AddressCT value);
/// <summary> /// Create a new ContactInfoCT object. /// </summary> /// <param name="address">Initial value of the Address property.</param> /// <param name="homePhone">Initial value of the HomePhone property.</param> public static ContactInfoCT CreateContactInfoCT(AddressCT address, global::System.String homePhone) { ContactInfoCT contactInfoCT = new ContactInfoCT(); contactInfoCT.Address = StructuralObject.VerifyComplexObjectIsNotNull(address, "Address"); contactInfoCT.HomePhone = homePhone; return contactInfoCT; }
partial void OnAddressChanging(AddressCT value);