Skip to content

Commit 0aa619d

Browse files
committed
Add Schema Collections to documentation.
1 parent c0768e0 commit 0aa619d

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
date: 2021-04-24
3+
menu:
4+
main:
5+
parent: getting started
6+
title: Schema Collections
7+
customtitle: "Supported Schema Collections"
8+
weight: 80
9+
---
10+
11+
# Supported Schema Collections
12+
13+
`DbConnection.GetSchema` retrieves schema information about the database that is currently connected. For background, see MSDN on [GetSchema and Schema Collections](https://docs.microsoft.com/en-us/dotnet/framework/data/adonet/getschema-and-schema-collections) and [Common Schema Collections](https://docs.microsoft.com/en-us/dotnet/framework/data/adonet/common-schema-collections).
14+
15+
`MySqlConnection.GetSchema` supports the following schemas:
16+
17+
* `MetaDataCollections`—information about available schemas
18+
* `CharacterSets`
19+
* `Collations`
20+
* `CollationCharacterSetApplicability`
21+
* `Columns`
22+
* `Databases`
23+
* `DataTypes`—information about available data types
24+
* `Engines`
25+
* `KeyColumnUsage`
26+
* `KeyWords`
27+
* `Parameters`
28+
* `Partitions`
29+
* `Plugins`
30+
* `Procedures`—information about stored procedures
31+
* `ProcessList`
32+
* `Profiling`
33+
* `ReferentialConstraints`
34+
* `ReservedWords`—information about reserved words in the server's SQL syntax
35+
* `ResourceGroups`
36+
* `SchemaPrivileges`
37+
* `Tables`
38+
* `TableConstraints`
39+
* `TablePrivileges`
40+
* `TableSpaces`
41+
* `Triggers`
42+
* `UserPrivileges`
43+
* `Views`
44+
45+
The `GetSchema(string, string[])` overload that specifies restrictions is not supported.

0 commit comments

Comments
 (0)