My goal is to query a DB data context using LINQ with dynamic query criteria. I am aware that one way to access an object using its field name is by converting it to an
IDictionary, using C# reflection API.
Is using reflection a good idea, or should expression trees be preferred? How fast would my queries be using them both?
Subscribe to get latest updates