Click or drag to resize

UnitOfWork2AddCallBack 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.5.0.0 (5.5.18.1019)
Syntax
public virtual void AddCallBack(
	Delegate delegateToCall,
	UnitOfWorkCallBackScheduleSlot schedulingSlot,
	bool passInAdapter,
	params Object[] parameters
)

Parameters

delegateToCall
Type: SystemDelegate
Delegate to call.
schedulingSlot
Type: SD.LLBLGen.Pro.ORMSupportClassesUnitOfWorkCallBackScheduleSlot
Scheduling slot to call the delegate in.
passInAdapter
Type: SystemBoolean
Flag to tell the Commit routine to pass the used adapter 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 passInAdapter, the adapter object used during commit will be passed in as the last parameter.
See Also