NamedParameters

Description

This property governs the default behavior of the AseCommand objects associated with this connection.

Syntax

bool NamedParameters

Property value

The default value is the same as what is set on the associated AseConnection object. If this property is turned to “true” (the default on AseConnection), the Provider assumes that the user is not using parameter markers ('?') and instead using parameters by name. For example:

select total_sales from titles where title_id = @title_id

Set this property to false if you want to use parameter markers. This is compatible with ODBC and JDBC.

For example:

select total_sales from titles where title_id = ?

Access

Read-write