Hi there
I am hoping somebody can answer this one pretty quick i'm not sure if
i have understood mapping correctly...
I have 2 classes, ClassA and ClassB, ClassA has a ClassB as a
property e.g.
public class A
{
public ClassB classb
}
the mapping file looks like:
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
<class name="whatever" table="whatever" lazy="true">
<property column="idcolumnindb" type="ClassB" name="classB" />
</class>
</hibernate-mapping>
this seems to give me an error :
An exception of type 'NHibernate.MappingException' occurred in
NHibernate.DLL but was not handled in user code
Additional information: Could not determine type for: ClassB, for
columns: NHibernate.Mapping.Column(idcolumnindb)
I thought this would work but i cant seem to get it to work. can
somebody please point me in the correct direction?
Thanks
Mocksy.
--
You received this message because you are subscribed to the Google Groups
"nhusers" 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/nhusers?hl=en.