Assembly: OptimaJet.Workflow.Api

Class DataProviderCreationOptions

OptimaJet.Workflow.Api.Options.DataProviderCreationOptions

Represents configuration options for creating a data provider.

public record DataProviderCreationOptions : IEquatable<DataProviderCreationOptions>

Type Hierarchy

Properties

public string? DatabaseSchema { get; set; } #
Specifies the database schema to be used by the data provider. This option is supported by SQL Server, PostgreSQL, Oracle, and SQLite.
public int CommandTimeout { get; set; } #
Sets the command execution timeout in seconds. This option is supported by SQL Server, MySQL, PostgreSQL, Oracle, and SQLite. Default value: 30 seconds.
[JsonIgnore] [JsonIgnore] public Action<Exception> ExceptionHandler { get; set; } #
Defines an action to be executed when an exception occurs, before the exception is thrown. This option is supported by SQL Server, MySQL, PostgreSQL, Oracle, and SQLite.
[JsonIgnore] [JsonIgnore] public Action<string> LogQueryAction { get; set; } #
Defines an action to be executed when a query is built. The compiled query will be passed to this action for logging or debugging purposes. This option is supported by SQL Server, MySQL, PostgreSQL, Oracle, and SQLite.