.NET Standard 2.0+
.NET Framework 4.5.2+
.NET Standard 2.0+

XpoDefault.GetConnectionProvider Method

Name Parameters Description
GetConnectionProvider(AutoCreateOption) static defaultAutoCreateOption Creates a data store provider (an IDataStore instance).
GetConnectionProvider(IDbConnection, AutoCreateOption) static connection, autoCreateOption Creates a data store provider (an IDataStore instance).
GetConnectionProvider(String, AutoCreateOption) static connectionString, defaultAutoCreateOption Creates a data store provider (an IDataStore instance).
GetConnectionProvider(String, AutoCreateOption, out IDisposable[]) static connectionString, defaultAutoCreateOption, objectsToDisposeOnDisconnect Creates a data store provider (an IDataStore instance).