Looking at Dynamic Linq, it’s possible to use strings to define the key parts of the query. My question is, is it possible to pass the entire query in as a string?
ie: var foo = “from…”
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
LINQ stands for “Language INtegrated Queries” – it’s compiled with the rest of the code, not parsed on the run. You can use Microsoft.CSharp.CSharpCodeProvider to compile your query on the run – but you will have to know in advance what local objects you want to send to the query.