Hide

YetaWF.DataProvider.PostgreSQL Package Documentation

Display
Print

YetaWF.DataProvider.PostgreSQL.IPostgreSQLTableInfo Interface

This interface is implemented by the PostgreSQL low-level data provider and can be used by application data providers to gain access to PostgreSQL specific information.

Namespace: YetaWF.DataProvider.PostgreSQL
Assembly: YetaWF.DataProvider.PostgreSQL

Syntax

public interface IPostgreSQLTableInfo;

Methods

PublicEnsureOpenAsyncOpens the underlying database. This call is required if the data provider is only used to execute SQL statements directly.
PublicGetConnectionStringReturns the PostgreSQL connection string used by the data provider.
PublicGetDatabaseNameReturns the database name used by the data provider.
PublicGetSchemaReturns the database owner used by the data provider.
PublicGetTableNameReturns the table name used by the data provider.
PublicReplaceWithLanguageReplaces search text in a PostgreSQL string fragment with the language used by the data provider.
PublicReplaceWithTableNameReplaces search text in a PostgreSQL string fragment with the table name used by the data provider.

Remarks

An application data provider using this interface is then of course limited to PostgreSQL.

This is typically used by application data providers to generate specialized queries that would not be possible with the built in data provider.

See Also YetaWF.DataProvider.PostgreSQLYetaWF.Core