TransactedPropertyTCommit 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 override Object Commit(
Transaction transaction,
Object modificationDetails
)
Protected Overrides Function Commit (
transaction As Transaction,
modificationDetails As Object
) As Object
protected:
virtual Object^ Commit(
Transaction^ transaction,
Object^ modificationDetails
) override
abstract Commit :
transaction : Transaction *
modificationDetails : Object -> Object
override Commit :
transaction : Transaction *
modificationDetails : Object -> Object
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