Interface IPersistenceOptions
- Namespace
- Excalibur.Data.Persistence
- Assembly
- Excalibur.Data.Abstractions.dll
Core interface for persistence provider options. Contains connection fundamentals and extensibility — at most 5 members per ISP gate.
public interface IPersistenceOptions
Properties
CommandTimeout
Gets or sets the command timeout in seconds.
int CommandTimeout { get; set; }
Property Value
- int
The command timeout in seconds.
ConnectionString
Gets or sets the connection string for the persistence provider.
string ConnectionString { get; set; }
Property Value
- string
The connection string for the persistence provider.
ConnectionTimeout
Gets or sets the connection timeout in seconds.
int ConnectionTimeout { get; set; }
Property Value
- int
The connection timeout in seconds.
ProviderSpecificOptions
Gets provider-specific options as key-value pairs.
IDictionary<string, object> ProviderSpecificOptions { get; }
Property Value
- IDictionary<string, object>
Provider-specific options as key-value pairs.
Methods
Validate()
Validates the options and throws an exception if invalid.
void Validate()