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

'宣言
Public Sub New ( _
    reader As DbDataReader, _
    command As DbCommand _
)
'使用
Dim reader As DbDataReader
Dim command As DbCommand

Dim instance As New AdoDotNetReader(reader, _
    command)
public AdoDotNetReader(
    DbDataReader reader,
    DbCommand command
)
public:
AdoDotNetReader(
    DbDataReader^ reader, 
    DbCommand^ command
)
public function AdoDotNetReader(
    reader : DbDataReader, 
    command : DbCommand
)

Parameters

Permissions

See Also

Reference

AdoDotNetReader Class

AdoDotNetReader Members

AdoDotNetReader Overload

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace