Class SqlServerProviderAdapter.SqlBulkCopy
- Namespace
- LinqToDB.DataProvider.SqlServer
- Assembly
- linq2db.dll
[Wrapper]
public class SqlServerProviderAdapter.SqlBulkCopy : TypeWrapper, IDisposable
- Inheritance
-
SqlServerProviderAdapter.SqlBulkCopy
- Implements
-
- Inherited Members
-
- Extension Methods
-
Constructors
SqlBulkCopy(SqlConnection, SqlBulkCopyOptions, SqlTransaction?)
public SqlBulkCopy(SqlServerProviderAdapter.SqlConnection connection, SqlServerProviderAdapter.SqlBulkCopyOptions options, SqlServerProviderAdapter.SqlTransaction? transaction)
Parameters
connection
SqlServerProviderAdapter.SqlConnection
options
SqlServerProviderAdapter.SqlBulkCopyOptions
transaction
SqlServerProviderAdapter.SqlTransaction
SqlBulkCopy(object, Delegate[])
public SqlBulkCopy(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
ColumnMappings
public SqlServerProviderAdapter.SqlBulkCopyColumnMappingCollection ColumnMappings { get; }
Property Value
- SqlServerProviderAdapter.SqlBulkCopyColumnMappingCollection
DestinationTableName
public string? DestinationTableName { get; set; }
Property Value
- string
NotifyAfter
public int NotifyAfter { get; set; }
Property Value
- int
Methods
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
SqlRowsCopied
public event SqlServerProviderAdapter.SqlRowsCopiedEventHandler? SqlRowsCopied
Event Type
- SqlServerProviderAdapter.SqlRowsCopiedEventHandler