Comments (2)
Just a first impression: .AsQueryable().AsEnumerable()
looks suspicious. Generally EF Core is only able to translate Expression
-stuff, as used by the IQueryable
-methods; IEnumerable
on the other hand uses compiled Func
s, that aren't easily translated. Can you remove .AsQueryable().AsEnumerable()
and see, if it changes anything? If the compiler objects, try removing only .AsEnumerable()
or explicitly casting the lambda inside the Select
to Expression<Func<..., Address>>
(replacing ...
by the type of items in AddressList
).
from linqkit.
I still receive the same error after removing .AsQueryable().AsEnumberable()
and also removing just .AsEnumerable()
However, for your suggestion of explicitly casting the lambda expression, could you elaborate a little more as I'm afraid I'm not following you. In my case it would be Expression<Func<AddressData,Address>>
from linqkit.
Related Issues (20)
- ForEach extension method? HOT 2
- ExpressionVisitor.VisitConditional might fail if used in polymorphism HOT 1
- Timestamp in nuget dependencies HOT 2
- QueryOptimizer with EFCore? HOT 5
- Plugging Expressions into EntitySets / EntityCollections using compile doesnt work HOT 1
- Empty top-level Timestamp namespace appears in 1.2.2 causing CS0118 errors when a Timestamp type already exists in used namespace HOT 2
- Cannot use async operations with AsExpandable HOT 2
- PredicateBuilder cannot fill in parameter in SQLite when building expression. HOT 2
- Nullable properties `NullReferenceException` not thrown. HOT 3
- No support for `Expression.Default` HOT 2
- WithExpressionExpanding not expanding LINQ queries properly HOT 1
- how to do apply LINQ using ExpressionBuilder on NotMapped property HOT 1
- Why so many different versions targeting different versions of .NET? HOT 1
- AggregateBalanced overload for `Expression<Func<Type, bool>>[]`? HOT 1
- Error expanding a lambda which calls `Invoke()` on an inner expression which references outer parameter HOT 1
- JSON projection should support nested paths
- LinqKit.Core 1.2.5 is not compatible with net8.0 HOT 17
- linqkit.microsoft.entityframeworkcore is missing NuGet package README file
- How to use LinqKit in non static method?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linqkit.