Skip to content

.NET 10 release compatibilityΒ #91

@godunko-mikhail

Description

@godunko-mikhail

Hi! When we can wait for EntityFramework.Exceptions to release?

Currently with this package installed I can see errors like that

Image

code to reproduce
Program.cs

using Microsoft.EntityFrameworkCore;

var context = new AppContext(new DbContextOptions<AppContext>());
context.SimpleEntities.ExecuteDelete();


public class AppContext : DbContext
{
    public AppContext(DbContextOptions<AppContext> options)
        : base(options)
    {}
    
    public DbSet<SimpleEntity> SimpleEntities { get; set; }
}

public class SimpleEntity
{
    public int Id { get; set; }
}

.csproj

<Project Sdk="Microsoft.NET.Sdk">

    <PropertyGroup>
        <OutputType>Exe</OutputType>
        <TargetFramework>net10.0</TargetFramework>
        <ImplicitUsings>enable</ImplicitUsings>
        <Nullable>enable</Nullable>
    </PropertyGroup>

    <ItemGroup>
      <PackageReference Include="EntityFrameworkCore.Exceptions.PostgreSQL" Version="8.1.3" />
      <PackageReference Include="Microsoft.EntityFrameworkCore" Version="10.0.0" />
      <PackageReference Include="Npgsql" Version="10.0.0" />
    </ItemGroup>

</Project>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions