Insert the base trigger data.
Namespace: Quartz.Impl.AdoJobStore
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
public virtual Task<int> InsertTrigger( ConnectionAndTransactionHolder conn, IOperableTrigger trigger, string state, IJobDetail jobDetail, CancellationToken cancellationToken = null )
Parameters
- conn
- Type: Quartz.Impl.AdoJobStoreConnectionAndTransactionHolder
the DB Connection - trigger
- Type: Quartz.SpiIOperableTrigger
the trigger to insert - state
- Type: SystemString
the state that the trigger should be stored in - jobDetail
- Type: QuartzIJobDetail
The job detail. - cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
The cancellation instruction.
Return Value
Type: TaskInt32the number of rows inserted
Implements
IDriverDelegateInsertTrigger(ConnectionAndTransactionHolder, IOperableTrigger, String, IJobDetail, CancellationToken)See Also