Edytuj

Udostępnij za pośrednictwem


RelationalStorageExtensions.GetStream Method

Definition

Returns a native implementation of GetStream(Int32) for those providers which support it. Otherwise returns a chuncked read using GetBytes(Int32, Int64, Byte[], Int32, Int32).

public static System.IO.Stream GetStream (this System.Data.Common.DbDataReader reader, int ordinal, Orleans.SqlUtils.IRelationalStorage storage);
static member GetStream : System.Data.Common.DbDataReader * int * Orleans.SqlUtils.IRelationalStorage -> System.IO.Stream
<Extension()>
Public Function GetStream (reader As DbDataReader, ordinal As Integer, storage As IRelationalStorage) As Stream

Parameters

reader
DbDataReader

The reader from which to return the stream.

ordinal
Int32

The ordinal column for which to return the stream.

storage
IRelationalStorage

The storage that gives the invariant.

Returns

Applies to