Solved

How would I make a "dynamic" LINQ Statement

Posted on 2009-06-30
2
325 Views
Last Modified: 2013-11-11
I want to be able to generate a LINQ statement dynamically, What is the suggested approach for this? A short example would be helpful. For example, the columns that I would search in my WHERE clause needs to be dynamic.

Thanks.
0
Comment
Question by:bryan_z
2 Comments
 
LVL 21

Accepted Solution

by:
naspinski earned 125 total points
ID: 24747459
0
 

Author Closing Comment

by:bryan_z
ID: 31598428
Well now, that was just damn handy!!
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now