Interface IBulkQueryExecutor
Executes a bulk insert operation.
Namespace: Gossip.Connection.Fluent
Assembly: Gossip.dll
Syntax
public interface IBulkQueryExecutor
Methods
| Improve this Doc View SourceInsertInBulkAsync<T>(IEnumerable<T>, String, Int32, Dictionary<String, String>)
Execute a bulk insert operation into the specified table.
Declaration
Task InsertInBulkAsync<T>(IEnumerable<T> data, string tableName, int timeoutInSeconds, Dictionary<string, string> columnMappings)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<T> | data | The data to bulk insert. |
| String | tableName | The name of the table. |
| Int32 | timeoutInSeconds | The timeout, specified in seconds. |
| Dictionary<String, String> | columnMappings | A dictionary of column mappings. |
Returns
| Type | Description |
|---|---|
| Task |
Type Parameters
| Name | Description |
|---|---|
| T | The type of data being bulk inserted. |