We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a5f949 commit 92b44b0Copy full SHA for 92b44b0
src/NHibernate/Type/NullableType.cs
@@ -377,6 +377,15 @@ public override int GetHashCode()
377
return (SqlType.GetHashCode() / 2) + (Name.GetHashCode() / 2);
378
}
379
380
+ /// <summary>
381
+ /// Provides a more descriptive string representation by reporting the properties that are important for equality.
382
+ /// Useful in error messages.
383
+ /// </summary>
384
+ public override string ToString()
385
+ {
386
+ return string.Format("{0}(SqlType: {1})", Name, SqlType);
387
+ }
388
+
389
#endregion
390
391
0 commit comments