Search Results for

    Show / Hide Table of Contents
    View Source

    Class ExecuteBuilder

    Inheritance
    System.Object
    ExpressionBuilderBase<ExecuteSqlStatementExpression>
    Namespace: Umbraco.Cms.Infrastructure.Migrations.Expressions.Execute
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class ExecuteBuilder : ExpressionBuilderBase<ExecuteSqlStatementExpression>, IExecuteBuilder, IFluentBuilder, IExecutableBuilder

    Constructors

    View Source

    ExecuteBuilder(IMigrationContext)

    Declaration
    public ExecuteBuilder(IMigrationContext context)
    Parameters
    Type Name Description
    IMigrationContext context

    Methods

    View Source

    Do()

    Executes.

    Declaration
    public void Do()
    View Source

    Sql(Sql<ISqlContext>)

    Specifies the Sql statement to execute.

    Declaration
    public IExecutableBuilder Sql(Sql<ISqlContext> sql)
    Parameters
    Type Name Description
    Sql<ISqlContext> sql
    Returns
    Type Description
    IExecutableBuilder
    View Source

    Sql(String)

    Specifies the Sql statement to execute.

    Declaration
    public IExecutableBuilder Sql(string sqlStatement)
    Parameters
    Type Name Description
    System.String sqlStatement
    Returns
    Type Description
    IExecutableBuilder
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ExecuteBuilder(IMigrationContext)
    • Methods
      • Do()
      • Sql(Sql<ISqlContext>)
      • Sql(String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX