Nettiers.AdventureWorks.Entities.VSalesPersonSalesByFiscalYearsBase.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,
				"{8}{7}- SalesPersonId: {0}{7}- FullName: {1}{7}- Title: {2}{7}- SalesTerritory: {3}{7}- SafeName2002: {4}{7}- SafeName2003: {5}{7}- SafeName2004: {6}{7}", 
				(this.SalesPersonId == null) ? string.Empty : this.SalesPersonId.ToString(),
			     
				(this.FullName == null) ? string.Empty : this.FullName.ToString(),
			     
				this.Title,
				this.SalesTerritory,
				(this.SafeName2002 == null) ? string.Empty : this.SafeName2002.ToString(),
			     
				(this.SafeName2003 == null) ? string.Empty : this.SafeName2003.ToString(),
			     
				(this.SafeName2004 == null) ? string.Empty : this.SafeName2004.ToString(),
			     
				System.Environment.NewLine, 
				this.GetType());
		}