FireDAC.Comp.Client.TFDMetaInfoCommand.BaseObjectName
Delphi
property BaseObjectName: string read FBaseObjectName write SetBaseObjectName default 0;
C++
__property BaseObjectName = {default=0};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | published | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDMetaInfoCommand |
Description
Identifies the name of the base object for some of command kinds. {{#multireplace:FireDAC.Comp.Client.TFDMetaInfoCommand.BaseObjectName|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FireDAC.Comp.Client.TFDCustomCommand.BaseObjectName|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:FireDAC.Comp.Client.TFDCustomCommand.BaseObjectName|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Identifies the name of the base object for some of command kinds.
BaseObjectName identifies the name of the base object. The meaning depends on CommandKind and MetaInfoKind:
- If CommandKind is in
[skStoredProc, skStoredProcWithCrs, skStoredProcNoCrs], then BaseObjectName specifies the name of the package, if the procedure is a packaged procedure. - If MetaInfoKind is in
[mkIndexFields, mkPrimaryKeyFields, mkForeignKeyFields], then BaseObjectName specifies the name of the table. - If MetaInfoKind is in
[mkProcs, mkProcArgs], then BaseObjectName specifies the name of the package.
Example
ADCommand1.BaseObjectName := 'MY_PACK';
ADCommand1.CommandText.Text := 'PROC1';
// or just ADCommand1.CommandText.Text := 'MY_PACK.PROC1';
ADCommand1.CommandKind := skStoredProc;
ADCommand1.Prepare;
ADCommand1.Params[0].AsInteger := 100;
ADCommand1.Params[1].AsString := 'Delphi';
ADCommand1.Execute;