Hi all,
Can I use autoproperties with NHibernate especially with simple
attributes (string, int), object references and collections ?

ex:
public virtual string CustomerId { get; set; }
public virtual string Label { get; set; }
public virtual Address { get; set;}
public virtual ISet Orders { get; set; }

Because I get the following error:
NHibernate.PropertyNotFoundException: Could not find a getter for
property 'Address' in class 'Modele.Address'
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to