Search Results for

    Show / Hide Table of Contents
    View Source

    Class ConstraintDefinition

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.Persistence.DatabaseModelDefinitions
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class ConstraintDefinition

    Constructors

    View Source

    ConstraintDefinition(ConstraintType)

    Declaration
    public ConstraintDefinition(ConstraintType type)
    Parameters
    Type Name Description
    ConstraintType type

    Fields

    View Source

    Columns

    Declaration
    public ICollection<string> Columns
    Field Value
    Type Description
    ICollection<System.String>

    Properties

    View Source

    ConstraintName

    Declaration
    public string ConstraintName { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    IsNonUniqueConstraint

    Declaration
    public bool IsNonUniqueConstraint { get; }
    Property Value
    Type Description
    System.Boolean
    View Source

    IsPrimaryKeyClustered

    Declaration
    public bool IsPrimaryKeyClustered { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    IsPrimaryKeyConstraint

    Declaration
    public bool IsPrimaryKeyConstraint { get; }
    Property Value
    Type Description
    System.Boolean
    View Source

    IsUniqueConstraint

    Declaration
    public bool IsUniqueConstraint { get; }
    Property Value
    Type Description
    System.Boolean
    View Source

    SchemaName

    Declaration
    public string SchemaName { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    TableName

    Declaration
    public string TableName { get; set; }
    Property Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ConstraintDefinition(ConstraintType)
    • Fields
      • Columns
    • Properties
      • ConstraintName
      • IsNonUniqueConstraint
      • IsPrimaryKeyClustered
      • IsPrimaryKeyConstraint
      • IsUniqueConstraint
      • SchemaName
      • TableName
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX