} // Description /// <summary> /// Returns a string that represents the current object. /// </summary> /// <returns> /// A string that represents the current object. /// </returns> public override string ToString() { return(string.Format( "user ID: '{0}', customer ID: '{1}', started at '{2}'", UserID.HasValue ? UserID.Value.ToString() : "-- null --", CustomerID.HasValue ? CustomerID.Value.ToString() : "-- null --", StartTime.MomentStr() )); } // ToString