7 writes to CurrentDatabase
System.Data (7)
fx\src\data\System\Data\SqlClient\SqlInternalConnectionSmi.cs (2)
63
_connection.
CurrentDatabase
= databaseName;
242
CurrentDatabase
= _smiConnection.GetCurrentDatabase(_smiEventSink);
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (5)
904
CurrentDatabase
= _originalDatabase;
1262
CurrentDatabase
= server.ResolvedDatabaseName;
1585
CurrentDatabase
= _originalDatabase = ConnectionOptions.InitialCatalog;
1840
CurrentDatabase
= _originalDatabase = ConnectionOptions.InitialCatalog;
2108
CurrentDatabase
= rec.newValue;
5 references to CurrentDatabase
System.Data (5)
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
632
result = innerConnection.
CurrentDatabase
;
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (4)
184
_currentSessionData._database =
CurrentDatabase
;
1220
_currentSessionData._initialDatabase =
CurrentDatabase
;
1295
login.database =
CurrentDatabase
;;
1904
throw SQL.InvalidPartnerConfiguration(failoverHost,
CurrentDatabase
);