MSDN Archive Home
Help and FAQs
Expression Tree Serialization
All Resource Updates
Create New Discussion
Support for compiled queries?
Jul 7 2010 at 5:45 PM
Would it be possible to use Linq to SQL CompiledQuery objects with Expression Tree Serialization?
The scenario is: you want to have a DAL that is accessible via WCF, but still has the performance benefits of CompiledQuery.
You want to be able to define a parameterized query in a business layer or presentation layer, and register it once in the DAL, which would then compile the query and return some sort of token or hash. After that business layer or presentation layer would be able to invoke the query repeatedly, but with different parameter values each time.
Sign in to post message or set email notifications
Manage Your Profile
MSDN Flash Newsletter
© 2008 Microsoft Corporation. All rights reserved.