Initializes a parameterized instance of the AdoDotNetReader class with an ADO.NET data reader 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 _
)
'使用
Dim reader As DbDataReader
Dim instance As New AdoDotNetReader(reader)
public AdoDotNetReader(
DbDataReader reader
)
public:
AdoDotNetReader(
DbDataReader^ reader
)
public function AdoDotNetReader(
reader : DbDataReader
)
Parameters
reader
Type: System.Data.Common.DbDataReaderA DbDataReader object with which the class is initialized.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.