DataStoreBase.QueryDataStore(String, String, AutoCreateOption, out IDisposable[]) Method
Creates a data store based on specified settings.
Namespace: DevExpress.Xpo.DB
Assembly: DevExpress.Data.v24.2.dll
NuGet Package: DevExpress.Data
#Declaration
public static IDataStore QueryDataStore(
string providerType,
string connectionString,
AutoCreateOption defaultAutoCreateOption,
out IDisposable[] objectsToDisposeOnDisconnect
)
#Parameters
Name | Type | Description |
---|---|---|
provider |
String | A String specifying the provider type. Normally, each provider returns its type via the Xpo |
connection |
String | The connection string which is used to instantiate a connection provider. |
default |
Auto |
An Auto |
objects |
IDisposable[] | An array of objects that implement the System. |
#Returns
Type | Description |
---|---|
IData |
A data store implementing the IData |