public override string ToString()
{
return string.Format(System.Globalization.CultureInfo.InvariantCulture,
"{18}{17}- VendorId: {0}{17}- Name: {1}{17}- ContactType: {2}{17}- Title: {3}{17}- FirstName: {4}{17}- MiddleName: {5}{17}- LastName: {6}{17}- Suffix: {7}{17}- Phone: {8}{17}- EmailAddress: {9}{17}- EmailPromotion: {10}{17}- AddressLine1: {11}{17}- AddressLine2: {12}{17}- City: {13}{17}- StateProvinceName: {14}{17}- PostalCode: {15}{17}- CountryRegionName: {16}{17}",
this.VendorId,
this.Name,
this.ContactType,
(this.Title == null) ? string.Empty : this.Title.ToString(),
this.FirstName,
(this.MiddleName == null) ? string.Empty : this.MiddleName.ToString(),
this.LastName,
(this.Suffix == null) ? string.Empty : this.Suffix.ToString(),
(this.Phone == null) ? string.Empty : this.Phone.ToString(),
(this.EmailAddress == null) ? string.Empty : this.EmailAddress.ToString(),
this.EmailPromotion,
this.AddressLine1,
(this.AddressLine2 == null) ? string.Empty : this.AddressLine2.ToString(),
this.City,
this.StateProvinceName,
this.PostalCode,
this.CountryRegionName,
System.Environment.NewLine,
this.GetType());
}