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