Click or drag to resize
UnitOfWorkAddCallBack Method (Delegate, UnitOfWorkCallBackScheduleSlot, Boolean, Object)
Adds the call back passed in, to the slot specified with the parameters specified.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
public virtual void AddCallBack(
	Delegate delegateToCall,
	UnitOfWorkCallBackScheduleSlot schedulingSlot,
	bool passInTransaction,
	params Object[] parameters
)

Parameters

delegateToCall
Type: SystemDelegate
Delegate to call.
schedulingSlot
Type: SD.LLBLGen.Pro.ORMSupportClassesUnitOfWorkCallBackScheduleSlot
Scheduling slot to call the delegate in.
passInTransaction
Type: SystemBoolean
Flag to tell the Commit routine to pass the used Transaction object as the last parameter to the delegate (true, default) or not (false).
parameters
Type: SystemObject
Parameters to pass to the delegate. If you've specified true for passInTransaction, the Transaction object used during commit will be passed in as the last parameter.
See Also