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: DbDataReaderUn oggetto DbDataReader con cui la classe viene inizializzata.
command
Tipo: DbCommandUn oggetto DbCommand con cui la classe viene inizializzata.
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per altre informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.
Vedere anche
Riferimenti
Spazio dei nomi Microsoft.VisualStudio.Data.Framework.AdoDotNet