RelationalStorageExtensions.GetStream Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne une implémentation native de GetStream(Int32) pour les fournisseurs qui la prennent en charge. Sinon, retourne une lecture chuncked à l’aide de 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
Paramètres
- reader
- DbDataReader
Lecteur à partir duquel retourner le flux.
- ordinal
- Int32
Colonne ordinale pour laquelle retourner le flux.
- storage
- IRelationalStorage
Stockage qui donne l’invariant.