Use SqlCommand.EnableOptimizedParameter
Open
area-perf
area-query
area-save-changes
customer-reported
- Dominant language
- C#
- Stars
- 14.8k
- Forks
- 3.4k
- PR merge metrics
- PR metrics pending
Description
See [SqlCommand.EnableOptimizedParameterBinding Property](https://learn.microsoft.com/en-us/dotnet/api/microsoft.data.sqlclient.sqlcommand.enableoptimizedparameterbinding?view=sqlclient-dotnet-standard-5.0).
We should be able to make good use of this flag since we know what kind of parameters we are going to use and they are almost always input.
Contributor guide
Assessment
This issue has not been assessed yet.