Dapper
Dapper copied to clipboard
When there are too many parameters, parameterized insertion has performance problems.
When there are too many parameters, parameterized insertion has performance problems.
bool add = !command.Parameters.Contains(name);
When the count of command.parameters is large, the performance is poor.
Used for batch insert by one SQL statement. Mabe a lot of parameters.