Not able to execute simple query with EF Core 3.1.12
See original GitHub issueHi! I might be doing sth wrong, but spent some time and was not able to find the root cause.
Trying to use 3.9.6.0
version of your library on top of EF Core 3.1.12
, but with no luck.
Invocation, which seems to be pretty basic, and required to just check that library works
dbContext.SomeDbSet.Take(20).ToLinqToDB().ToArray();
Fails with error
Method 'ExecuteAsyncEnumerable' in type 'LinqToDB.EntityFrameworkCore.Internal.LinqToDBForEFQueryProvider`1' from assembly 'linq2db.EntityFrameworkCore, Version=3.9.6.0, Culture=neutral, PublicKeyToken=e41013125f9e410a' does not have an implementation.
LinqToDBForEFTools.Initialize()
is invoked prior to DbContext
instance creation.
Will be glad to get help here. And sorry If I somehow missed some crucial part of the documentation.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
EF core 3.1 can not run complex raw sql query
Even though I write the query from the root, the wrapper select query is generated with all possible discriminators. So it means I...
Read more >Efficient Querying - EF Core
Performance guide for efficient querying using Entity Framework Core.
Read more >Executing Raw SQL Queries using Entity Framework Core
This method is used to execute a raw SQL command that does not return any data. It returns the number of rows affected...
Read more >Repository Pattern in ASP.NET Core - Ultimate Guide
In this extensive guide, we will go through everything you will need to know about Repository Pattern in ASP.NET Core, Generic Repository Patterns,...
Read more >Raw queries with Entity Framework Core - MS's Blog
In this blog post, I showcase how to migrate raw SQL query from Entity Framework 6 to EF Core 2.1 and EF Core...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
We plan to release it next thursday
Reproduced. Working on fix. Thanks for the reproducing sample.