Skip to main content
All docs
V25.1
  • IDBConnectionInterceptor.ConnectionOpening(String, IDbConnection) Method

    Called just before an SQL provider intends to open a database connection with the settings specified by the connection string.

    Namespace: DevExpress.DataAccess.Sql

    Assembly: DevExpress.DataAccess.v25.1.dll

    NuGet Package: DevExpress.DataAccess

    Declaration

    void ConnectionOpening(
        string sqlDataConnectionName,
        IDbConnection connection
    )

    Parameters

    Name Type Description
    sqlDataConnectionName String

    The connection name. This value is assigned to the SqlDataSource.ConnectionName property.

    connection IDbConnection

    The open connection to a data source.

    See Also