Testing.Address.CreateAddress C# (CSharp) Method

CreateAddress() public static method

Create a new Address object.
public static CreateAddress ( global addressID, global addressLine1, global city, global stateProvinceID, global postalCode, global rowguid, global modifiedDate ) : Address
addressID global Initial value of the AddressID property.
addressLine1 global Initial value of the AddressLine1 property.
city global Initial value of the City property.
stateProvinceID global Initial value of the StateProvinceID property.
postalCode global Initial value of the PostalCode property.
rowguid global Initial value of the rowguid property.
modifiedDate global Initial value of the ModifiedDate property.
return Address
        public static Address CreateAddress(global::System.Int32 addressID, global::System.String addressLine1, global::System.String city, global::System.Int32 stateProvinceID, global::System.String postalCode, global::System.Guid rowguid, global::System.DateTime modifiedDate)
        {
            Address address = new Address();
            address.AddressID = addressID;
            address.AddressLine1 = addressLine1;
            address.City = city;
            address.StateProvinceID = stateProvinceID;
            address.PostalCode = postalCode;
            address.rowguid = rowguid;
            address.ModifiedDate = modifiedDate;
            return address;
        }