Class SqlServerSagaStoreOptions
Configuration options for SQL Server saga state storage.
public sealed class SqlServerSagaStoreOptions
- Inheritance
-
SqlServerSagaStoreOptions
- Inherited Members
Properties
ConnectionString
Gets or sets the SQL Server connection string.
public string? ConnectionString { get; set; }
Property Value
- string
The connection string, or null when using ConnectionFactory(Func<IServiceProvider, Func<SqlConnection>>), ConnectionStringName(string), or BindConfiguration(string).
QualifiedTableName
Gets the fully qualified table name.
public string QualifiedTableName { get; }
Property Value
SchemaName
Gets or sets the schema name for the saga table.
[Required]
public string SchemaName { get; set; }
Property Value
- string
The schema name. Defaults to "dispatch".
TableName
Gets or sets the table name for saga entries.
[Required]
public string TableName { get; set; }
Property Value
- string
The table name. Defaults to "sagas".
Methods
Validate()
Validates the options and throws if invalid.
public void Validate()