Interface IInsertIntoBuilder
Builds an Insert Into expression.
Namespace: Umbraco.Cms.Infrastructure.Migrations.Expressions.Insert
Assembly: Umbraco.Infrastructure.dll
Syntax
public interface IInsertIntoBuilder : IFluentBuilder, IExecutableBuilder
Methods
View SourceEnableIdentityInsert()
Enables identity insert.
Declaration
IInsertIntoBuilder EnableIdentityInsert()
Returns
| Type | Description |
|---|---|
| IInsertIntoBuilder | The current IInsertIntoBuilder instance. |
Row(object)
Specifies the data for a row to be inserted into the table.
Declaration
IInsertIntoBuilder Row(object dataAsAnonymousType)
Parameters
| Type | Name | Description |
|---|---|---|
| object | dataAsAnonymousType | An anonymous type representing the column values for the row to insert. |
Returns
| Type | Description |
|---|---|
| IInsertIntoBuilder | The current IInsertIntoBuilder instance, allowing for method chaining. |