expression-trees
Linq expression that would always return true
I need to pass a parameter to a method that requires an Expressio开发者_Go百科n<Func<T, bool>>.[详细]
2023-02-21 05:39 分类:问答Parameterized Linq Expression Help
I want to do a method with a signature like this: Expression<Func<TSource, bool>> CreatePropertyFilter<TSource>(Expression<Func<TSource, string>> selector, string value,[详细]
2023-02-20 05:27 分类:问答C# library for human readable pattern matching?
Does anybody know a C# library for matching human readable patterns? Similar to regex, but friendlier?[详细]
2023-02-19 13:11 分类:问答Replacing the parameter name in the Body of an Expression
I\'m trying to dynamically build up expressions based on a Specification object. I\'ve created an ExpressionHelper class that has a private Expression like so:[详细]
2023-02-19 12:10 分类:问答Comparing Expression<T> [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: C#: Checking if two Expression<Func<T, bool>> are the same[详细]
2023-02-19 09:18 分类:问答Performance of Mass-Evaluating Expressions in IronPython
In an C#-4.0 application, I have a Dictionary of strongly typed ILists having the same length - a dynamically strongly typed column based table.[详细]
2023-02-19 04:51 分类:问答Linq mapping between models
I have a data-model for Entity Framework in which some entities have a collection of attributes that can be used to add extra information. Some clients would like to map these attributes to \'real\' p[详细]
2023-02-19 00:19 分类:问答Expression to string
How can I get a string like Namespace.IMyService.Do(\"1\") from the expression as demoed in this snip it:[详细]
2023-02-19 00:01 分类:问答How to store Linq where condition in property
I\'d like to know the most maintainable way (if exists) to store an entity condition in a parameter so to reuse it in every linq where conditions.[详细]
2023-02-16 23:13 分类:问答Dynamic MemberExpression
I am wanting to create a MemberExpression knowing only the field name; eg: public static Expression<Func<TModel, T>> GenerateMemberExpression<TModel, T>(string fieldName)[详细]
2023-02-16 22:19 分类:问答