-
So, I wanted to give .NET 6 a spin for my .NET 5 programs. My EFCore code is based on EFCore5.
so I changed the output target to net6, and updated the EFCore libraries from the 5.x versions to the …
-
I expect to be able to specify a connection string when executing scaffold, migrations, database, and similar commands from cli.
### Steps to reproduce
Execute a command which interacts with a d…
-
Hi everyone,
I found a bug in efcore6 that now produces an invalid SELECT statement when filtering/sorting on owned types stored on other tables.
In particular, the bug happens when **more than on…
-
Hi Team, we are trying to upgrade EFCore2.1 to 5.0 and faced this issue. Temporary values are not generated by EFCore 5 thereby unable to insert record due to FK exception. y.Id has zero value after a…
-
Hello,
I'm trying to seed data in efcore5 using auto many to many relation between Group and PolicyTarget (see below the model)
Here is my models👍:
```cs
///
/// Represents a Group of…
-
Hi,
I have a dbContext created using NpgSql driver via dbContextBuilder.UseNpgsql(connStr).
The problem is that calling context.Trucate();
Results in resulting incorrect CommandText SQL saying
…
-
I write some extensions for EF Core, and recently I found it works normal with ef core 2.x, but exception with ef core3.x, seemed it was because `FindAsync` return `Task` in efcore2.x, but `ValueTask`…
-
Hello,
When trying to upgrade to EF6 I encountered a situation where attributes are saved in the DB with NULL `representationId`.
Ways to reproduce -
1. POST a user
2. POST a group with the…
-
*Created by: klawr*
**Describe the bug**
App crashes after `Add-Migrate`.
Removing all previous migrations and `Add-Migrate InitialCreate` does not resolve the issue.
I think the app crashes when …
klawr updated
2 years ago
-
## System.InvalidOperationException: Unable to materialize entity instance of type 'T'. No discriminators matched the discriminator value 'value'.
### Include your code
```C#
//Program.cs
cl…