Ok, I found the answer. Add the
not-found="ignore"
attribute to the property KeyField
:
<many-to-one name="KeyField" not-found="ignore" class="Model.Entities.Key, Model" column="field_id" />
Ok, I found the answer. Add the
not-found="ignore"
attribute to the property KeyField
:
<many-to-one name="KeyField" not-found="ignore" class="Model.Entities.Key, Model" column="field_id" />