Search Results for

    Show / Hide Table of Contents
    View Source

    Class CreateForeignKeyExpression

    Inheritance
    System.Object
    MigrationExpressionBase
    Namespace: Umbraco.Cms.Infrastructure.Migrations.Expressions.Common.Expressions
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class CreateForeignKeyExpression : MigrationExpressionBase, IMigrationExpression

    Constructors

    View Source

    CreateForeignKeyExpression(IMigrationContext)

    Declaration
    public CreateForeignKeyExpression(IMigrationContext context)
    Parameters
    Type Name Description
    IMigrationContext context
    View Source

    CreateForeignKeyExpression(IMigrationContext, ForeignKeyDefinition)

    Declaration
    public CreateForeignKeyExpression(IMigrationContext context, ForeignKeyDefinition fkDef)
    Parameters
    Type Name Description
    IMigrationContext context
    ForeignKeyDefinition fkDef

    Properties

    View Source

    ForeignKey

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

    Methods

    View Source

    GetSql()

    Declaration
    protected override string GetSql()
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • CreateForeignKeyExpression(IMigrationContext)
      • CreateForeignKeyExpression(IMigrationContext, ForeignKeyDefinition)
    • Properties
      • ForeignKey
    • Methods
      • GetSql()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX