I'm wondering if there isn't a better way to 'marking' a field as "Persistable" using an Attribute for example.I hate having hidden meanings in the names of my fields/properties.
In your convention you could ignore any property/field that does not have the "Persistable" attribute on it... It would be more intent revealing and obvious versus having a 'Fld' as a descriminator... On Wed, Jul 29, 2009 at 11:55 AM, Kasper22 <[email protected]> wrote: > > Hi, > > I was wondering if there is a way to do a blanket ignore property > using auto mapping and conventions? I've found I can ignore > properties on one class with ForTypesThatDeriveFrom<> method, but I > would like to set up a more general rule. Basically, if a property > doesn't start with "Fld" I don't want to map it. > > Is something like that possible? > > Thanks, > Bryan > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" 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/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---
