Search Results for

    Show / Hide Table of Contents

    Class CreateForeignKeyExpression

    Inheritance
    object
    MigrationExpressionBase
    CreateForeignKeyExpression
    Implements
    IMigrationExpression
    ICanBeValidated
    IForeignKeyExpression
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: FluentMigrator.Expressions
    Assembly: FluentMigrator.Abstractions.dll
    Syntax
    public class CreateForeignKeyExpression : MigrationExpressionBase, IMigrationExpression, ICanBeValidated, IForeignKeyExpression

    Properties

    ForeignKey

    Gets the foreign key defintion

    Declaration
    public virtual ForeignKeyDefinition ForeignKey { get; set; }
    Property Value
    Type Description
    ForeignKeyDefinition

    Methods

    CollectValidationErrors(ICollection<string>)

    Declaration
    public override void CollectValidationErrors(ICollection<string> errors)
    Parameters
    Type Name Description
    ICollection<string> errors
    Overrides
    MigrationExpressionBase.CollectValidationErrors(ICollection<string>)

    ExecuteWith(IMigrationProcessor)

    Declaration
    public override void ExecuteWith(IMigrationProcessor processor)
    Parameters
    Type Name Description
    IMigrationProcessor processor
    Overrides
    MigrationExpressionBase.ExecuteWith(IMigrationProcessor)

    Reverse()

    Declaration
    public override IMigrationExpression Reverse()
    Returns
    Type Description
    IMigrationExpression
    Overrides
    MigrationExpressionBase.Reverse()

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    MigrationExpressionBase.ToString()

    Implements

    IMigrationExpression
    ICanBeValidated
    IForeignKeyExpression

    Extension Methods

    ConventionSetExtensions.Apply<T>(T, IConventionSet)
    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.