FCFL.NET Common Library - API Reference
GetAdapter(IDbConnection,String) Method

The database connection this adapter should use when performing database operations
The SQL statement to use as the SELECT command for this adapter
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 and the specified SQL statement to execute.
Syntax
'Declaration
 
Public Overloads MustOverride Function GetAdapter( _
   ByVal conn As IDbConnection, _
   ByVal sqlStmt As String _
) As DbDataAdapter
public abstract DbDataAdapter GetAdapter( 
   IDbConnection conn,
   string sqlStmt
)

Parameters

conn
The database connection this adapter should use when performing database operations
sqlStmt
The SQL statement to use as the SELECT command for this adapter

Return Value

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

Requirements

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

See Also

Reference

DbProvider Class
DbProvider Members
Overload List

 

 


© 2010 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.

Send comments on this topic.