Creates a new CarboniteController<TDataContext, TTransaction, TTransactionCreationParameters> instance.

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

public BaseCarboniteController( 
bool persistChangesPerOperation
bool closeDataContextOnChangeConfirmation 
)
This language is not supported or no code example is available.

Parameters

persistChangesPerOperation

Type: bool

if set to true the data changes will commit every time a persistence method of a DAO is successfully executed.

closeDataContextOnChangeConfirmation

Type: bool

if set to true the underlying data store context will be closed after successfully calling the ConfirmChanges method.

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