DataStoreBase.RegisterDataStoreProvider(String, DataStoreCreationFromStringDelegate) Method

Registers a data store provider using a specified name and a procedure that establishes a connection for the provider.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Data.v20.1.dll

Declaration

public static void RegisterDataStoreProvider(
    string providerKey,
    DataStoreCreationFromStringDelegate createFromStringDelegate
)
Public Shared Sub RegisterDataStoreProvider(
    providerKey As String,
    createFromStringDelegate As DataStoreCreationFromStringDelegate
)

Parameters

Name Type Description
providerKey String

A String that uniquely identifies a data store provider.

createFromStringDelegate DevExpress.Xpo.DB.Helpers.DataStoreCreationFromStringDelegate

A DataStoreCreationFromStringDelegate delegate to be called when the data store provider is created and connected to a database using a connection string.

See Also