Class DefaultPrimaryKeyNameConvention
The default implementation of a IColumnsConvention
Implements
Inherited Members
Namespace: FluentMigrator.Runner.Conventions
Assembly: FluentMigrator.Runner.Core.dll
Syntax
public class DefaultPrimaryKeyNameConvention : IColumnsConvention
Remarks
It sets the default constraint name of a primary key column.
Methods
Apply(IColumnsExpression)
Applies a convention to a IColumnsExpression
Declaration
public IColumnsExpression Apply(IColumnsExpression expression)
Parameters
| Type | Name | Description |
|---|---|---|
| IColumnsExpression | expression | The expression this convention should be applied to |
Returns
| Type | Description |
|---|---|
| IColumnsExpression | The same or a new expression. The underlying type must stay the same. |