View Source
  Class ColumnDefinition
  
  
  
  
    Inheritance
      System.Object
      
   
  
  Assembly: Umbraco.Infrastructure.dll
  Syntax
  
    public class ColumnDefinition
   
  Properties
  
  
    View Source
  
  ConstraintName
  
  
  Declaration
  
    public virtual string ConstraintName { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
    View Source
  
  CustomDbType
  Used for column types that cannot be natively mapped.
Declaration
  
    public SpecialDbType? CustomDbType { get; set; }
   
  Property Value
  
  
    View Source
  
  CustomType
  
  
  Declaration
  
    public virtual string CustomType { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
    View Source
  
  DefaultValue
  
  
  Declaration
  
    public virtual object DefaultValue { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Object |  | 
    
  
  
    View Source
  
  IsForeignKey
  
  
  Declaration
  
    public virtual bool IsForeignKey { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
    View Source
  
  IsIdentity
  
  
  Declaration
  
    public virtual bool IsIdentity { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
    View Source
  
  IsIndexed
  
  
  Declaration
  
    public virtual bool IsIndexed { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
    View Source
  
  IsNullable
  
  
  Declaration
  
    public virtual bool IsNullable { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
    View Source
  
  IsPrimaryKey
  
  
  Declaration
  
    public virtual bool IsPrimaryKey { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
    View Source
  
  IsUnique
  
  
  Declaration
  
    public virtual bool IsUnique { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
    View Source
  
  ModificationType
  
  
  Declaration
  
    public virtual ModificationType ModificationType { get; set; }
   
  Property Value
  
  
    View Source
  
  Name
  
  
  Declaration
  
    public virtual string Name { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
    View Source
  
  Precision
  
  
  Declaration
  
    public virtual int Precision { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Int32 |  | 
    
  
  
    View Source
  
  PrimaryKeyColumns
  
  
  Declaration
  
    public virtual string PrimaryKeyColumns { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
    View Source
  
  PrimaryKeyName
  
  
  Declaration
  
    public virtual string PrimaryKeyName { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
    View Source
  
  PropertyType
  
  
  Declaration
  
    public Type PropertyType { get; set; }
   
  Property Value
  
  
    View Source
  
  Seeding
  
  
  Declaration
  
    public virtual int Seeding { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Int32 |  | 
    
  
  
    View Source
  
  Size
  
  
  Declaration
  
    public virtual int Size { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Int32 |  | 
    
  
  
    View Source
  
  TableName
  
  
  Declaration
  
    public virtual string TableName { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
    View Source
  
  Type
  
  
  Declaration
  
    public virtual DbType? Type { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Nullable<System.Data.DbType> |  |