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"
,或只是声明为您的ID属性long
和NH将它捡起来。
上一篇: NHibernate Mapping Generator冗余地定义了来自Oracle的列
下一篇: NHibernate HiLo只要