expression-trees
When to use Expression
I am trying to determine what to use ... I have a requirement to pass an IEnumerable<TSource> to a function that writes the entity members\' values to file. Here is what the IEnumerable looks l[详细]
2023-04-12 19:45 分类:问答What's the purpose of the Expression class?
I\'m wondering what exactly is the difference between wrapping a delegate inside Expression<> and not ?[详细]
2023-04-12 19:32 分类:问答What are the mechanics of the expression tree limitation here?
The fact that I expected this to work and it didn\'t leads me to search for the piece of the picture that I don\'开发者_如何学Got see.[详细]
2023-04-10 18:35 分类:问答Translating a lambda expression into an expression tree
The real world problem I\'m trying to solve: I have a database with a bunch of phone numbers stored as strings in an absolutely terrible format (eg \"(02) 9971 1209\"). The user of my program is going[详细]
2023-04-09 10:03 分类:问答Can I do this without reflection?
For a pr开发者_JAVA百科esentation involving six components of a Person object\'s PersonName, I added an extension and a \'mini view model\' (PersonNamePropertyTextBox) to cut down on duplicated code a[详细]
2023-04-08 14:04 分类:问答Resolving LINQ Parameters that were passed to method in which LINQ Expression is
I am working on LINQ to SQL translator. It should translate LINQ queries to SQL. I am focused on creating WHERE part of the query.[详细]
2023-04-08 12:30 分类:问答Building an OrderBy expression using the name of a property
I\'m trying to support sorting via the WebGrid control in MVC3, which passes the name of a property on my model into my actions via a sort parameter.[详细]
2023-04-06 09:19 分类:问答Best way to write Dynamic Query with dynamic result with Linq or Expression Tree
I\'m looking for best way to write a query with LINQ or an expression tree to return a dynamic result according to dynamic input. For example, consider this pseudocode:[详细]
2023-04-05 09:50 分类:问答Creating dynamic Lambda from Existing Lambda Expression
i have an extension method开发者_运维知识库 that configures the filtering for telerik grid. it receives lambda expressions as parameter. is it possible to make new expressions from existing ones e.g[详细]
2023-04-05 05:33 分类:问答Altering expression
I have a very short question. In mvc there is a static extension method System.Web.Mvc.Html.InputExtensions.HiddenFor(this HtmlHelper<TModel>htmlhelper,Expression<Func<TModel,TProperty>[详细]
2023-04-04 09:15 分类:问答