BulkInsertUtility.GetBulkInsertCommands<TInsert> method (1 of 2)

Gets the Dapper CommandDefinitions used by BulkInsert and BulkInsertAsync.

public static IEnumerable<CommandDefinition> GetBulkInsertCommands<TInsert>(string sql, 
    IEnumerable<TInsert> insertParams, IDbTransaction transaction = null, int? batchSize = null, CancellationToken cancellationToken = default(CancellationToken))

See Also


BulkInsertUtility.GetBulkInsertCommands<TCommon,TInsert> method (2 of 2)

Gets the Dapper CommandDefinitions used by BulkInsert and BulkInsertAsync.

public static IEnumerable<CommandDefinition> GetBulkInsertCommands<TCommon, TInsert>(string sql, 
    TCommon commonParam, IEnumerable<TInsert> insertParams, IDbTransaction transaction = null, 
    int? batchSize = null, CancellationToken cancellationToken = default(CancellationToken))

See Also