Search Results for

    Show / Hide Table of Contents

    Interface IRecreateOnRefresh

    Indicates that an object should be refreshed on context change.

    Namespace: LemonEdge.API.Client
    Assembly: LemonEdge.API.dll
    Syntax
    public interface IRecreateOnRefresh

    Methods

    Recreate(IEntityUpdater)

    Called on context refresh with the new context. Implement to action custom refresh logic in the inheritor. You should clone or return a new object.

    Declaration
    Task<object> Recreate(IEntityUpdater updater)
    Parameters
    Type Name Description
    IEntityUpdater updater

    An IEntityUpdater

    Returns
    Type Description
    Task<object>

    A task containing a new

    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.