Search Results for

    Show / Hide Table of Contents

    Class CacheSettings

    Inheritance
    object
    CacheSettings
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Connections.Database
    Assembly: LemonEdge.Database.Connector.dll
    Syntax
    public class CacheSettings

    Constructors

    CacheSettings()

    Declaration
    public CacheSettings()

    Properties

    SharedCacheConnectionString

    The connection string to a shared cache server such as a redis cache server

    Declaration
    public string SharedCacheConnectionString { get; set; }
    Property Value
    Type Description
    string

    SharedCacheExpiry

    The default timespan to use before items in the cache automatically expire

    Default: 2:00:00:00

    Declaration
    public TimeSpan SharedCacheExpiry { get; set; }
    Property Value
    Type Description
    TimeSpan

    UseSharedCache

    Indicates you would like to synchronize the cache between multiple services through the use of a shared cache server

    Default: false

    Declaration
    public bool UseSharedCache { get; set; }
    Property Value
    Type Description
    bool

    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.