In your opinion:-Talking using OOP concepts the property "Name" is a PrimitiveType or should be a class with behavior ?-Your "MyClass" has a property "Name" or an aggregation with "Localized-Names" ? -The property "Localized-Name" (singular) should be resolved by the client or the server ?
After think about all these things implement what you need activating the filter. 2009/5/20 rrejc <[email protected]> > > Hmmm, that's odd because I read about formula filters on this blog: > > http://ayende.com/Blog/archive/2006/12/26/LocalizingNHibernateContextualParameters.aspx > He's did the same thing I did (except that my resource id is not my > primary key, and that he is using older version). > > Is there any other suggestion how to achieve this? > > Thanks! > > On May 20, 3:55 pm, Fabio Maulo <[email protected]> wrote: > > 2009/5/20 rrejc <[email protected]> > > > > > > > > > Is it this possible (to have filters in formula) and how? > > > > <formula> is SQL and shouldn't have parameters.Each time somebody is > using > > <formula> or <where> or <order-by> he should ask to himself if a > > business-issue is delegated to the persistent-layer. > > <formula> with parameter may work with filter in some cases but not in > all > > cases (<formula> with parameters is a not supported feature). > > > > -- > > Fabio Maulo > > > -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
