8 writes to _SqlDataReaderRowSource
System.Data (8)
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (8)
1478
_SqlDataReaderRowSource
= reader as SqlDataReader;
1507
_SqlDataReaderRowSource
= _rowSource as SqlDataReader;
1543
_SqlDataReaderRowSource
= null;
1580
_SqlDataReaderRowSource
= null;
1630
_SqlDataReaderRowSource
= null;
1661
_SqlDataReaderRowSource
= reader as SqlDataReader;
1693
_SqlDataReaderRowSource
= _rowSource as SqlDataReader;
1732
_SqlDataReaderRowSource
= null;
23 references to _SqlDataReaderRowSource
System.Data (23)
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (23)
687
if (null !=
_SqlDataReaderRowSource
&& metadata.collation != null) {
691
int sourceLcid =
_SqlDataReaderRowSource
.GetLocaleId(sourceColumnId);
693
throw SQL.BulkLoadLcidMismatch(sourceLcid,
_SqlDataReaderRowSource
.GetName(sourceColumnId), destinationLcid, metadata.column);
861
Debug.Assert(
_SqlDataReaderRowSource
!= null, "Should not be reading row as an XmlReader if bulk copy source is not a SqlDataReader");
862
return new XmlDataFeed(
_SqlDataReaderRowSource
.GetXmlReader(sourceOrdinal));
873
else if (null !=
_SqlDataReaderRowSource
) {
880
value =
_SqlDataReaderRowSource
.GetSqlDecimal(sourceOrdinal);
883
value = new SqlDecimal(
_SqlDataReaderRowSource
.GetSqlDouble(sourceOrdinal).Value);
886
value = new SqlDecimal(
_SqlDataReaderRowSource
.GetSqlSingle(sourceOrdinal).Value);
890
value = (INullable)
_SqlDataReaderRowSource
.GetSqlValue(sourceOrdinal);
901
object value =
_SqlDataReaderRowSource
.GetValue(sourceOrdinal);
921
if ((_enableStreaming) && (
_SqlDataReaderRowSource
== null) && (rowSourceAsIDataReader.IsDBNull(sourceOrdinal))) {
1069
if (((
_SqlDataReaderRowSource
!= null) || (_dataTableSource != null)) && ((metadata.metaType.NullableType == TdsEnums.SQLDECIMALN) || (metadata.metaType.NullableType == TdsEnums.SQLNUMERICN))) {
1076
t =
_SqlDataReaderRowSource
.GetFieldType(sourceOrdinal);
1109
if (
_SqlDataReaderRowSource
!= null) {
1111
MetaType mtSource =
_SqlDataReaderRowSource
.MetaData[sourceOrdinal].metaType;
1114
if ((metadata.type == SqlDbType.VarBinary) && (mtSource.IsBinType) && (mtSource.SqlDbType != SqlDbType.Timestamp) &&
_SqlDataReaderRowSource
.IsCommandBehavior(CommandBehavior.SequentialAccess)) {
1479
if (
_SqlDataReaderRowSource
!= null) {
1480
_rowSourceIsSqlDataReaderSmi =
_SqlDataReaderRowSource
is SqlDataReaderSmi;
1508
if (
_SqlDataReaderRowSource
!= null) {
1509
_rowSourceIsSqlDataReaderSmi =
_SqlDataReaderRowSource
is SqlDataReaderSmi;
1986
if ((
_SqlDataReaderRowSource
!= null) && (_connection.IsKatmaiOrNewer)) {
1987
variantInternalType =
_SqlDataReaderRowSource
.GetVariantInternalStorageType(_sortedColumnMappings[col]._sourceColumnOrdinal);