Docs / MooBulk Reference

MooBulk Reference

Role#

MooBulk provides bulk loading operations for SQL Server tables.

Main methods#

</> C#
Task WriteToTableAsync(string tableName, DataTable dataTable, MooBulkOptions? options = null, CancellationToken cancellationToken = default)
Task WriteToTableAsync<T>(string tableName, IEnumerable<T> rows, MooBulkOptions? options = null, CancellationToken cancellationToken = default)

Key points#

  • the typed path uses public readable instance properties
  • the typed path materialises rows into a DataTable internally
  • preparation and cleanup SQL can be supplied through MooBulkOptions