expression-trees
Assign Property with an ExpressionTree
I\'m playing around with the idea of passing a property assignment to a method as an expression tree.The method would Invoke the expression so that the property gets assigned properly, and then sniff[详细]
2023-02-28 19:27 分类:问答Is there an equilivent to Linq.Expressions.Expression in python?
I would like to be able to get the expression out of a lambda function much like C# does and parse it into something else?[详细]
2023-02-28 13:03 分类:问答Custom expression
I found this example code: public IQueryable<T> Get<T>(ObjectSet<T> obj) where T : class[详细]
2023-02-28 08:41 分类:问答Linq to SQL throwing a StackOverflowException
I\'m executing a pretty simple query using Linq to SQL. I\'m creating the expression and then passing it to the Where() extension method. The Linq internals are throwing a StackOverflowException when[详细]
2023-02-28 02:08 分类:问答How to pass parameters into an Expression tree?
I am developing the parser for expressions like this: a1 + a2 + a3 > 0 and b <> \"\" or 开发者_运维百科c = \"source\"[详细]
2023-02-27 00:46 分类:问答Having trouble wrapping my head around using expressions in c#
I am trying to do a simple expression example of getting the name of a property.This is meant as a simple tutorial to walk myself through wrapping my head around C# Expressions.[详细]
2023-02-26 05:33 分类:问答Build dynamic linq to Sql lambda expression
I am currently looking for a way where I can build a lambda expression for my Linq to SQL query based on user input at runtime. I have been looking around on the net, but can\'t find anything that is[详细]
2023-02-25 16:04 分类:问答expression tree evaluation
I\'m trying to evaluate an expression开发者_如何学C tree. Here is my code: (define (eval-tree expr-tree)[详细]
2023-02-25 16:00 分类:问答How to assign a property value of an IQueryable<T>?
I\'m using Entity Framework 4.1 Code First.In my entity, I have three date/time properties: public class MyEntity[详细]
2023-02-25 15:08 分类:问答How can i get linq to sql to map my type when i use a parameterized constructor?
I know that L2S is not designed to map custom/POCO types to L2S-entity types without the object initializer syntax. But is there a back-book way to achieve this so that i can project into开发者_高级运[详细]
2023-02-23 03:48 分类:问答