public override string ToString()
{
return string.Format(System.Globalization.CultureInfo.InvariantCulture,
"{22}{21}- SalesPersonId: {0}{21}- Title: {1}{21}- FirstName: {2}{21}- MiddleName: {3}{21}- LastName: {4}{21}- Suffix: {5}{21}- JobTitle: {6}{21}- Phone: {7}{21}- EmailAddress: {8}{21}- EmailPromotion: {9}{21}- AddressLine1: {10}{21}- AddressLine2: {11}{21}- City: {12}{21}- StateProvinceName: {13}{21}- PostalCode: {14}{21}- CountryRegionName: {15}{21}- TerritoryName: {16}{21}- TerritoryGroup: {17}{21}- SalesQuota: {18}{21}- SalesYtd: {19}{21}- SalesLastYear: {20}{21}",
this.SalesPersonId,
(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.JobTitle,
(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,
(this.TerritoryName == null) ? string.Empty : this.TerritoryName.ToString(),
(this.TerritoryGroup == null) ? string.Empty : this.TerritoryGroup.ToString(),
(this.SalesQuota == null) ? string.Empty : this.SalesQuota.ToString(),
this.SalesYtd,
this.SalesLastYear,
System.Environment.NewLine,
this.GetType());
}