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