Hide

YetaWF.DataProvider.SQL Package Documentation

Display
Print

YetaWF.DataProvider.SQL.ISQLTableInfo Interface

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

Namespace: YetaWF.DataProvider.SQL
Assembly: YetaWF.DataProvider.SQL

Syntax

public interface ISQLTableInfo;

Methods

PublicEnsureOpenAsyncOpens the underlying database. This call is required if the data provider is only used to execute SQL statements directly.
PublicGetConnectionStringReturns the SQL connection string used by the data provider.
PublicGetDatabaseNameReturns the database name used by the data provider.
PublicGetDbOwnerReturns the database owner used by the data provider.
PublicGetTableNameReturns the table name used by the data provider.
PublicReplaceWithLanguageReplaces search text in a SQL string fragment with the language used by the data provider.
PublicReplaceWithTableNameReplaces search text in a SQL 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 SQL.

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.SQLYetaWF.Core