The parameter object is TDataGatewayEventParameter of which the
{@link TDataGatewayEventParameter::getCommand Command} property can be
inspected to obtain the sql query to be executed.
This method also raises the OnCreateCommand event on the ActiveRecord
object calling this gateway.