View Source
  Class ExecuteSqlStatementExpression
  
  
  
  
    Inheritance
      System.Object
      
      
   
  
  Assembly: Umbraco.Infrastructure.dll
  Syntax
  
    public class ExecuteSqlStatementExpression : MigrationExpressionBase, IMigrationExpression
   
  Constructors
  
  
    View Source
  
  ExecuteSqlStatementExpression(IMigrationContext)
  
  
  Declaration
  
    public ExecuteSqlStatementExpression(IMigrationContext context)
   
  Parameters
  
  Properties
  
  
    View Source
  
  SqlObject
  
  
  Declaration
  
    public virtual Sql<ISqlContext>? SqlObject { get; set; }
   
  Property Value
  
  
    View Source
  
  SqlStatement
  
  
  Declaration
  
    public virtual string SqlStatement { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  Methods
  
  
    View Source
  
  ExecuteSqlObject()
  
  
  Declaration
  
    public void ExecuteSqlObject()
   
  
    View Source
  
  GetSql()
  
  
  Declaration
  
    protected override string GetSql()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         |