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

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

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

Parameters

dataContextCreationArguments

Type: DataContextCreationArgument[]

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

Return Value

The new SqlConnection.

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

Others

Xamarin, Mono