UnitOfWork2AddCallBack Method (Delegate, UnitOfWorkCallBackScheduleSlot, Boolean, Object) |
Adds the call back passed in, to the slot specified with the parameters specified.
Namespace: SD.LLBLGen.Pro.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax public virtual void AddCallBack(
Delegate delegateToCall,
UnitOfWorkCallBackScheduleSlot schedulingSlot,
bool passInAdapter,
params Object[] parameters
)
Public Overridable Sub AddCallBack (
delegateToCall As Delegate,
schedulingSlot As UnitOfWorkCallBackScheduleSlot,
passInAdapter As Boolean,
ParamArray parameters As Object()
)
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