View Source
  Class ConstraintDefinition
  
  
  
  
    Inheritance
      System.Object
      
   
  
  Assembly: Umbraco.Infrastructure.dll
  Syntax
  
    public class ConstraintDefinition
   
  Constructors
  
  
    View Source
  
  ConstraintDefinition(ConstraintType)
  
  
  Declaration
  
    public ConstraintDefinition(ConstraintType type)
   
  Parameters
  
  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 | 
         |