Свойство | Type | Description | |
---|---|---|---|
Mappings | string>.IDictionary |
Méthode | Description | |
---|---|---|
CreateInputSchema ( ) : void |
Use the destination Schema and Mappings to create the operations input schema so it can build the adapter for sending to the WriteToServer method.
|
|
Execute ( IEnumerable |
Executes this operation
|
|
PrepareMapping ( ) : void |
Prepares the mapping for use, by default, it uses the schema mapping. This is the preferred appraoch
|
Méthode | Description | |
---|---|---|
IsOptionOn ( SqlBulkCopyOptions option ) : bool |
Returns
|
|
PrepareSchema ( ) : void |
Prepares the schema of the target table
|
|
SqlBulkInsertOperation ( |
Initializes a new instance of the SqlBulkInsertOperation class.
|
|
SqlBulkInsertOperation ( |
Initializes a new instance of the SqlBulkInsertOperation class.
|
|
SqlBulkInsertOperation ( string connectionStringName, string targetTable ) : System |
Initializes a new instance of the SqlBulkInsertOperation class.
|
|
SqlBulkInsertOperation ( string connectionStringName, string targetTable, int timeout ) : System |
Initializes a new instance of the SqlBulkInsertOperation class.
|
|
ToggleOption ( SqlBulkCopyOptions option, bool on ) : void |
Turns a bulkCopyOptions on or off depending on the value of on
|
|
TurnOptionOff ( SqlBulkCopyOptions option ) : void |
Turns the option off.
|
|
TurnOptionOn ( SqlBulkCopyOptions option ) : void |
Turns the option on.
|
|
onSqlRowsCopied ( object sender, System.Data.SqlClient.SqlRowsCopiedEventArgs e ) : void |
Handle sql notifications
|
Méthode | Description | |
---|---|---|
CompareSqlColumns ( |
||
CreateSqlBulkCopy ( |
Creates the SQL bulk copy instance
|
|
GetFriendlyName ( |
||
TypesMatch ( |
public Execute ( IEnumerable |
||
rows | IEnumerable |
|
Résultat | IEnumerable |
protected IsOptionOn ( SqlBulkCopyOptions option ) : bool | ||
option | SqlBulkCopyOptions | The |
Résultat | bool |
protected abstract PrepareSchema ( ) : void | ||
Résultat | void |
protected SqlBulkInsertOperation ( |
||
connectionStringSettings | Connection string settings to use. | |
targetTable | string | The target table. |
Résultat | System |
protected SqlBulkInsertOperation ( |
||
connectionStringSettings | Connection string settings to use. | |
targetTable | string | The target table. |
timeout | int | The timeout. |
Résultat | System |
protected SqlBulkInsertOperation ( string connectionStringName, string targetTable ) : System | ||
connectionStringName | string | Name of the connection string. |
targetTable | string | The target table. |
Résultat | System |
protected SqlBulkInsertOperation ( string connectionStringName, string targetTable, int timeout ) : System | ||
connectionStringName | string | Name of the connection string. |
targetTable | string | The target table. |
timeout | int | The timeout. |
Résultat | System |
protected ToggleOption ( SqlBulkCopyOptions option, bool on ) : void | ||
option | SqlBulkCopyOptions | The |
on | bool | |
Résultat | void |
protected TurnOptionOff ( SqlBulkCopyOptions option ) : void | ||
option | SqlBulkCopyOptions | |
Résultat | void |
protected TurnOptionOn ( SqlBulkCopyOptions option ) : void | ||
option | SqlBulkCopyOptions | |
Résultat | void |
protected onSqlRowsCopied ( object sender, System.Data.SqlClient.SqlRowsCopiedEventArgs e ) : void | ||
sender | object | |
e | System.Data.SqlClient.SqlRowsCopiedEventArgs | |
Résultat | void |