6 references to ContextConnection
System.Data (6)
fx\src\data\System\Data\SqlClient\SqlConnection.cs (3)
471
return opt != null ? opt.
ContextConnection
: false;
2054
if (connectionOptions.
ContextConnection
) {
2111
if (connectionOptions.
ContextConnection
) {
fx\src\data\System\Data\SqlClient\SqlConnectionFactory.cs (2)
59
if (opt.
ContextConnection
) {
153
if (!opt.
ContextConnection
&& opt.Pooling) { // never pool context connections.
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
386
Debug.Assert(credential == null || !connectionOptions.
ContextConnection
, "Cannot use SqlCredential with context connection");