dotnet / dotnet/efcore

Allow conventions to react to sequence operations

Open
#32,709 1 comment 0 reactions 0 assignees View on GitHub
area-conventions
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

In EFCore.NamingConventions, there's a request to rewrite the naming of sequences when they're added by convention, e.g. by TPC ([issue](https://github.com/efcore/EFCore.NamingConventions/issues/13)). However, it seems that there's currently no way to do that (no ISequenceAddedConvention, and IModelAnnotationChangedConvention does not get fired [when a sequence gets added](https://github.com/dotnet/efcore/blob/main/src/EFCore.Relational/Metadata/Internal/Sequence.cs#L161)).

/cc @AndriySvyryd

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.