开发者

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>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜