ICmdBuilder

ICmdBuilder allows the implementation of command builders based on s.

Namespace:
KpokPatagon.Data.Query
Type:
Interface
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
Yes
Implements:
KpokPatagon.Data.Query.ICmdBuilder

Methods

BuildCommand

Builds and returns the IDbCommand to execute.

Signature:
public IDbCommand BuildCommand(statement)
Returns

The IDbCommand to excecute against the database engine.

Parameters
Name Type Summary
statement TStatement The statement to build the command from.

BuildCommandText

Builds the command text for the SQL commnad.

Signature:
public String BuildCommandText(statement, command)
Returns

The command text to execute against the database engine.

Parameters
Name Type Summary
statement TStatement The statement to build the command from.
command IDbCommand The command beeing built to add parameters to (optional).