Condividi tramite


Costruttore AdoDotNetReader (DbDataReader, DbCommand)

Inizializza un'istanza con parametri della classe AdoDotNetReader a un oggetto del lettore dati ADO.NET e un oggetto comando.

Spazio dei nomi:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    reader As DbDataReader, _
    command As DbCommand _
)
public AdoDotNetReader(
    DbDataReader reader,
    DbCommand command
)
public:
AdoDotNetReader(
    DbDataReader^ reader, 
    DbCommand^ command
)
new : 
        reader:DbDataReader * 
        command:DbCommand -> AdoDotNetReader
public function AdoDotNetReader(
    reader : DbDataReader, 
    command : DbCommand
)

Parametri

  • reader
    Tipo: DbDataReader

    Un oggetto DbDataReader con cui la classe viene inizializzata.

  • command
    Tipo: DbCommand

    Un oggetto DbCommand con cui la classe viene inizializzata.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

AdoDotNetReader Classe

Overload AdoDotNetReader

Spazio dei nomi Microsoft.VisualStudio.Data.Framework.AdoDotNet