RelationalStorageExtensions.GetStream 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
針對支援它的提供者,傳回 的 GetStream(Int32) 原生實作。 否則會使用 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
參數
- reader
- DbDataReader
要從中傳回資料流程的讀取器。
- ordinal
- Int32
要傳回資料流程的序數資料行。
- storage
- IRelationalStorage
提供非變異的儲存體。