nhibernatelong-integerhilo

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


Solution

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