Hi Pablo, Your analysis is good and you english understandable ;) I think both options A and B can be used in Linq2SQL (using parameters... I don't remember which ones), so I think we need to be prepared for both cases in DbLinq. So, in theory, the EntitySet might be able to hold directly a set or load it on demand. There is a Load() method on the EntitySet, and that's the purpose. I'd like to take a look at the engine to see what are the best options to make the best implementation (your suggestions sounding good anyway). I'll make an additional post here in a few days, hopefully.
Pascal. On Tue, Sep 16, 2008 at 01:43, Pablo Iñigo Blasco <[EMAIL PROTECTED]> wrote: > > > On Tue, Sep 16, 2008 at 1:26 AM, Pablo Iñigo Blasco <[EMAIL PROTECTED]>wrote: > >> >> ... >> Expression.New(NewExpression.Constructor, operands, >> NewExpression.Members); >> >> Conclusions here: >> * EntitySet member access expression currently work inside of a "new >> expression", (Will work EntityRefs inside of a "new expression"? I don't >> know, I would like check it) >> * We currently support to project scalar expressions and ColumnExpressions >> inside of a "new expression" >> * Likely non-scalar subqueries inside of a "new expression" currently >> don't work properly. >> > > > I wanted to say: > > Conclusions here: > * EntitySet member access expression currently DON'T work inside of a "new > expression", (Will work EntityRefs inside of a "new expression"? I don't > know, I would like check it) > * We currently ONLY support to project scalar expressions and > ColumnExpressions inside of a "new expression" > * Likely non-scalar subqueries inside of a "new expression" currently don't > work properly. > ....... > > Language barriers!! I can't explain my thoughts precisely and correctly > with my English knowledge!! >:-( . When I re-read my mails see myself like > Yoda in Starts Wars. Grrrrr xD > > > > > -- Pascal. jabber/gtalk: [EMAIL PROTECTED] msn: [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
