SapHanaTraceKeys
This class holds the tracing key constants used by the RepoDb.SapHana.BulkOperations bulk operations, for use with ITrace.
Fields
| Name | Value |
|---|---|
| SapHanaBulkDelete | "SapHanaBulkDelete" |
| SapHanaBulkDeleteByKey | "SapHanaBulkDeleteByKey" |
| SapHanaBulkInsert | "SapHanaBulkInsert" |
| SapHanaBulkMerge | "SapHanaBulkMerge" |
| SapHanaBulkUpdate | "SapHanaBulkUpdate" |
Usability
Pass a custom traceKey value, or compare against these constants inside a custom ITrace implementation.
using (var connection = new HanaConnection(connectionString))
{
var insertedRows = connection.BulkInsert(people,
trace: new MyCustomTrace(),
traceKey: SapHanaTraceKeys.SapHanaBulkInsert);
}