Search Results for

    Show / Hide Table of Contents

    Class BulkInsertConfigurator<T>

    Configures bulk insert operations to execute.

    Inheritance
    Object
    BulkInsertConfigurator<T>
    Implements
    IBulkInsertConfigurator<T>
    Namespace: Gossip.Connection.Fluent
    Assembly: Gossip.dll
    Syntax
    public class BulkInsertConfigurator<T> : object, IBulkInsertConfigurator<T>
    Type Parameters
    Name Description
    T

    The type of data being bulk inserted.

    Constructors

    | Improve this Doc View Source

    BulkInsertConfigurator(IBulkQueryExecutor, IEnumerable<T>)

    Constructs a BulkInsertConfigurator<T>.

    Declaration
    public BulkInsertConfigurator(IBulkQueryExecutor queryExecutor, IEnumerable<T> data)
    Parameters
    Type Name Description
    IBulkQueryExecutor queryExecutor

    The query executor, used to execute the configured bulk insert operation.

    IEnumerable<T> data

    The data to insert.

    Methods

    | Improve this Doc View Source

    ExecuteAsync()

    Declaration
    public Task ExecuteAsync()
    Returns
    Type Description
    Task
    | Improve this Doc View Source

    IntoTable(String)

    Declaration
    public IBulkInsertConfigurator<T> IntoTable(string tableName)
    Parameters
    Type Name Description
    String tableName
    Returns
    Type Description
    IBulkInsertConfigurator<T>
    | Improve this Doc View Source

    WithColumnMapping(Dictionary<String, String>)

    Declaration
    public IBulkInsertConfigurator<T> WithColumnMapping(Dictionary<string, string> columnMappings)
    Parameters
    Type Name Description
    Dictionary<String, String> columnMappings
    Returns
    Type Description
    IBulkInsertConfigurator<T>
    | Improve this Doc View Source

    WithTimeout(Int32)

    Declaration
    public IBulkInsertConfigurator<T> WithTimeout(int timeoutInSeconds)
    Parameters
    Type Name Description
    Int32 timeoutInSeconds
    Returns
    Type Description
    IBulkInsertConfigurator<T>

    Implements

    IBulkInsertConfigurator<T>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX