By instantiating a new TDataContext, this inversion control method handles the request to create the underlying Entity Framework data context.

Namespace: Keystone.Carbonite.Entity
Assembly: Keystone.Carbonite.Entity (in Keystone.Carbonite.Entity.dll)

protected override TDataContext 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 method.

Return Value

The underlying Entity Framework data context.

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