Creates and hosts Carbonite DAO instances, acting for them as a communication manager to call the functions of the underlying data store context.

The following tables list the members exposed by the CarboniteController<TDataContext, TTransaction, TTransactionCreationParameters> type.

Name Description
Public property 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).
Public property DataContext Gets the underlying data store context.
Protected property HasChangeBuffer Gets a value indicating whether the underlying data store context supports data change buffering. (inherited from BaseCarboniteController).
Public property 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).
Public property Transaction Gets the current transactional context, if any, to the underlying data store.
Top
Name Description
Public method CloseDataContext Closes the underlying data store context. (inherited from BaseCarboniteController).
Public method 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 .
Public method DiscardChanges Signals a discard changes message to the current transactional context. This method will discard the changes retained in the transaction.
Public method Equals (Overloaded) Determines whether the specified object is equal to the current object. (inherited from Object).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method 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).
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Public method GetType (Overloaded) Gets the Type of the current instance. (inherited from Object).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Protected method OnCloseDataContext Handles the request to close the underlying data store context. (inherited from BaseCarboniteController).
Protected method OnConfirmChanges Handles the request to signal a confirm changes message to the current transactional context.
Protected method OnCreateDataContext Handles the request to create the underlying data store context.
Protected method OnCreateTransaction (Overloaded) Handles the request to create a transaction in the underlying data store context.
Protected method OnDiscardChanges Handles the request to signal a discard changes message to the current transactional context.
Protected method OnGet<TDao> Handles the request to get a new instance of the requested DAO type. (inherited from BaseCarboniteController).
Protected method OnOpenDataContext Handles the request to open the underlying data store context. (inherited from BaseCarboniteController).
Protected method OnReleaseTransaction Handles the request to release the current transactional context.
Protected method OnSendChanges Handles the request to send changes message to the underlying data store context.
Protected method OnStartChanges (Overloaded) Handles the request to signal a start changes message to the underlying data store context.
Public method OpenDataContext Opens the underlying data store context. (inherited from BaseCarboniteController).
Public method Static ReferenceEquals Determines whether the specified Object instances are the same instance. (inherited from Object).
Public method 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.
Public method StartChanges (Overloaded) Signals a start changes message to the underlying data store context. This method sets the value of the Transaction property.
Public method ToString Returns a string that represents the current object. (inherited from Object).
Public method 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).
Top
Name Description
Public extension method FromNullable Converts object values to nullable relational data store values. (Defined by Object_ToNullable).
Public extension method GetAttribute Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes).
Public extension method GetAttribute<TAtribute> (Overloaded) Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes).
Public extension method GetAttributes Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes).
Public extension method GetAttributes<TAtribute> (Overloaded) Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes).
Public extension method ToNullable<T> Converts nullable relational data store values to Nullable<T>. (Defined by Object_ToNullable).
Top