SequenceUniquificationConvention Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
[System.Runtime.CompilerServices.Nullable(0)]
public class SequenceUniquificationConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
public class SequenceUniquificationConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type SequenceUniquificationConvention = class
interface IModelFinalizingConvention
interface IConvention
type SequenceUniquificationConvention = class
interface IModelFinalizingConvention
interface IConvention
Public Class SequenceUniquificationConvention
Implements IModelFinalizingConvention
- Inheritance
-
SequenceUniquificationConvention
- Attributes
- Implements
Remarks
See Model building conventions and Database sequences for more information and examples.
Constructors
| Name | Description |
|---|---|
| SequenceUniquificationConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies) |
Creates a new instance of SequenceUniquificationConvention. |
Properties
| Name | Description |
|---|---|
| Dependencies |
Dependencies for this service. |
| RelationalDependencies |
Relational provider-specific dependencies for this service. |
Methods
| Name | Description |
|---|---|
| ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>) |
Called when a model is being finalized. |