When you call DbConnection.GetSchema you give it the string name of a collection you are interested in. I can’t find a list of collections anywhere. Is the list of collections immutable or does it vary by database type (orcle, sql server, etc.)?
I’m interested in getting a list of all collection names in a few database types such as sql server, and sqlite.
I use an OleDbConnection even if I’m connecting with Oracle, Sql Server… Then I can use:
Possible values for OleDbSchemaGuid:
(note that depending of the database some of these can throw a NotSupported Exception: