Back to Devexpress

XPObjectSpaceProviderOptions.EnablePoolingInConnectionString Property

expressappframework-devexpress-dot-expressapp-dot-applicationbuilder-dot-xpobjectspaceprovideroptions-c615839b.md

latest2.1 KB
Original Source

XPObjectSpaceProviderOptions.EnablePoolingInConnectionString Property

Specifies whether XPO Data Store Pooling is enabled.

Namespace : DevExpress.ExpressApp.ApplicationBuilder

Assembly : DevExpress.ExpressApp.Xpo.v25.2.dll

NuGet Package : DevExpress.ExpressApp.Xpo

Declaration

csharp
public bool EnablePoolingInConnectionString { get; set; }
vb
Public Property EnablePoolingInConnectionString As Boolean

Property Value

TypeDescription
Boolean

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

|

Remarks

When XAF creates a Data Store, it checks this property value. If true, XAF uses the GetConnectionPoolString(String) method to add pooling parameters to the initial connection string.

This option has no effect if you specify the UseCustomDataStoreProvider(IXpoDataStoreProvider) option and use a custom data store provider.

See Also

XPObjectSpaceProviderOptions Class

XPObjectSpaceProviderOptions Members

DevExpress.ExpressApp.ApplicationBuilder Namespace