RAD Studio VCL Reference
|
Copies a stored procedure's parameters into another parameter list.
procedure CopyParams(Value: TParams);
__fastcall CopyParams(TParams Value);
Call CopyParams to copy this stored procedure's parameters into a separate parameter list object. Value is the parameter list into which to assign this stored procedure's parameters. Value can be the parameter list of another stored procedure. For example:
TStoredProc1.CopyParams(TStoredProc2.Params);
StoredProc1->CopyParams(StoredProc2->Params);
If the stored procedure is not prepared when an application calls CopyParams, CopyParams calls Prepare before assigning the parameters to the target parameters list, and then calls UnPrepare to return the stored procedure to its previous state.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|