View Source
  Class CreateIndexExpression
  
  
  
  
    Inheritance
      System.Object
      
      
   
  
  Assembly: Umbraco.Infrastructure.dll
  Syntax
  
    public class CreateIndexExpression : MigrationExpressionBase, IMigrationExpression
   
  Constructors
  
  
    View Source
  
  CreateIndexExpression(IMigrationContext)
  
  
  Declaration
  
    public CreateIndexExpression(IMigrationContext context)
   
  Parameters
  
  
    View Source
  
  CreateIndexExpression(IMigrationContext, IndexDefinition)
  
  
  Declaration
  
    public CreateIndexExpression(IMigrationContext context, IndexDefinition index)
   
  Parameters
  
  Properties
  
  
    View Source
  
  Index
  
  
  Declaration
  
    public IndexDefinition Index { get; set; }
   
  Property Value
  
  Methods
  
  
    View Source
  
  GetSql()
  
  
  Declaration
  
    protected override string GetSql()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         |