You are surely right, but till now lambda expressions could not modify
values...

So we could use them for reading keys, for example, but not for setting
them...
There emit is the only way, I fear...


Giacomo

On Tue, Apr 28, 2009 at 9:35 AM, Pascal Craponne <[email protected]> wrote:

> Instead of Emit, which is hard to master and impossible to debug, I
> strongly suggest using Lambdas and compiling them. The produced code has a
> good quality, and it's more flexible to maintain.
>
>
> On Tue, Apr 28, 2009 at 09:17, Giacomo Tesio <[email protected]> wrote:
>
>> This would be useful too, for IdentityKey's creation:
>>
>> http://rogeralsing.com/2008/02/26/linq-expressions-access-private-fields/
>>
>>
>> Giacomo
>>
>>
>> On Tue, Apr 28, 2009 at 9:09 AM, Giacomo Tesio <[email protected]> wrote:
>>
>>> Ah... ! ! !
>>>
>>> Thanks Google! :-D
>>>
>>> http://geekswithblogs.net/johnsperfblog/articles/49829.aspx
>>> http://www.devhood.com/Tutorials/tutorial_details.aspx?tutorial_id=238
>>>
>>> http://msdn.microsoft.com/en-us/library/system.reflection.emit.propertybuilder.aspx
>>>
>>>
>>> Giacomo
>>>
>>>
>>>
>>> On Tue, Apr 28, 2009 at 8:44 AM, Giacomo Tesio <[email protected]> wrote:
>>>
>>>> To improve datamapper performances I need to use Emit (and I've to study
>>>> it too... :-D)
>>>>
>>>> But, does Mono support it?
>>>>
>>>>
>>>> Giacomo
>>>>
>>>
>>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to