Search Results for

    Show / Hide Table of Contents
    View Source

    Class CreateConstraintExpression

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

    Constructors

    View Source

    CreateConstraintExpression(IMigrationContext, ConstraintType)

    Declaration
    public CreateConstraintExpression(IMigrationContext context, ConstraintType constraint)
    Parameters
    Type Name Description
    IMigrationContext context
    ConstraintType constraint

    Properties

    View Source

    Constraint

    Declaration
    public ConstraintDefinition Constraint { get; }
    Property Value
    Type Description
    ConstraintDefinition

    Methods

    View Source

    GetSql()

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