Skip to main content

Class PersistenceProviderOptions

Options for creating an instance of relational persistence provider

Inheritance

↳ object

    PersistenceProviderOptions

Inherited Members

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

MemberwiseClone()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Core.Persistence

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public class PersistenceProviderOptions

Constructors

PersistenceProviderOptions(string)

Declaration
public PersistenceProviderOptions(string connectionString)
Parameters
TypeNameDescription
stringconnectionString

Properties

ConnectionString

Connection string to connect to the database

Declaration
public string ConnectionString { get; set; }
Property value
TypeDescription
string

SchemaName

Database schema name for workflow persistence objects

Declaration
public string SchemaName { get; set; }
Property value
TypeDescription
string

WriteToHistory

Should the process transition history be recorded in WorkflowProcessTransitionHistory

Declaration
public bool WriteToHistory { get; set; }
Property value
TypeDescription
bool

WriteSubProcessToRoot

Should the subprocess transition history be written to the root process history in WorkflowProcessTransitionHistory

Declaration
public bool WriteSubProcessToRoot { get; set; }
Property value
TypeDescription
bool

GlobalCommandTimeout

Global timeout for executing commands on the database

Declaration
public int GlobalCommandTimeout { get; set; }
Property value
TypeDescription
int

Fields

DefaultWriteToHistory

Declaration
public const bool DefaultWriteToHistory = true
Returns
TypeDescription
bool

DefaultWriteSubProcessToRoot

Declaration
public const bool DefaultWriteSubProcessToRoot = false
Returns
TypeDescription
bool

DefaultGlobalCommandTimeout

Declaration
public const int DefaultGlobalCommandTimeout = 30
Returns
TypeDescription
int

Extension Methods