The behavioral contract of any Carbonite controller whose purpose is to create and host Diamant DAO instances, acting for them as a communication manager to call the functions of the underlying
relational data store connection.
Top
Top
The following tables list the members exposed by the IDiamantCarboniteController<TDataContext> type.
| Name | Description | |
|---|---|---|
|
CloseDataContextOnChangesConfirmation | Gets a value indicating whether the current Carbonite controller must close the underlying data store context after successfully calling the ConfirmChanges method. (inherited from ICarboniteController<TDataContext, TTransaction, TTransactionCreationParameters>). |
|
PersistChangesPerOperation | Gets a value indicating whether the current Carbonite controller must commit data changes every time a persistence method of a DAO is successfully called. (inherited from ICarboniteController<TDataContext, TTransaction, TTransactionCreationParameters>). |
|
Transaction | Gets the current transactional context, if any, to the underlying data store. (inherited from ICarboniteController<TDataContext, TTransaction, TTransactionCreationParameters>). |
| Name | Description | |
|---|---|---|
|
CloseDataContext | Closes the underlying data store context. (inherited from ICarboniteController<TDataContext, TTransaction, TTransactionCreationParameters>). |
|
ConfirmChanges | Signals a confirm changes message to the current transactional context. This method will effectively apply into the underlying data store the changes retained in the transaction . (inherited from ICarboniteController<TDataContext, TTransaction, TTransactionCreationParameters>). |
|
CreateCommand | Routes a command creation request for the underlying relational data store. |
|
DiscardChanges | Signals a discard changes message to the current transactional context. This method will discard the changes retained in the transaction. (inherited from ICarboniteController<TDataContext, TTransaction, TTransactionCreationParameters>). |
|
Get<TDao> | Gets an instance of the requested DAO type. If that type has been previously requested, the same instance is served, otherwise a new instance is created. (inherited from ICarboniteController<TDataContext, TTransaction, TTransactionCreationParameters>). |
|
OpenDataContext | Opens the underlying data store context. (inherited from ICarboniteController<TDataContext, TTransaction, TTransactionCreationParameters>). |
|
SendChanges | Signals a send changes message to the underlying data store context. This method will flush the change buffer and effectively apply those changes into the data store. (inherited from ICarboniteController<TDataContext, TTransaction, TTransactionCreationParameters>). |
|
StartChanges | (Overloaded) Signals a start changes message to the underlying data store context. This method sets the value of the Transaction property. (inherited from ICarboniteController<TDataContext, TTransaction, TTransactionCreationParameters>). |
|
With<TDao> | Gets an instance of the requested DAO type to be used for a single operation. If that type has been previously requested, the same instance is served, otherwise a new instance is created. (inherited from ICarboniteController<TDataContext, TTransaction, TTransactionCreationParameters>). |