Skip to main content

XPObjectSpaceProvider.GetDataStoreProvider(String, IDbConnection, Boolean) Method

Returns the data store provider.

Namespace: DevExpress.ExpressApp.Xpo

Assembly: DevExpress.ExpressApp.Xpo.v26.1.dll

NuGet Package: DevExpress.ExpressApp.Xpo

Declaration

public static IXpoDataStoreProvider GetDataStoreProvider(
    string connectionString,
    IDbConnection connection,
    bool enablePoolingInConnectionString
)

Parameters

Name Type Description
connectionString String

A string containing the database connection settings.

connection IDbConnection

An IDbConnection object specifying the database connection.

enablePoolingInConnectionString Boolean

true, if the connection pooling is enabled; otherwise, false.

Returns

Type Description
DevExpress.ExpressApp.Xpo.IXpoDataStoreProvider

An IXpoDataStoreProvider object.

Remarks

If you do not need to enable connection pooling, use another overload of this method that does not take the enablePooling parameter.

See Also