On Apr 21, 3:06 pm, Pascal Craponne <[email protected]> wrote: > To avoid disabling caching, use a temporary variable, so the query will > still be cached and the value passed as external parameter: > while (true) {
Hi Pascal, Thanks for the reply. I did think of that as well. My worry is that as I have Linq queries using DateTime.Now in a few different places throughout my app eventually I'll forget to create the temporary variable and cause some nasty incidents. DBLinq is only taking around 16ms to generate the SQL for my subsequent queries so that's acceptable for me. Regards, Greyman. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
