Table of Contents

Struct SqlStatementParameter

Namespace
Quartz.Impl.AdoJobStore
Assembly
Quartz.dll

One parameter of a SqlStatement.

public readonly record struct SqlStatementParameter : IEquatable<SqlStatementParameter>
Implements
Inherited Members

Constructors

SqlStatementParameter(string, object?, Enum?)

One parameter of a SqlStatement.

public SqlStatementParameter(string Name, object? Value, Enum? DataType = null)

Parameters

Name string

Name of the parameter, without the driver's prefix.

Value object

The value to bind. null binds as DBNull.

DataType Enum

Provider-specific parameter type, for the columns whose type cannot be inferred from the value — a binary column being the one this store needs.

Properties

DataType

Provider-specific parameter type, for the columns whose type cannot be inferred from the value — a binary column being the one this store needs.

public Enum? DataType { get; init; }

Property Value

Enum

Name

Name of the parameter, without the driver's prefix.

public string Name { get; init; }

Property Value

string

Value

The value to bind. null binds as DBNull.

public object? Value { get; init; }

Property Value

object