Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IExecuteBuilder

    Builds and executes an Sql statement.

    Namespace: Umbraco.Cms.Infrastructure.Migrations.Expressions.Execute
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public interface IExecuteBuilder : IFluentBuilder
    Remarks

    Deals with multi-statements Sql.

    Methods

    View Source

    Sql(Sql<ISqlContext>)

    Specifies the SQL statement to execute as part of a migration.

    Declaration
    IExecutableBuilder Sql(Sql<ISqlContext> sql)
    Parameters
    Type Name Description
    Sql<ISqlContext> sql

    The SQL statement to execute.

    Returns
    Type Description
    IExecutableBuilder

    An IExecutableBuilder that allows further configuration of the migration step.

    View Source

    Sql(string)

    Specifies the SQL statement to be executed as part of the migration.

    Declaration
    IExecutableBuilder Sql(string sqlStatement)
    Parameters
    Type Name Description
    string sqlStatement

    The SQL statement to execute.

    Returns
    Type Description
    IExecutableBuilder

    An IExecutableBuilder that can be used to continue building the execution.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX