SequenceUniquificationConvention Class

Definition

A convention which ensures that all sequences in the model have unique names within a schema when truncated to the maximum identifier length for the model.

public class SequenceUniquificationConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
type SequenceUniquificationConvention = class
    interface IModelFinalizingConvention
    interface IConvention
Public Class SequenceUniquificationConvention
Implements IModelFinalizingConvention
Inheritance
SequenceUniquificationConvention
Implements

Remarks

See Model building conventions and Database sequences for more information and examples.

Constructors

SequenceUniquificationConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

Creates a new instance of SequenceUniquificationConvention.

Properties

Dependencies

Dependencies for this service.

RelationalDependencies

Relational provider-specific dependencies for this service.

Methods

ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Called when a model is being finalized.

Applies to