File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 2633
2633
types, <literal >System.Object</literal > types, and <literal >System.Object</literal > types for large objects. Just like
2634
2634
Columns for System.ValueType types can handle <literal >null</literal > values only if the entity property is properly
2635
2635
typed with a <literal >Nullable< T> </literal >. Otherwise <literal >null</literal > will be replaced by the default
2636
- value for the type when reading, and when be overwritten by it when persisting the entity, potentially leading to
2636
+ value for the type when reading, and then will be overwritten by it when persisting the entity, potentially leading to
2637
2637
phantom updates.
2638
2638
</para >
2639
2639
<table >
3025
3025
<literal >NHibernate.Type.TypeFactory</literal >.
3026
3026
</para >
3027
3027
3028
+ <para >
3029
+ Default NHibernate types used when no <literal >type</literal > attribute is specified can be overridden by using
3030
+ the <literal >NHibernate.Type.TypeFactory.RegisterType</literal > static method before configuring and building
3031
+ session factories.
3032
+ </para >
3033
+
3028
3034
</sect2 >
3029
3035
3030
3036
<sect2 id =" mapping-types-custom" >
You can’t perform that action at this time.
0 commit comments