Nettiers.AdventureWorks.Entities.VStoreWithDemographicsBase.ToString C# (CSharp) Method

ToString() public method

Returns a String that represents the current object.
public ToString ( ) : string
return string
		public override string ToString()
		{
			return string.Format(System.Globalization.CultureInfo.InvariantCulture,
				"{29}{28}- CustomerId: {0}{28}- Name: {1}{28}- ContactType: {2}{28}- Title: {3}{28}- FirstName: {4}{28}- MiddleName: {5}{28}- LastName: {6}{28}- Suffix: {7}{28}- Phone: {8}{28}- EmailAddress: {9}{28}- EmailPromotion: {10}{28}- AddressType: {11}{28}- AddressLine1: {12}{28}- AddressLine2: {13}{28}- City: {14}{28}- StateProvinceName: {15}{28}- PostalCode: {16}{28}- CountryRegionName: {17}{28}- AnnualSales: {18}{28}- AnnualRevenue: {19}{28}- BankName: {20}{28}- BusinessType: {21}{28}- YearOpened: {22}{28}- Specialty: {23}{28}- SquareFeet: {24}{28}- Brands: {25}{28}- Internet: {26}{28}- NumberEmployees: {27}{28}", 
				this.CustomerId,
				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.AddressType,
				this.AddressLine1,
				(this.AddressLine2 == null) ? string.Empty : this.AddressLine2.ToString(),
			     
				this.City,
				this.StateProvinceName,
				this.PostalCode,
				this.CountryRegionName,
				(this.AnnualSales == null) ? string.Empty : this.AnnualSales.ToString(),
			     
				(this.AnnualRevenue == null) ? string.Empty : this.AnnualRevenue.ToString(),
			     
				(this.BankName == null) ? string.Empty : this.BankName.ToString(),
			     
				(this.BusinessType == null) ? string.Empty : this.BusinessType.ToString(),
			     
				(this.YearOpened == null) ? string.Empty : this.YearOpened.ToString(),
			     
				(this.Specialty == null) ? string.Empty : this.Specialty.ToString(),
			     
				(this.SquareFeet == null) ? string.Empty : this.SquareFeet.ToString(),
			     
				(this.Brands == null) ? string.Empty : this.Brands.ToString(),
			     
				(this.Internet == null) ? string.Empty : this.Internet.ToString(),
			     
				(this.NumberEmployees == null) ? string.Empty : this.NumberEmployees.ToString(),
			     
				System.Environment.NewLine, 
				this.GetType());
		}