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 b6e5136 commit 488485eCopy full SHA for 488485e
src/NHibernate/NHibernateUtil.cs
@@ -32,9 +32,10 @@ static NHibernateUtil()
32
clrTypeToNHibernateType[type.ReturnedClass] = type;
33
}
34
35
- // There are multiple possibilites for boolean. Override so that we
36
- // use the most natural mapping.
+ // There are multiple possibilites for boolean and strings.
+ // Override so that we use the most natural mapping.
37
clrTypeToNHibernateType[Boolean.ReturnedClass] = Boolean;
38
+ clrTypeToNHibernateType[String.ReturnedClass] = String;
39
40
41
/// <summary>
0 commit comments