public override string ToString()
{
return string.Format(System.Globalization.CultureInfo.InvariantCulture,
"{12}{11}- ProductModelId: {0}{11}- Name: {1}{11}- Instructions: {2}{11}- LocationId: {3}{11}- SetupHours: {4}{11}- MachineHours: {5}{11}- LaborHours: {6}{11}- LotSize: {7}{11}- Step: {8}{11}- Rowguid: {9}{11}- ModifiedDate: {10}{11}",
this.ProductModelId,
this.Name,
(this.Instructions == null) ? string.Empty : this.Instructions.ToString(),
(this.LocationId == null) ? string.Empty : this.LocationId.ToString(),
(this.SetupHours == null) ? string.Empty : this.SetupHours.ToString(),
(this.MachineHours == null) ? string.Empty : this.MachineHours.ToString(),
(this.LaborHours == null) ? string.Empty : this.LaborHours.ToString(),
(this.LotSize == null) ? string.Empty : this.LotSize.ToString(),
(this.Step == null) ? string.Empty : this.Step.ToString(),
this.Rowguid,
this.ModifiedDate,
System.Environment.NewLine,
this.GetType());
}