UnitOfWork.AddCallBack 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.3.0.0 (5.3.0)
Syntaxpublic virtual void AddCallBack(
Delegate delegateToCall,
UnitOfWorkCallBackScheduleSlot schedulingSlot,
bool passInTransaction,
params Object[] parameters
)
Public Overridable Sub AddCallBack (
delegateToCall As Delegate,
schedulingSlot As UnitOfWorkCallBackScheduleSlot,
passInTransaction As Boolean,
ParamArray parameters As Object()
)
Parameters
- delegateToCall
- Type: System.Delegate
Delegate to call. - schedulingSlot
- Type: SD.LLBLGen.Pro.ORMSupportClasses.UnitOfWorkCallBackScheduleSlot
Scheduling slot to call the delegate in. - passInTransaction
- Type: System.Boolean
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:System.Object[]
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