|
|
|
|
|
PROPERTY: |
|
|
|
prepared |
|
|
|
|
|
|
|
DESCRIPTION: |
|
|
|
Indicates whether to save a compiled version of a command before execution. |
||
|
|
|
|
|
PROPERTY OF: |
|
|
|
|
||
|
|
||
|
|
||
|
|
||
|
|
|
|
|
|
||
|
DEFAULT VALUE: |
|
|
|
false |
|
|
|
|
|
|
|
DESCRIPTION: |
|
|
|
Use the prepared property to have the provider save a prepared (or compiled) version of the data object command before a object's first execution (opened and retrieved rows). |
||
|
This may slow a command's first execution, but once the provider compiles a command, the provider will use the compiled version of the command for any subsequent executions, |
||
|
which will result in improved performance. |
||
|
|
||
|
If the provider does not support command preparation, it may return an error as soon as this property is set to true. |
||
|
If it does not return an error, it simply ignores the request to prepare the command and sets the prepared property to false. |
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
|
|