Search Results for

    Show / Hide Table of Contents

    Class ForeignKeyDefinition

    Inheritance
    object
    ForeignKeyDefinition
    Implements
    ICloneable
    ICanBeValidated
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: FluentMigrator.Model
    Assembly: FluentMigrator.Abstractions.dll
    Syntax
    public class ForeignKeyDefinition : ICloneable, ICanBeValidated

    Properties

    ForeignColumns

    Declaration
    public virtual ICollection<string> ForeignColumns { get; set; }
    Property Value
    Type Description
    ICollection<string>

    ForeignTable

    Declaration
    public virtual string ForeignTable { get; set; }
    Property Value
    Type Description
    string

    ForeignTableSchema

    Declaration
    public virtual string ForeignTableSchema { get; set; }
    Property Value
    Type Description
    string

    Name

    Declaration
    public virtual string Name { get; set; }
    Property Value
    Type Description
    string

    OnDelete

    Declaration
    public virtual Rule OnDelete { get; set; }
    Property Value
    Type Description
    Rule

    OnUpdate

    Declaration
    public virtual Rule OnUpdate { get; set; }
    Property Value
    Type Description
    Rule

    PrimaryColumns

    Declaration
    public virtual ICollection<string> PrimaryColumns { get; set; }
    Property Value
    Type Description
    ICollection<string>

    PrimaryTable

    Declaration
    public virtual string PrimaryTable { get; set; }
    Property Value
    Type Description
    string

    PrimaryTableSchema

    Declaration
    public virtual string PrimaryTableSchema { get; set; }
    Property Value
    Type Description
    string

    Methods

    Clone()

    Creates a new object that is a copy of the current instance.

    Declaration
    public object Clone()
    Returns
    Type Description
    object

    A new object that is a copy of this instance.

    CollectValidationErrors(ICollection<string>)

    Declaration
    public virtual void CollectValidationErrors(ICollection<string> errors)
    Parameters
    Type Name Description
    ICollection<string> errors

    HasForeignAndPrimaryColumnsDefined()

    Declaration
    public bool HasForeignAndPrimaryColumnsDefined()
    Returns
    Type Description
    bool

    Implements

    ICloneable
    ICanBeValidated
    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.