By creating a new MySqlConnection, this inversion control method handles the request to create the underlying data store context.

Namespace: Keystone.Carbonite.Diamant.MySql
Assembly: Keystone.Carbonite.Diamant.MySql (in Keystone.Carbonite.Diamant.MySql.dll)

protected override MySqlConnection OnCreateDataContext( 
DataContextCreationArgument[] dataContextCreationArguments 
This language is not supported or no code example is available.



Type: DataContextCreationArgument[]

The data context creation arguments received from the CarboniteController<TDataContext, TTransaction, Boolean, Boolean, DataContextCreationArgument[]) method.

Return Value

The new MySqlConnection.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6


Xamarin, Mono