Before I make any changes to the code, I wanted to make sure that I
wasn't missing something obvious. I want to make sure that the current
implementation of PersistenceSpecification does not support properties
without public setters and getters. I also want to know if this is by
design as a convention against having no setters. For example, for a
collection, is the norm to have public setters and getters? I always
thought that the most common way was:

public class User
{
  private IList<Role> _roles;
  public IList<Role> Roles
  {
    get {return _roles;} //maybe check for null & create empty
collection
  }
}

Thanks,
Karl

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

Reply via email to