Search Results for

    Show / Hide Table of Contents

    Class DataAccessSettings

    Inheritance
    object
    DataAccessSettings
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    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

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.