VerticaBulkOperationsDbSetting
A setting class used for the Vertica data provider, extended with the settings of the bulk operations.
This class extends VerticaDbSetting with the settings of the bulk operations (bulk-insert, bulk-merge, bulk-update and bulk-delete) for Vertica, and inherits all of its configured values. Pass an instance to VerticaConfiguration’s UseVertica method to register it in place of the default setting.
Properties
| Name | Description |
|---|---|
| BulkColumnMappingsBehavior | Gets or sets the VerticaBulkColumnMappingsBehavior value that defines how the columns of the source are aligned with the columns of the destination table when no explicit mappings were passed to a bulk operation. Explicit mappings always take precedence over this setting. The default value is Automatic. |
Usability
GlobalConfiguration
.Setup()
.UseVertica(new VerticaBulkOperationsDbSetting
{
BulkColumnMappingsBehavior = VerticaBulkColumnMappingsBehavior.Strict
});
This requires RepoDb.Vertica.BulkOperations to be installed, since that’s where this class lives.