Search Results for

    Show / Hide Table of Contents

    Class DefaultPrimaryKeyNameConvention

    The default implementation of a IColumnsConvention

    Inheritance
    object
    DefaultPrimaryKeyNameConvention
    Implements
    IColumnsConvention
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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.

    Implements

    IColumnsConvention
    In this article
    Back to top
    Copyright © 2018 Fluent Migrator Project
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.