Creates and hosts Diamant DAO instances, acting for them as a communication manager to call the functions of the underlying relational data store connection.
Top
Top
Top
Top
The following tables list the members exposed by the DiamantCarboniteController<TDataContext> type.
Name | Description | |
---|---|---|
DiamantCarboniteController<TDataContext> | Creates a new DiamantCarboniteController<TDataContext> instance. |
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 BaseCarboniteController). | |
DataContext | Gets the underlying data store context. (inherited from CarboniteController<TDataContext, TTransaction, TTransactionCreationParameters>). | |
HasChangeBuffer | Gets a value indicating whether the underlying data store context supports data change buffering. | |
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 BaseCarboniteController). | |
Transaction | Gets the current transactional context, if any, to the underlying data store. (inherited from CarboniteController<TDataContext, TTransaction, TTransactionCreationParameters>). |
Name | Description | |
---|---|---|
CloseDataContext | Closes the underlying data store context. (inherited from BaseCarboniteController). | |
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 CarboniteController<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 CarboniteController<TDataContext, TTransaction, TTransactionCreationParameters>). | |
Equals | (Overloaded) Determines whether the specified object is equal to the current object. (inherited from Object). | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object). | |
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 BaseCarboniteController). | |
GetDaoFor<TEntity> | Synthesizes a new Convention first Diamant DAO to manage the persistence operations of the specified entity type. If the entity type is a StrongEntity<TId> all persistence operations will be available to use, otherwise certain operations that rely on identity will throw a InvalidOperationException when called. | |
GetHashCode | Serves as the default hash function. (inherited from Object). | |
GetType | (Overloaded) Gets the Type of the current instance. (inherited from Object). | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object). | |
OnCloseDataContext | By closing the data connection represented by CarboniteController<TDataContext, TTransaction, DataContext, this inversion control method handles the request to close the underlying data store context. | |
OnConfirmChanges | By committing the current transaction in the data connection represented by CarboniteController<TDataContext, TTransaction, DataContext, this inversion control method handles the request to signal a confirm changes message to the current transactional context. | |
OnCreateCommand | By creating a new command with the data connection represented by CarboniteController<TDataContext, TTransaction, DataContext, this inversion control method handles the request to create command for the underlying relational data store. | |
OnCreateDataContext | Handles the request to create the underlying data store context. (inherited from CarboniteController<TDataContext, TTransaction, TTransactionCreationParameters>). | |
OnCreateTransaction | (Overloaded) By starting a new transaction in the data connection represented by CarboniteController<TDataContext, TTransaction, DataContext, this inversion control method handles the request to create a transaction in the underlying data store context. | |
OnDiscardChanges | By rollbacking the current transaction in the data connection represented by CarboniteController<TDataContext, TTransaction, DataContext, this inversion control method handles the request to signal a discard changes message to the current transactional context. | |
OnGet<TDao> | Handles the request to get a new instance of the requested DAO type. (inherited from BaseCarboniteController). | |
OnGetDaoFor<TEntity> | Routes a request to synthesize a new Convention first Diamant DAO to manage the persistence operations of the specified entity type. | |
OnOpenDataContext | By opening the data connection represented by CarboniteController<TDataContext, TTransaction, DataContext, this inversion control method handles the request to open the underlying data store context. | |
OnReleaseTransaction | By rollbacking and disposing the current transaction in the data connection represented by CarboniteController<TDataContext, TTransaction, DataContext, this inversion control method handles the request to release the current transactional context. | |
OnSendChanges | Handles the request to send changes message to the underlying data store context. (inherited from CarboniteController<TDataContext, TTransaction, TTransactionCreationParameters>). | |
OnStartChanges | (Overloaded) Handles the request to signal a start changes message to the underlying data store context. (inherited from CarboniteController<TDataContext, TTransaction, TTransactionCreationParameters>). | |
OpenDataContext | Opens the underlying data store context. (inherited from BaseCarboniteController). | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object). | |
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 CarboniteController<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 CarboniteController<TDataContext, TTransaction, TTransactionCreationParameters>). | |
ToString | Returns a string that represents the current object. (inherited from Object). | |
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 BaseCarboniteController). | |
WithDaoFor<TEntity> | Synthesizes a new Convention first Diamant DAO to manage the persistence operations of the specified entity type. If the entity type is a StrongEntity<TId> all persistence operations will be available to use, otherwise certain operations that rely on identity will throw a InvalidOperationException when called. |
Name | Description | |
---|---|---|
FromNullable | Converts object values to nullable relational data store values. (Defined by Object_ToNullable). | |
GetAttribute | Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes). | |
GetAttribute<TAtribute> | (Overloaded) Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes). | |
GetAttributes | Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes). | |
GetAttributes<TAtribute> | (Overloaded) Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes). | |
ToNullable<T> | Converts nullable relational data store values to Nullable<T>. (Defined by Object_ToNullable). |