Partager via


AdoDotNetReader Constructor (DbDataReader, DbCommand)

Initializes a parameterized instance of the AdoDotNetReader class with an ADO.NET data reader object and a command object.

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
)

Parameters

.NET Framework Security

See Also

Reference

AdoDotNetReader Class

AdoDotNetReader Overload

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace