ODAC (V9.5.15) study notes (13) Torametadata

Source: Internet
Author: User

To get the Oracle database object information through the Torametadata control, you first need to set the Metadatakind property, set the Restrictions property setting condition, and finally get the information by activating the dataset, the demo code is as follows:

Metadata.connection: = Connection;
Metadata.metadatakind: = ' Columns ';
metadata.restrictions.values[' table_name ': = ' Emp ';

Component members are:

name

metadatakind

string

Specify the data object type, including:

columns

indexcolumns

indexes

metadatakinds

procedureparameters

procedures

restrictions

tables

databases

Restrictions

TStrings

Specifying data Object Query criteria

Getmetadatakinds

You can get a list of data object types

Getrestrictions

Gets a list of query criteria for the specified data object type

Odac (V9.5.15) Learning Note (13) Torametadata

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.