<PackageReference Include="System.Data.SqlClient" Version="4.8.5" />

System.Data.SqlClient.ApplicationIntent

public enum ApplicationIntent
Specifies a value for ApplicationIntent. Possible values are ReadWrite and ReadOnly.

The application workload type when connecting to a server is read only.

The application workload type when connecting to a server is read write.