Skip to main content

DataStoreBase.RegisterDataStoreProvider(String, DataStoreCreationFromConnectionDelegate) Method

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

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Data.v22.2.dll

NuGet Package: DevExpress.Data


public static void RegisterDataStoreProvider(
    string connectionTypeShortName,
    DataStoreCreationFromConnectionDelegate createFromConnectionDelegate


Name Type Description
connectionTypeShortName String

A String specifying a connection type name, including a namespace. For instance, the MSSqlConnectionProvider defines this parameter as “System.Data.SqlClient.SqlConnection”.

createFromConnectionDelegate DevExpress.Xpo.DB.Helpers.DataStoreCreationFromConnectionDelegate

A DataStoreCreationFromConnectionDelegate delegate to be called when the data store provider is created and connected to a database using a connection of the specified type.

See Also