Nettiers.AdventureWorks.Entities.VEmployeeDepartmentHistoryBase.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,
				"{12}{11}- EmployeeId: {0}{11}- Title: {1}{11}- FirstName: {2}{11}- MiddleName: {3}{11}- LastName: {4}{11}- Suffix: {5}{11}- Shift: {6}{11}- Department: {7}{11}- GroupName: {8}{11}- StartDate: {9}{11}- EndDate: {10}{11}", 
				this.EmployeeId,
				(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.Shift,
				this.Department,
				this.GroupName,
				this.StartDate,
				(this.EndDate == null) ? string.Empty : this.EndDate.ToString(),
			     
				System.Environment.NewLine, 
				this.GetType());
		}