C#, Linq, Dynamic Query: Code to filter a Dynamic query outside of the Repository?

Dynamic query requires: the source be IQueryable.

Dynamic query requires: the source be IQueryable (so if it is IEnumerable or similar, just call .AsQueryable() on it) an extra dll to be referenced in the code that wants to perform dynamic query the appropriate using directives to be in place at the top of the local source file Check those three, and you should be able to add . Where(condition), . OrderBy(name), etc.

Bingo. That's what late night programming buys me. – Dr. Zim Mar 24 '10 at 5:04.

Somehow I am losing the DynamicQuery nature when the data exits from the repository. And yes, I haven't worked out how to return the CarClass type where you would normally do a Select new Carclass { fieldName = m.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions