Table of Contents

Class SapHanaProviderAdapter.HanaBulkCopy

Namespace
LinqToDB.DataProvider.SapHana
Assembly
linq2db.dll
[Wrapper]
public class SapHanaProviderAdapter.HanaBulkCopy : TypeWrapper, IDisposable
Inheritance
SapHanaProviderAdapter.HanaBulkCopy
Implements
Inherited Members
Extension Methods

Constructors

HanaBulkCopy(HanaConnection, HanaBulkCopyOptions, HanaTransaction?)

public HanaBulkCopy(SapHanaProviderAdapter.HanaConnection connection, SapHanaProviderAdapter.HanaBulkCopyOptions options, SapHanaProviderAdapter.HanaTransaction? transaction)

Parameters

connection SapHanaProviderAdapter.HanaConnection
options SapHanaProviderAdapter.HanaBulkCopyOptions
transaction SapHanaProviderAdapter.HanaTransaction

HanaBulkCopy(object, Delegate[])

public HanaBulkCopy(object instance, Delegate[] wrappers)

Parameters

instance object
wrappers Delegate[]

Properties

BatchSize

public int BatchSize { get; set; }

Property Value

int

BulkCopyTimeout

public int BulkCopyTimeout { get; set; }

Property Value

int

CanWriteToServerAsync

public bool CanWriteToServerAsync { get; }

Property Value

bool

ColumnMappings

public SapHanaProviderAdapter.HanaBulkCopyColumnMappingCollection ColumnMappings { get; }

Property Value

SapHanaProviderAdapter.HanaBulkCopyColumnMappingCollection

DestinationTableName

public string? DestinationTableName { get; set; }

Property Value

string

NotifyAfter

public int NotifyAfter { get; set; }

Property Value

int

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

WriteToServer(IDataReader)

public void WriteToServer(IDataReader dataReader)

Parameters

dataReader IDataReader

WriteToServerAsync(IDataReader, CancellationToken)

public Task WriteToServerAsync(IDataReader dataReader, CancellationToken cancellationToken)

Parameters

dataReader IDataReader
cancellationToken CancellationToken

Returns

Task

Events

HanaRowsCopied

public event SapHanaProviderAdapter.HanaRowsCopiedEventHandler? HanaRowsCopied

Event Type

SapHanaProviderAdapter.HanaRowsCopiedEventHandler