NHibernate HiLo as long
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.
精彩评论