Show / Hide Table of Contents

GetAdapter(IDbConnection) Method

The database connection this adapter should use when performing database operations

Gets a database type-specific DbDataAdapter instance for this provider type (i.e. SqlDataAdapter for MSSQL) initialized to use the specified connection to the database.

Syntax

'Declaration

Public Overloads MustOverride Function GetAdapter( _
   ByVal _conn_ As IDbConnection _
) As DbDataAdapter
public abstract DbDataAdapter GetAdapter( 
   IDbConnection _conn_
)

Parameters

conn

The database connection this adapter should use when performing database operations

Return Value

A DbDataAdapter instance for this provider type (i.e. SqlDataAdapter for MSSQL), initialized to use the specified connection

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family

Reference

DbProvider Class
DbProvider Members
Overload List

Back to top © 2022 Dovetail Software, Inc. - All rights reserved.
Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
.NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.