Creates DatabaseProvider instances to access a database.

Methods

Name

Description

DatabaseProvider ForDatabase(string databaseName)

Returns a database provider for a given database catalog or schema. Use it to access data managed by applications that are configured to use this database.

DatabaseProvider ForExternalDatabase(string connectionName)

Returns a database provider for a specific external database connection. Use it to access data managed by external systems.

DatabaseProvider ForRunningApplication()

Returns a database provider to access the database of the currently running application. Use it to access data managed by the currently running application, or other applications sharing the same database.

DatabaseProvider ForSystemDatabase()

Returns a database provider to access the system database. Use it to query the platform metamodel.

Methods

Name

Description

DatabaseProvider forDatabase(String databaseName)

Returns a database provider for a given database catalog or schema. Use it to access data managed by applications that are configured to use this database.

DatabaseProvider forExternalDatabase(String connectionName)

Returns a database provider for a specific external database connection. Use it to access data managed by external systems.

DatabaseProvider forRunningApplication()

Returns a database provider to access the database of the currently running application. Use it to access data managed by the currently running application, or other applications sharing the same database.

DatabaseProvider forSystemDatabase()

Returns a database provider to access the system database. Use it to query the platform metamodel.

See Also

Overview of RuntimePublic.Db API | About APIs