Il giorno lun, 22/06/2009 alle 12.28 +0200, Giacomo Tesio ha scritto:
> Unfortunately, I'm out of IRC... (a zelant sysadmin dropped the rule
> from the firewall)
> I've to talk with him, but please I'd like to partecipate to the
> discussion...

I was referring to my discussion with you. :)

For the other people interested: I wanted to extend ColumnExpression and
add a new field to hold a copy of the StorageMember property from
MetaType. StorageMember is required in more than one place (my patch
uses it but it's needed elsewhere too) and retrieving it with code like:

builderContext.QueryContext.DataContext.Mapping.GetTable(tableExpression.Type)
        .RowType.GetDataMember(columnExpression.MemberInfo).StorageMember

is quite expensive while grabbing it when the ColumnExpression is built
is almost free because we already execute the code above for the
MetaType.Member variable that gets stored in
columnExpression.MemberInfo.

federico

-- 
Federico Di Gregorio                         http://people.initd.org/fog
Debian GNU/Linux Developer                                [email protected]
INIT.D Developer                                           [email protected]
 Viva il pollo! Viva il pollo! -- sisterconfusion
 Continuo a preferire il coniglio -- vodka

Attachment: signature.asc
Description: Questa รจ una parte del messaggio firmata digitalmente

Reply via email to