FireDAC.Comp.Client.TFDMetaInfoQuery.ObjectName

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property ObjectName: String read GetObjectName write SetObjectName;

C++

__property System::UnicodeString ObjectName = {read=GetObjectName, write=SetObjectName};

Properties

Type Visibility Source Unit Parent
property published
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
FireDAC.Comp.Client TFDMetaInfoQuery

Description

Gets / Sets the name of the object to get detailed information about.

The ObjectName property value defines the database objects for which detailed information will be returned. The meaning, optionality and usage of the catalog and schema names depend on MetaInfoKind:

MetaInfoKind

Meaning

Catalog and schema names

mkTableFields

Table name

Applicable

mkIndexes

Table name

Applicable

mkIndexFields

Index name

--

mkPrimaryKey

Table name

Applicable

mkForeignKeys

Table name

Applicable

mkForeignKeyFields

Foreign key constraint name

--

mkProcArgs

Stored procedure name

Applicable for non-packages stored procedures

The ObjectName together with CatalogName and SchemaName may constitute the full object name. If the current DBMS session "sees" several objects with the same name, but in different catalogs and/or schema, then we strongly suggest to specify CatalogName and/or SchemaName property values to explicitly limit the list of objects. If the object name is case sensitive or contains special characters, then it must be explicitly quoted. 

Assigning a value to this property closes the dataset.

See Also