SnapDAL Library Documentation

Provider.CreateCommand Method 

Create a command for this provider. In this version, the actual sql is used instead of a statement name

public virtual IDbCommand CreateCommand(
   string cmdText,
   IDbConnection connection
);

Parameters

cmdText
Sql to execute
connection
the Connection object to setup this Command with

Return Value

See Also

Provider Class | SnapDAL Namespace