Insert the base trigger data.
Namespace: Quartz.Impl.AdoJobStore
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
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
See Also