3 writes to _connection
System.Data (3)
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (3)
86
_connection
= connection;
604
_connection
= null;
685
_connection
= null;
19 references to _connection
System.Data (19)
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (19)
111
if ((null ==
_connection
) || (ChapterHandle.DB_NULL_HCHAPTER != chapterHandle)) { // MDAC 59629
172
&& (null == _dbSchemaTable) && (null ==
_connection
) && (null == _command)), // MDAC 59536
250
if ((0 < metadata.Length) && _useIColumnsRowset && (null !=
_connection
)) {
601
OleDbConnection con =
_connection
;
882
reader = new OleDbDataReader(
_connection
, _command, 1+Depth, _commandBehavior & ~CommandBehavior.CloseConnection);
887
if (null !=
_connection
) {
890
_connection
.AddWeakReference(reader, OleDbReferenceCollection.DataReaderTag);
1062
e = OleDbConnection.ProcessResults(hr,
_connection
, _command);
1065
e = OleDbConnection.ProcessResults(hr,
_connection
,
_connection
);
1743
Debug.Assert(null !=
_connection
, "null connection");
1793
if (null !=
_connection
) { // MDAC 67394
1794
if (ODB.DBPROPVAL_IC_SENSITIVE ==
_connection
.QuotedIdentifierCase()) {
1796
_connection
.GetLiteralQuotes(ADP.GetSchemaTable, out s, out p);
1826
if (
_connection
.SupportSchemaRowset(OleDbSchemaGuid.Primary_Keys)) {
1835
if (
_connection
.SupportSchemaRowset(OleDbSchemaGuid.Indexes)) {
1846
table =
_connection
.GetSchemaRowset(OleDbSchemaGuid.Primary_Keys, restrictions);
1897
table =
_connection
.GetSchemaRowset(OleDbSchemaGuid.Indexes, restrictions);
2013
using (OleDbDataReader dataReader = new OleDbDataReader(
_connection
, _command, Int32.MinValue, 0)) {