AdoDotNetReader, constructeur (DbDataReader, DbCommand)

Initialise une instance paramétrable de la classe AdoDotNetReader avec un objet lecteur de données de ADO.NET et un objet de commande.

Espace de noms :  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly :  Microsoft.VisualStudio.Data.Framework (dans Microsoft.VisualStudio.Data.Framework.dll)

Syntaxe

'Déclaration
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
)

Paramètres

  • reader
    Type : DbDataReader

    Objet DbDataReader avec lequel la classe est initialisée.

  • command
    Type : DbCommand

    Objet DbCommand avec lequel la classe est initialisée.

Sécurité .NET Framework

Voir aussi

Référence

AdoDotNetReader Classe

AdoDotNetReader, surcharge

Microsoft.VisualStudio.Data.Framework.AdoDotNet, espace de noms