Class BulkInsertConfigurator<T>
Configures bulk insert operations to execute.
Inheritance
BulkInsertConfigurator<T>
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>)
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
|
Improve this Doc
View Source
IntoTable(String)
Declaration
public IBulkInsertConfigurator<T> IntoTable(string tableName)
Parameters
| Type |
Name |
Description |
| String |
tableName |
|
Returns
|
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
|
Improve this Doc
View Source
WithTimeout(Int32)
Declaration
public IBulkInsertConfigurator<T> WithTimeout(int timeoutInSeconds)
Parameters
| Type |
Name |
Description |
| Int32 |
timeoutInSeconds |
|
Returns
Implements