开发者

NHibernate HiLo as long

开发者 https://www.devze.com 2023-01-19 02:46 出处:网络
I will have a table with more than 7 billion rows so I need long for primary 开发者_开发技巧key. How to specify the HiLo to use In64 instead of int?

I will have a table with more than 7 billion rows so I need long for primary 开发者_开发技巧key. How to specify the HiLo to use In64 instead of int?

Thanks


type="int64" or just declare your Id property as long and NH will pick it up.

0

精彩评论

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

关注公众号