Appearance
BulkInsertAsync Method
Definition
- Namespace:
JASE.Database - Assembly:
JASE.Database.dll
Overloads
| Name | Description |
|---|---|
Task<int> BulkInsertAsync(TableInfo table, IEnumerable<DynamicRow> rows, CancellationToken cancellationToken = null) | Inserts dynamic rows using provider-specific bulk techniques (binary COPY, SqlBulkCopy, etc.). Falls back to InsertListAsync when no bulk provider is registered. |
Task<int> BulkInsertAsync(IEnumerable<T> list, int commitInterval = null, int commandTimeout = null, CancellationToken cancellationToken = null) | Inserts dynamic rows using provider-specific bulk techniques (binary COPY, SqlBulkCopy, etc.). Falls back to InsertListAsync when no bulk provider is registered. |
Task<int> BulkInsertAsync(Type entityType, IEnumerable list, int commitInterval = null, int commandTimeout = null, CancellationToken cancellationToken = null) | Inserts dynamic rows using provider-specific bulk techniques (binary COPY, SqlBulkCopy, etc.). Falls back to InsertListAsync when no bulk provider is registered. |
Task<int> BulkInsertAsync(TableInfo table, IEnumerable<DynamicRow> rows, CancellationToken cancellationToken = null)
csharp
Task<int> BulkInsertAsync(TableInfo table, IEnumerable<DynamicRow> rows, CancellationToken cancellationToken = null)Inserts dynamic rows using provider-specific bulk techniques (binary COPY, SqlBulkCopy, etc.). Falls back to InsertListAsync when no bulk provider is registered.
Task<int> BulkInsertAsync(Type entityType, IEnumerable list, int commitInterval = null, int commandTimeout = null, CancellationToken cancellationToken = null)
csharp
Task<int> BulkInsertAsync(Type entityType, IEnumerable list, int commitInterval = null, int commandTimeout = null, CancellationToken cancellationToken = null)Inserts dynamic rows using provider-specific bulk techniques (binary COPY, SqlBulkCopy, etc.). Falls back to InsertListAsync when no bulk provider is registered.
Task<int> BulkInsertAsync(IEnumerable<T> list, int commitInterval = null, int commandTimeout = null, CancellationToken cancellationToken = null)
csharp
Task<int> BulkInsertAsync(IEnumerable<T> list, int commitInterval = null, int commandTimeout = null, CancellationToken cancellationToken = null)Inserts dynamic rows using provider-specific bulk techniques (binary COPY, SqlBulkCopy, etc.). Falls back to InsertListAsync when no bulk provider is registered.