Class InsertIntoBuilder
Implements IInsertIntoBuilder.
Namespace: Umbraco.Cms.Infrastructure.Migrations.Expressions.Insert
Assembly: Umbraco.Infrastructure.dll
Syntax
public class InsertIntoBuilder : ExpressionBuilderBase<InsertDataExpression>, IInsertIntoBuilder, IFluentBuilder, IExecutableBuilder
Constructors
View SourceInsertIntoBuilder(InsertDataExpression)
Declaration
public InsertIntoBuilder(InsertDataExpression expression)
Parameters
Type | Name | Description |
---|---|---|
InsertDataExpression | expression |
Methods
View SourceDo()
Executes.
Declaration
public void Do()
EnableIdentityInsert()
Enables identity insert.
Declaration
public IInsertIntoBuilder EnableIdentityInsert()
Returns
Type | Description |
---|---|
IInsertIntoBuilder |
Row(Object)
Specifies a row to be inserted.
Declaration
public IInsertIntoBuilder Row(object dataAsAnonymousType)
Parameters
Type | Name | Description |
---|---|---|
System.Object | dataAsAnonymousType |
Returns
Type | Description |
---|---|
IInsertIntoBuilder |