Skip to main content

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.v24.2.dll

Declaration

public static void RegisterDataStoreProvider(
    string providerKey,
    DataStoreCreationFromStringDelegate createFromStringDelegate
)

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the RegisterDataStoreProvider(String, DataStoreCreationFromStringDelegate) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also