I have the following class

public Car
{
 int Id {get;set}
String Color {get;set}
 CarType IdCarType {get;set}
}

I am using autoconfiguration and i get the following mapping

    <id name="Id" type="Int">
      <column name="Id" />
      <generator class="identity" />
    </id>
    <property name="Color" type="String">
      <column name="Color" />

    <many-to-one name="IdCarType">
      <column name="IdCarType_id" />
    </many-to-one>

The problem being 'IdCarType_id', my column is actually IdCarType.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to