6 references to Command
System.Data (6)
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (1)
297
return base.
Command
.InternalRecordsAffected;
fx\src\data\System\Data\SqlClient\SqlReferenceCollection.cs (1)
43
return FindItem<SqlDataReader>(DataReaderTag, (dataReader) => ((!dataReader.IsClosed) && (command == dataReader.
Command
)));
fx\src\data\System\Data\SqlClient\SqlSequentialStream.cs (3)
28
if ((reader.
Command
!= null) && (reader.
Command
.CommandTimeout != 0))
30
_readTimeout = (int)Math.Min((long)reader.
Command
.CommandTimeout * 1000L, (long)Int32.MaxValue);
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (1)
364
Debug.Assert(value == null || !_owner.IsAlive || ((value is SqlDataReader) && (((SqlDataReader)value).
Command
== _owner.Target)), "Should not be changing the owner of an owned stateObj");