Class DataAccessSettings
Inherited Members
Namespace: LemonEdge.DataAccess.Core.Settings
Assembly: LemonEdge.DataAccess.Core.dll
Syntax
public class DataAccessSettings
Constructors
DataAccessSettings()
Declaration
public DataAccessSettings()
Fields
DEFAULT_COMMAND_TIMEOUT
Declaration
public const int DEFAULT_COMMAND_TIMEOUT = 60
Field Value
Type | Description |
---|---|
int |
Properties
ConnectionSettings
Dynamic connection settings for the application. See ConnectionSettings
Declaration
public ConnectionSettings ConnectionSettings { get; set; }
Property Value
Type | Description |
---|---|
ConnectionSettings |
ConstrainedMaxConcurrentFormulaProcesses
The number of concurrent processes for formulas and other operations, limited by the Environment processor count.
Declaration
public int ConstrainedMaxConcurrentFormulaProcesses { get; }
Property Value
Type | Description |
---|---|
int |
DefaultCommandTimeout
The default command timeout for data access queries in seconds
Default: DEFAULT_COMMAND_TIMEOUT
Declaration
public int DefaultCommandTimeout { get; set; }
Property Value
Type | Description |
---|---|
int |
EntityFrameworkEnableSensitiveDataLogging
A flag to enable or disable sensitive logging in Entity Framework
Declaration
public bool EntityFrameworkEnableSensitiveDataLogging { get; set; }
Property Value
Type | Description |
---|---|
bool |
EntityFrameworkQueryTrackingBehavior
The entity tracking behavior for Entity Framework
https://learn.microsoft.com/en-us/dotnet/api/microsoft.entityframeworkcore.querytrackingbehavior?view=efcore-7.0
Declaration
public string EntityFrameworkQueryTrackingBehavior { get; set; }
Property Value
Type | Description |
---|---|
string |
LogDatabaseSql
A flag to enable or disable the logging of command text during query execution
Declaration
public bool LogDatabaseSql { get; set; }
Property Value
Type | Description |
---|---|
bool |
LongCommandTimeout
The long command timeout for data access queries in seconds
Used primarily during task service execution queries.
Declaration
public int LongCommandTimeout { get; set; }
Property Value
Type | Description |
---|---|
int |
MaxCommandTimeout
The maximum command timeout for data access queries in seconds
Default: LemonEdge.DataAccess.Core.Settings.DataAccessSettings.DEFAULT_MAX_COMMAND_TIMEOUT
Declaration
public int MaxCommandTimeout { get; set; }
Property Value
Type | Description |
---|---|
int |
MaxConcurrentFormulaProcesses
The maximum number of concurrent processes for formulas, from config.
Declaration
public int MaxConcurrentFormulaProcesses { get; set; }
Property Value
Type | Description |
---|---|
int |
ShortCommandTimeout
The short command timeout for data access queries in seconds
Used primarily during database upgrade queries.
Declaration
public int ShortCommandTimeout { get; set; }
Property Value
Type | Description |
---|---|
int |
SqlBulkCopyBatchSize
The batch size for bulk inserts
Declaration
public int SqlBulkCopyBatchSize { get; set; }
Property Value
Type | Description |
---|---|
int |
SqlBulkCopyMinSize
A lower limit for bulk-copying
Declaration
public int SqlBulkCopyMinSize { get; set; }
Property Value
Type | Description |
---|---|
int |