我正在尝试在映射中放置一个默认值。当我运行的时候,它显示"default“没有声明。
我的代码是
<property name="retrycount" column="retrycount" type="Int32" default="0" />这是否支持nhibernate?
谢谢
发布于 2011-08-04 16:35:01
支持:
<property name="retrycount" type="Int32">
<column name="retrycount" default="0"/>
</property>https://stackoverflow.com/questions/6937147
复制相似问题