KEMBAR78
Add a constructor to DbUpdateException that accepts list of EntityEntry-s as a parameter · Issue #24146 · dotnet/efcore · GitHub
Skip to content

Add a constructor to DbUpdateException that accepts list of EntityEntry-s as a parameter #24146

@Giorgi

Description

@Giorgi

In the EntityFramework.Exceptions project I need to create an instance of DbUpdateException subclass and pass IReadOnlyList<IUpdateEntry> entries to the constructor of DbUpdateException but all implementations of IUpdateEntry are internal and there is not publicly supported way to create an instance.

Add constructor overloads that accept IReadOnlyList<EntityEntry> for populating the Entries property.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions