Click or drag to resize

TransactedObjectCommit Method

Commits the specified modification.

Namespace:  AGI.Foundation.Infrastructure.Threading
Assembly:  AGI.Foundation.Tracking (in AGI.Foundation.Tracking.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
protected abstract Object Commit(
	Transaction transaction,
	Object modificationDetails
)

Parameters

transaction
Type: AGI.FoundationTransaction
The committing transaction.
modificationDetails
Type: SystemObject
The modification to commit. This is the object that was passed to AddModification(TransactedObject, Object).

Return Value

Type: Object
The data to pass to the Notify(Object, Transaction) method after all transacted objects have been committed. If this method returns , Notify(Object, Transaction) will not be called.
Remarks
This method is called only if ValidateModification(Transaction, Object) returns , and it is called without the possibility of an intervening transaction committing. Therefore, it is not necessary to revalidate the modification.
See Also