public override string ToString()
{
return string.Format(System.Globalization.CultureInfo.InvariantCulture,
"{26}{25}- ProductModelId: {0}{25}- Name: {1}{25}- Summary: {2}{25}- Manufacturer: {3}{25}- Copyright: {4}{25}- ProductUrl: {5}{25}- WarrantyPeriod: {6}{25}- WarrantyDescription: {7}{25}- NoOfYears: {8}{25}- MaintenanceDescription: {9}{25}- Wheel: {10}{25}- Saddle: {11}{25}- Pedal: {12}{25}- BikeFrame: {13}{25}- Crankset: {14}{25}- PictureAngle: {15}{25}- PictureSize: {16}{25}- ProductPhotoId: {17}{25}- Material: {18}{25}- Color: {19}{25}- ProductLine: {20}{25}- Style: {21}{25}- RiderExperience: {22}{25}- Rowguid: {23}{25}- ModifiedDate: {24}{25}",
this.ProductModelId,
this.Name,
(this.Summary == null) ? string.Empty : this.Summary.ToString(),
(this.Manufacturer == null) ? string.Empty : this.Manufacturer.ToString(),
(this.Copyright == null) ? string.Empty : this.Copyright.ToString(),
(this.ProductUrl == null) ? string.Empty : this.ProductUrl.ToString(),
(this.WarrantyPeriod == null) ? string.Empty : this.WarrantyPeriod.ToString(),
(this.WarrantyDescription == null) ? string.Empty : this.WarrantyDescription.ToString(),
(this.NoOfYears == null) ? string.Empty : this.NoOfYears.ToString(),
(this.MaintenanceDescription == null) ? string.Empty : this.MaintenanceDescription.ToString(),
(this.Wheel == null) ? string.Empty : this.Wheel.ToString(),
(this.Saddle == null) ? string.Empty : this.Saddle.ToString(),
(this.Pedal == null) ? string.Empty : this.Pedal.ToString(),
(this.BikeFrame == null) ? string.Empty : this.BikeFrame.ToString(),
(this.Crankset == null) ? string.Empty : this.Crankset.ToString(),
(this.PictureAngle == null) ? string.Empty : this.PictureAngle.ToString(),
(this.PictureSize == null) ? string.Empty : this.PictureSize.ToString(),
(this.ProductPhotoId == null) ? string.Empty : this.ProductPhotoId.ToString(),
(this.Material == null) ? string.Empty : this.Material.ToString(),
(this.Color == null) ? string.Empty : this.Color.ToString(),
(this.ProductLine == null) ? string.Empty : this.ProductLine.ToString(),
(this.Style == null) ? string.Empty : this.Style.ToString(),
(this.RiderExperience == null) ? string.Empty : this.RiderExperience.ToString(),
this.Rowguid,
this.ModifiedDate,
System.Environment.NewLine,
this.GetType());
}