Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IBulkSqlInsertProvider

    Provides an interface for implementing bulk SQL insert operations in a database.

    Namespace: Umbraco.Cms.Infrastructure.Persistence
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public interface IBulkSqlInsertProvider

    Properties

    View Source

    ProviderName

    Gets the unique name that identifies the bulk SQL insert provider implementation.

    Declaration
    string ProviderName { get; }
    Property Value
    Type Description
    string

    Methods

    View Source

    BulkInsertRecords<T>(IUmbracoDatabase, IEnumerable<T>)

    Inserts a collection of records of type T into the database in bulk.

    Declaration
    int BulkInsertRecords<T>(IUmbracoDatabase database, IEnumerable<T> records)
    Parameters
    Type Name Description
    IUmbracoDatabase database

    The IUmbracoDatabase instance to use for the bulk insert operation.

    IEnumerable<T> records

    The collection of records to insert.

    Returns
    Type Description
    int

    The number of records that were successfully inserted into the database.

    Type Parameters
    Name Description
    T

    The type of records to insert.

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