Partager via


AdoDotNetSchemaReader, constructeur (DbDataReader, DbCommand)

Initialise une nouvelle instance de la classe AdoDotNetSchemaReader avec un objet lecteur de données et un objet de commande de données.

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 AdoDotNetSchemaReader(
    DbDataReader reader,
    DbCommand command
)
public:
AdoDotNetSchemaReader(
    DbDataReader^ reader, 
    DbCommand^ command
)
new : 
        reader:DbDataReader * 
        command:DbCommand -> AdoDotNetSchemaReader
public function AdoDotNetSchemaReader(
    reader : DbDataReader, 
    command : DbCommand
)

Paramètres

  • reader
    Type : DbDataReader

    Objet DbDataReader contenant le jeu de résultats et le schéma.

  • command
    Type : DbCommand

    Objet DbCommand encapsulant la commande a exécuté pour la source de données, qui permet à l'implémentation de la méthode Terminate à appeler CancelAsync sur la commande.

Sécurité .NET Framework

Voir aussi

Référence

AdoDotNetSchemaReader Classe

AdoDotNetSchemaReader, surcharge

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