Is it possible to dynamically buld and execute a LINQ expression? I.e. I have a collections of items that i want to query using LINQ but i want to create the LINQ statement at runtime and execute that LINQ query on my collection like this:
var myLINQExpression = Ge开发者_如何学PythontLINQStatementFromFile(queryListFile);
var queryResult = myCollection.Where(myLINQExpression);
try dynamic linq.
精彩评论