SnapDAL Library Documentation

DataFactory.CreateDataAdapter Method 

Setup a data adapter with the given sql statements. These statements are ex

public IDbDataAdapter CreateDataAdapter(
   string selectStatementName,
   string insertStatementName,
   string updateStatementName,
   string deleteStatementName,
   IDbTransaction transaction
);

Parameters

selectStatementName
Name of the select statement
insertStatementName
Name of the insert statement
updateStatementName
Name of the update statement
deleteStatementName
Name of the delete statement
transaction
the optional transaction to use with this DataAdapter

Return Value

IDbDataAdapter setup by the provider of this DataFactory

Implements

IDataLayer.CreateDataAdapter

See Also

DataFactory Class | SnapDAL Namespace