Search Results for

    Show / Hide Table of Contents
    View Source

    Class InsertIntoBuilder

    Implements IInsertIntoBuilder.

    Inheritance
    object
    ExpressionBuilderBase<InsertDataExpression>
    Namespace: Umbraco.Cms.Infrastructure.Migrations.Expressions.Insert
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class InsertIntoBuilder : ExpressionBuilderBase<InsertDataExpression>, IInsertIntoBuilder, IFluentBuilder, IExecutableBuilder

    Constructors

    View Source

    InsertIntoBuilder(InsertDataExpression)

    Initializes a new instance of the InsertIntoBuilder class.

    Declaration
    public InsertIntoBuilder(InsertDataExpression expression)
    Parameters
    Type Name Description
    InsertDataExpression expression

    An InsertDataExpression representing the data to insert.

    Methods

    View Source

    Do()

    Executes.

    Declaration
    public void Do()
    View Source

    EnableIdentityInsert()

    Enables identity insert.

    Declaration
    public IInsertIntoBuilder EnableIdentityInsert()
    Returns
    Type Description
    IInsertIntoBuilder

    The current IInsertIntoBuilder instance.

    View Source

    Row(object)

    Specifies the data for a row to be inserted into the table.

    Declaration
    public 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.

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