Creates a new EntityCarboniteController<TDataContext> instance.
Namespace:
Keystone.Carbonite.Entity
Assembly: Keystone.Carbonite.Entity (in Keystone.Carbonite.Entity.dll)
Assembly: Keystone.Carbonite.Entity (in Keystone.Carbonite.Entity.dll)
public EntityCarboniteController(
string connectionString,
bool persistChangesPerOperation = true,
bool closeDataContextOnChangesConfirmation = false,
params DataContextCreationArgument[] dataContextCreationArguments
)
This language is not supported or no code example is available.
Parameters
- connectionString
-
Type: string
The connection string.
- persistChangesPerOperation
-
Type: bool
if set to true the data changes will commit every time a persistence method of a DAO is successfully executed.
- closeDataContextOnChangesConfirmation
-
Type: bool
- dataContextCreationArguments
-
Type: DataContextCreationArgument[]
The data context creation arguments to pass to the OnCreateDataContext(DataContextCreationArgument[]) 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.