Back to Devexpress

FirebirdConnectionProvider Class

xpo-devexpress-dot-xpo-dot-db-7b75dda6.md

latest2.8 KB
Original Source

FirebirdConnectionProvider Class

Implements data-aware operations for working with a Firebird database.

Namespace : DevExpress.Xpo.DB

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public class FirebirdConnectionProvider :
    ConnectionProviderSql
vb
Public Class FirebirdConnectionProvider
    Inherits ConnectionProviderSql

Remarks

The FirebirdConnectionProvider class implements data-aware operations for working with Firebird databases. In most cases, there is no need to create connection providers explicitly, as they are created automatically by a Session object based upon a connection string.

To connect to a specific Firebird database, you can generate a connection string via the static FirebirdConnectionProvider.GetConnectionString method. This connection string will contain information on the provider ( FirebirdConnectionProvider ) that will be used to work with the database. Supply this connection string to a Session object (for instance, via the Session.ConnectionString or XpoDefault.ConnectionString property). When a connection to a database is to be established, the session will create a corresponding connection provider based upon the connection string and then perform all data-aware operations using this connection provider.

There are also cases when you need to create a connection provider explicitly via its constructor, for instance:

  • When sharing a single IDataLayer object between multiple sessions, a connection provider should be passed to the data layer’s constructor. See the IDataLayer topic for additional information.
  • When manually maintaining a connection pool.

Inheritance

Object MarshalByRefObject DevExpress.Xpo.DB.DataStoreSerializedBase DataStoreBase ConnectionProviderSql FirebirdConnectionProvider

See Also

FirebirdConnectionProvider Members

DevExpress.Xpo.DB Namespace