14 references to Connection
System.Data (14)
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (12)
300Connection.CheckGetExtendedUDTInfo(colMetaData, true); // SQLBUDT #370593 ensure that colMetaData.udtType is set 568Debug.Assert(Connection.IsYukonOrNewer, "Invalid Column type received from the server"); 572Debug.Assert(Connection.IsYukonOrNewer, "Invalid DataType (Xml) for the column"); 1001if (Connection != null) { 1002Connection.RemoveWeakReference(this); // This doesn't catch everything -- the connection may be closed, but it prevents dead readers from clogging the collection 1066if (Connection != null) { 1067Connection.Close(); 1193Debug.Assert(Connection.IsYukonOrNewer, "Invalid Column type received from the server"); 1259Debug.Assert(Connection.IsYukonOrNewer, "Invalid Column type received from the server"); 1260Connection.CheckGetExtendedUDTInfo(metaData, false); 1347Debug.Assert(Connection.IsYukonOrNewer, "Invalid Column type received from the server"); 1348Connection.CheckGetExtendedUDTInfo(metaData, false);
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (2)
341if ((closeConnection) && (Connection != null)) { 342Connection.Close();