EntityDAC

TEntityConnection.ExecuteCursor Method

Executes a Cursor directly in the database.

Class

TEntityConnection

Syntax

function ExecuteCursor(const SQL: string; Params: TEDParams = nil): IEDCursor; overload;

Parameters
SQL
Specifies the Cursor to be executed.
Params
Specifies the collection of the statement parameters.

Remarks

Call the ExecuteCursor method to execute a Cursor directly in the database. Supply the Params collection with the parameters accordingly to the ones in the Cursor which itself is passed in the SQL string parameter. The TSQLStatement.Params array must contain all IN and OUT parameters defined in the Cursor. For OUT parameters provide any values of valid types so that they are explicitly defined before call to the method.

See Also

© 1997-2017 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback