2008/11/14 Henning <[EMAIL PROTECTED]>

>
> Hi,
>
> I'm currently starting a new project using NH and I was wondering
> whether I should use field or property-access in my mappings.
>
> Especially I'm thinking about: when I use property-access I cannot
> mark properties as "readonly" (e.g. properties with no setter), field-
> access would offer me such a "protection". On the other side I won't
> be  able to use auto-properties, so I would "trash" my code with
> mostly annoying backing-fields.


backfiled accessor available in trunk

In general property is the default or something like field.camelcase.
If you use property in some special case you can use nosetter.camelcase.

-- 
Fabio Maulo

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to nhusers@googlegroups.com
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