Skip to content

BulkUpdateAsync Method ​

Definition ​

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

Task<int> BulkUpdateAsync(DbSession session, IEnumerable<T> entities, TableInfo table, CancellationToken cancellationToken = null) ​

csharp
Task<int> BulkUpdateAsync(DbSession session, IEnumerable<T> entities, TableInfo table, CancellationToken cancellationToken = null)

UPDATES a batch of entities of type T in the most efficient provider-specific way (binary copy, TVP, etc.).