On Sun, Sep 14, 2008 at 11:29 PM, Pascal Craponne <[EMAIL PROTECTED]> wrote:
> Removing the conversion may cause problems (If I remember correctly, > Expressions were not consistent, and we had exceptions). > I agree with you. If you remove the converts you get an exception on: ExpressionDipsatcher.Registrar.cs Line 255: var referenceExpression = Expression.Equal(thisKey, otherKey); Nonetheless it had been considered and test results are fine. IMO, given that such equal expression is only used for the join condition between two tables, convert expression should never exist in any operand. > I'm currently working in a different way: the conversion is emitted in SQL > only when necessary. Shouldn't it depend to the specific Vendor? How to decide when a convert is necessary? Regards. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
