Hi all,
I just would like to know how to map a view. i have a class Group a which mapping file is:
Code:
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" namespace="ArchivecoFramework" assembly="ArchivecoFramework">
<class name="Groupe" table="V_GROUPE">
<id name="NomGroupe">
<column name="GROUPE"/>
<generator class="assigned"/>
</id>
<set name="Clients" lazy="true">
<key column="GROUPE"/>
<one-to-many class="Client"/>
</set>
</class>
</hibernate-mapping>
V_GROUPE is the view i would like to use but i always have the message:
"Invalid mapping information specified for type ArchivecoFramework.Groupe, check your mapping file for property type mismatches."
Moreover, if i compile again, i have the results that i expect to.
Thank you for answer me quickly !!!