Search Results for

    Show / Hide Table of Contents

    Interface IQueryLock

    A lock provided for each GetQueryableItems call on an IDataUpdater call. Once the IQueryable has finished being used we need to call ReleaseQueryableItemLockAfterExecution to ensure the original context is int the right state

    You recieve one IQueryLock for each GetQueryableItems call, this allows the context to make multiple calls in parralel - but each GetQueryableItems needs to be unlocked once finished using.

    Namespace: LemonEdge.API.Core.Data
    Assembly: LemonEdge.API.dll
    Syntax
    public interface IQueryLock

    Methods

    ReleaseQueryableItemLockAfterExecution()

    Release the lock held against the context for this specific call to GetQueryableItems. You can only call this once on the specific IQueryLock you recieve for each GetQueryableItems call.

    Declaration
    void ReleaseQueryableItemLockAfterExecution()

    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.