What does your mapping look like?
Cheers Stefan Sedich On 09/04/2009, at 9:04 PM, FrancK <[email protected]> wrote: > > 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 -~----------~----~----~----~------~----~------~--~---
