Skip to content

SqlClientBatchingBatcher doesn't work with MicrosoftDataSqlClientDriver #3258

Discussion options

You must be logged in to vote

SqlClientBatchingBatcher uses System.Data.SqlClient, it cannot work with Microsoft.Data.SqlClient.

This batcher is implemented through an internal batcher provided by System.Data.SqlClient, see here.

For Microsoft.Data.SqlClient, use the generic batching batcher. (Just leave it un-configured, the driver will use it by default, see here.)

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by tompazourek
Comment options

You must be logged in to vote
7 replies
@tompazourek
Comment options

@roken
Comment options

@gliljas
Comment options

@roken
Comment options

@fredericDelaporte
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #3257 on March 16, 2023 00:31.