Class InsertBuilder
Implements IInsertBuilder.
Inheritance
object
Namespace: Umbraco.Cms.Infrastructure.Migrations.Expressions.Insert
Assembly: Umbraco.Infrastructure.dll
Syntax
public class InsertBuilder : IInsertBuilder, IFluentBuilder
Constructors
View SourceInsertBuilder(IMigrationContext)
Initializes a new instance of the InsertBuilder class.
Declaration
public InsertBuilder(IMigrationContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| IMigrationContext | context | The migration context used to manage the state and execution of the migration. |
Methods
View SourceIntoTable(string)
Specifies the table into which data will be inserted.
Declaration
public IInsertIntoBuilder IntoTable(string tableName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | tableName | The name of the table to insert into. |
Returns
| Type | Description |
|---|---|
| IInsertIntoBuilder | An IInsertIntoBuilder to continue building the insert expression. |