Set default values in nhibernate-mapping
I am trying to put a default value in a mapping. When I run it says "default" not declared.
my code is
<property name="retrycount"开发者_高级运维 column="retrycount" type="Int32" default="0" />
Is this support for nhibernate
Thank you
it is supported:
<property name="retrycount" type="Int32">
<column name="retrycount" default="0"/>
</property>
精彩评论