dynamic-linq
Dynamic Linq for dates
I want to build dynamic Linq. Following is my code which works fine for one date. But use开发者_JS百科r can select many dates from calendar. And I need to make Linq for all those selected dates.[详细]
2023-04-09 04:01 分类:问答C# System.Linq.Dynamic: How to pass in the object [] params to SqlQuery
Why does: IEnumerable<MyEntity> MyFunction(string sql, object [] params) { // EG: // \"SELECT * FROM MyTable WHERE MyField0 = @0 AND MyField1 = @1\"[详细]
2023-04-06 03:11 分类:问答How do I do a left outer join with Dynamic Linq?
I am trying to mimick the left outer join here but using dynamic linq extension methods. What i have:[详细]
2023-04-03 16:09 分类:问答Linq Expressions does not find a public method... :-/
I write a expression that will test if a property(enum) of a object have, or have not some flags set.[详细]
2023-04-01 01:11 分类:问答Lambda Expression "Contains"
I use a dynamic filter, that filters a collection using object properties, operators and values. Now, if the property is a string, the operator is \"contains\" and the value is \"word\", the filtered[详细]
2023-03-30 15:09 分类:问答How to use Enums with Dynamic Linq?
I would like to use enumerations in my dynamic LINQ queries. Is it possible, and if, how? Consider the code bellow:[详细]
2023-03-28 04:13 分类:问答Dynamic Linq query on a collection of a base type while accessing type specific properties
How can I run a dynamic LINQ query on a collection of a base type (like the IPerson interface) but access implementation specific properties (like Age).[详细]
2023-03-26 12:57 分类:问答Dynamic Expression API: I can do a predicate, how to code an OrderBy Specification?
I figured out how to do a predicate from a string supplied by a client based on Dynamic Linq (this is wrapped in a Specification object):[详细]
2023-03-23 19:26 分类:问答dynamically append multiple linq expressions at run-time
I have two similar methods that take a criteria object (dumb object with a list of properties), call a \"CreateExpression\" method on that criteria object, and then use the returned expression to filt[详细]
2023-03-19 09:57 分类:问答LINQ. Reducing the code by using dynamic queries
I use the following code to fill the Table1 dictionary with the information found within the LINQ query.[详细]
2023-03-17 11:11 分类:问答