Freigeben über


AdoDotNetReader-Konstruktor (DbDataReader, DbCommand)

Initialisiert eine parametrisierte Instanz der AdoDotNetReader-Klasse mit einem ADO.NET Datenreaderobjekt und einem Befehlsobjekt.

Namespace:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
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
)

Parameter

  • reader
    Typ: DbDataReader

    Ein DbDataReader-Objekt, mit dem die Klasse initialisiert wird.

  • command
    Typ: DbCommand

    Ein DbCommand-Objekt, mit dem die Klasse initialisiert wird.

.NET Framework-Sicherheit

Siehe auch

Referenz

AdoDotNetReader Klasse

AdoDotNetReader-Überladung

Microsoft.VisualStudio.Data.Framework.AdoDotNet-Namespace