dotnet / dotnet/efcore

Interceptors for EnsureDeleted/EnsureCreated

Open
#28,343 0 comments 2 reactions 0 assignees View on GitHub
area-interception area-migrations
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

The idea here is to allow additional operations on the database during the process of creating databases for testing purposes--for example, see https://github.com/dotnet/efcore/issues/23970#issuecomment-1167538335.

In reality, these are probably interceptors in the Migrations pipeline, since that is what is used for `EnsureCreated`, but the use case is specifically for `EnsureCreated` since it does not allow for editing of the generated migrations.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.