RelationalStorageExtensions.GetStream Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.