I'm using NHibernate with SQL Server 2005 and in my xml mappings file I have something like this :
<id name="ID" type="long" column="logonID" access="property">
<b> Identity</b> is suppose to generate the ID and add to database. But everytime I get a SQL error saying can't add NULL to column logonID. What is I'm doing wrong ?