Search Results for

    Show / Hide Table of Contents

    Interface IBulkInsertConfigurator<T>

    Configures bulk insert operations to execute.

    Namespace: Gossip.Connection.Fluent
    Assembly: Gossip.dll
    Syntax
    public interface IBulkInsertConfigurator<T>
    Type Parameters
    Name Description
    T

    The type of data being bulk inserted.

    Methods

    | Improve this Doc View Source

    ExecuteAsync()

    Execute the configured bulk insert operation.

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

    IntoTable(String)

    Configure which table to perform a bulk insert into.

    Declaration
    IBulkInsertConfigurator<T> IntoTable(string tableName)
    Parameters
    Type Name Description
    String tableName

    The name of the table.

    Returns
    Type Description
    IBulkInsertConfigurator<T>
    | Improve this Doc View Source

    WithColumnMapping(Dictionary<String, String>)

    Configure the column mappings for the bulk insert operation.

    Declaration
    IBulkInsertConfigurator<T> WithColumnMapping(Dictionary<string, string> columnMappings)
    Parameters
    Type Name Description
    Dictionary<String, String> columnMappings

    A dictionary of column mappings.

    Returns
    Type Description
    IBulkInsertConfigurator<T>
    | Improve this Doc View Source

    WithTimeout(Int32)

    Configure a timeout for the bulk insert operation.

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

    The timeout, specified in seconds.

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