-
### Steps to reproduce
Having the following model
```csharp
public class User
{
public User(Email email)
{
Id = Guid.NewGuid();
Email = email;
}
public Guid Id …
-
When I ran this query against my database, I encountered an error due to the aggregations in the final Select() projection. I need to return an IQueryable, and I want to avoid using AsEnumerable() to …
-
I found a problem when I try to use the discriminator of a TPH mapping as part of primary key.
### The Model what I want to map
```C#
public abstract class ProviderContract
{
public Partn…
-
``` c#
public class MyContext : DbContext
{
public DbSet Blogs { get; set; }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
optionsBuilder.UseSqli…
-
## File a bug
After updating EF Core from v6.0.1 to v6.0.2, two of our tests start failing. This looks like a regression in the change tracker, which no longer produces SQL for removing an element …
-
### Description
S6966 should not fire for DbContext.Add as AddAsync [is meant for special purposes only](https://learn.microsoft.com/en-us/dotnet/api/microsoft.entityframeworkcore.dbcontext.addasyn…
-
Regarding this breaking change: https://docs.microsoft.com/en-us/ef/core/what-is-new/ef-core-3.0/breaking-changes#cascade-deletions-now-happen-immediately-by-default
When the parent entity is remov…
-
If the query selectors contain some complex expressions or method calls using multiple fields but cannot translated to sql , it is often necessary to first query the required fields and use `AsEnumera…
-
## Description
When using a value converter applied through a bulk convention, the value converter is supposed to act on all values of a specified type (DateTime in this case). However, the convers…
-
I have an issue with the current entity framework version where my query would not generate the "X IS NOT NULL" part of the query.
The query that causes the issue:
var workflowConte…