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 SourceSql(Sql<ISqlContext>)
Specifies the Sql statement to execute.
Declaration
IExecutableBuilder Sql(Sql<ISqlContext> sql)
Parameters
Type | Name | Description |
---|---|---|
Sql<ISqlContext> | sql |
Returns
Type | Description |
---|---|
IExecutableBuilder |
Sql(String)
Specifies the Sql statement to execute.
Declaration
IExecutableBuilder Sql(string sqlStatement)
Parameters
Type | Name | Description |
---|---|---|
System.String | sqlStatement |
Returns
Type | Description |
---|---|
IExecutableBuilder |