I upgraded to from EFCore 3 to EFCore 6 and I get this error must be reducible node. I use Postgresql has my database. The error come from the Compil ...
I upgraded to from EFCore 3 to EFCore 6 and I get this error must be reducible node. I use Postgresql has my database. The error come from the Compil ...
I've custom Query Class which will be used to build query with help of lambda expression like below By Implementing ExpressionVisitor based on this ...
I am tryning to retrieve a DateTime via reflection. The value is not inside a class or a static class, but it is from a lambda expression... I have t ...
Im building my own IQuerable implementation for a third party api. This Api accepts filters as a list of OR's contaiing a list of AND statements and ...
I am trying to create a dynamic formula via entity framework lambda from the columns of a model I was thinking of using a expression visitor to mod ...
I have recently caught the language bug, and as part of my learning process I have begun working my way through the Crafting Interpreters book by Bob ...
I know from the MSDN's article about How to: Modify Expression Trees what an ExpressionVisitor is supposed to do. It should modify expressions. Thei ...
For our database, which requires soft deletes, we have an IsActive bit column. When false, it indicates the record has been marked deleted. For 99% o ...
I am trying to replace the parameter type in a lambda expression from one type to another. I have found other answers on stackoverflow i.e. this one ...
I am using the ExpressionVisitor to parse an expression tree to find out if it contains a specified parameter. Once I have found the parameter, there ...
I'm trying to compare an object with a random value, which could be an ID, and ObjectKey or even with the same object. In short, I want to compare an ...
For example, i have OData query such as these: /Suppliers?$filter=Address/City eq 'city' /Suppliers?$filter=contains(Address/City, 'city') /Su ...
Given an Expression<Func<TEntity, bool>> along the lines of I am trying to extract a list property conditions by type, i.e. So far, ...
I've been trying to create a custom ExpressionVisitor that would generate an expression that (optionaly) throws a NullReferenceException on the first ...
The System.Linq.Expressions.ExpressionVisitor has a method named VisitExtension which seems to do nothing other than call the VisitChildren method on ...
The Orderby statment is not supported by the Azure Table storage linq provider I have an Expression like i'm trying to remove .OrderBy(user => ...
Looking for ways to find participation in queryable Joins... Basically, I want to check if model class X is used in join operations in Queryable stat ...
I'm trying to create a dynamic AndAlso filter that will be used in a Where method to a LINQ-to-EF query: where filterExpression is a compiled lamb ...
Below is a simple demonstration code of my problem. TestParam method causes VisitConstant to be invoked on two different paths: 1. TestParam -> ...
I have the following Expression: and want to rewrite it to the following: I tried with the Expression Visitor and following Code: but I got t ...