Interesting concept.An insertable/*updatable* property but not in the model, very interesting. Which is the name of the pattern ?
2009/7/29 Niclas Pehrsson <[email protected]> > > is there any alternative what Im is out for, > > use the field as select/insert/update but not in the model? > So I just can access i from IInterceptor :). > > On Jul 29, 8:42 pm, Fabio Maulo <[email protected]> wrote: > > access="none" mean that the property does not involved in insert nor > update > > but only in where clauses of queries. > > > > 2009/7/29 Niclas Pehrsson <[email protected]> > > > > > > > > > > > > > I I have tested to inherit EmptyInterceptor and registered it with the > > > sessionfactory. > > > In OnSave I want to add value to an property that has access="none" > > > but I can set the values in OnSave... > > > > > states[GetIndexForProperty("MyAccessNonePropertyName")] = false; > > > > > <property name="MyAccessNonePropertyName" type="System.Boolean" > > > access="none"/> > > > > > But it keeps getting the value null when inserting or updating, it > > > works fine if I have something else on access. Am I doing something > > > wrong? > > > > -- > > 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 -~----------~----~----~----~------~----~------~--~---
