Connector/Net Programming
1900
•
GetSchema(String, String[])
- In this call the first string parameter represents the collection
name, and the second parameter represents a string array of restriction values. Restriction values
limit the amount of data that will be returned. Restriction values are explained in more detail in the
Microsoft .NET documentation
.
20.2.5.2.3.1. Collections
The collections can be broadly grouped into two types: collections that are common to all data
providers, and collections specific to a particular provider.
Common
The following collections are common to all data providers:
• MetaDataCollections
• DataSourceInformation
• DataTypes
• Restrictions
• ReservedWords
Provider-specific
The following are the collections currently provided by MySQL Connector/Net, in addition to the
common collections above:
• Databases
• Tables
• Columns
• Users
• Foreign Keys
• IndexColumns
• Indexes
• Foreign Key Columns
• UDF
• Views
• ViewColumns
• Procedure Parameters
• Procedures
• Triggers
Example Code
A list of available collections can be obtained using the following code:
using System;
using System.Data;
using System.Text;
using MySql.Data;
Summary of Contents for 5.0
Page 1: ...MySQL 5 0 Reference Manual ...
Page 18: ...xviii ...
Page 60: ...40 ...
Page 396: ...376 ...
Page 578: ...558 ...
Page 636: ...616 ...
Page 844: ...824 ...
Page 1234: ...1214 ...
Page 1427: ...MySQL Proxy Scripting 1407 ...
Page 1734: ...1714 ...
Page 1752: ...1732 ...
Page 1783: ...Configuring Connector ODBC 1763 ...
Page 1793: ...Connector ODBC Examples 1773 ...
Page 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Page 2850: ...2830 ...
Page 2854: ...2834 ...
Page 2928: ...2908 ...
Page 3000: ...2980 ...
Page 3122: ...3102 ...
Page 3126: ...3106 ...
Page 3174: ...3154 ...
Page 3232: ...3212 ...