I'm looking at QueryCache (don't hate me, World! :-D), and I'm wondering about it's thread safety
QueryCache.selectQueries and QueryCache.tableReaders are generic dictionaries (so tipically not thread safe). http://msdn.microsoft.com/en-us/library/573ths2x.aspx http://devplanet.com/blogs/brianr/archive/2008/09/26/thread-safe-dictionary-in-net.aspx I think that they should be thread safe... Giacomo PS: what's the difference between tableReaders and selectQueries. I mean: are not tableReaders selectQueries with a single from and without any where? On Fri, Apr 17, 2009 at 10:41 AM, Giacomo Tesio <[email protected]> wrote: > Wow! :-D > > Is equality comparer semantical or sintactical? > I mean ((int) i) => i == ((int) p) => p > or just ((int) i) => i == ((int) i) => i > > > > > > On Fri, Apr 17, 2009 at 10:35 AM, Giacomo Tesio <[email protected]> wrote: > >> Thanks a lot! :-D >> >> >> Giacomo >> >> >> On Fri, Apr 17, 2009 at 10:25 AM, Pascal Craponne <[email protected]>wrote: >> >>> Hi Giacomo, >>> it's all in the ExpressionEqualityComparer (in DbLinq.Util). >>> >>> The World :) >>> >>> >>> On Fri, Apr 17, 2009 at 10:00, Giacomo Tesio <[email protected]> wrote: >>> >>>> Hello World! :-D >>>> >>>> I need to know where ExpressionTree's evaluation is cached. >>>> And actually I'd like to know how they are copared, since I've seen that >>>> ((int) i) => i == ((int) i) => i is always false (but may be I'm missing >>>> something big). >>>> >>>> >>>> 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 -~----------~----~----~----~------~----~------~--~---
