2 instantiations of StreamDataFeed
System.Data (2)
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (1)
855
return new
StreamDataFeed
(_DbDataReaderRowSource.GetStream(sourceOrdinal));
fx\src\data\System\Data\SqlClient\SqlParameter.cs (1)
967
value = new
StreamDataFeed
((Stream)value);
10 references to StreamDataFeed
System.Data (10)
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (1)
221
else if (value.GetType() == typeof(
StreamDataFeed
))
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (2)
1632
case ExtendedClrTypeCode.Stream: SetStream_Unchecked(sink, setters, ordinal, metaData, (
StreamDataFeed
) value); break;
3222
private static void SetStream_Unchecked(SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, SmiMetaData metadata,
StreamDataFeed
feed) {
fx\src\data\System\Data\SqlClient\SqlParameter.cs (3)
1009
if (value is
StreamDataFeed
) {
1013
Stream sourceStream = ((
StreamDataFeed
)value)._source;
1028
((
StreamDataFeed
)value)._source.CopyTo(ms);
fx\src\data\System\Data\SqlClient\TdsParser.cs (4)
9580
((metatype.SqlDbType == SqlDbType.VarBinary && value is
StreamDataFeed
) ||
10454
private async Task WriteStreamFeed(
StreamDataFeed
feed, TdsParserStateObject stateObj, int len) {
10534
Debug.Assert(!isDataFeed || value is
StreamDataFeed
, "Value should be a stream");
10538
return NullIfCompletedWriteTask(WriteStreamFeed((
StreamDataFeed
)value, stateObj, paramSize));