I mean setting private fields and/or invoking the public/private setter of unknown types.
Since Entities are "unknown", the DataMapper could use reflection for entity filling. I'd like to use Lambdas and/or Emit to optimize the process... Giacomo On Tue, Apr 28, 2009 at 4:27 PM, Jonathan Pryor <[email protected]> wrote: > On Tue, 2009-04-28 at 14:25 +0200, Giacomo Tesio wrote: > > You are surely right, but till now lambda expressions could not modify > values... > > What do you mean by "modify values"? This certainly works: > > int n = 1; > Action a = () => ++n; > a(); > > The a delegate, when invoked, will modify the value of n. Is this what > you mean? > > - Jon > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DbLinq" 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/dblinq?hl=en -~----------~----~----~----~------~----~------~--~---
