2
Vote

Casing is incorrect for properties in domain classes

description

Hi,

If I have a column named DepartmentID, the mapping (in my case HBM) correctly generates this:
<id name="Departmentid" column="DepartmentID">
      <generator class="identity" />
</id>

//this is in the domain object:
public virtual short Departmentid { get; set; }
I want the casing to be
<id name="DepartmentID" column="DepartmentID">
      <generator class="identity" />
</id>

//this is in the domain object:
public virtual short DepartmentID{ get; set; }
I know this was working in previous builds, but not any more.

Please help.

-Thanks!

comments