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