Search Results for

    Show / Hide Table of Contents

    Class BaseEntityCloneContext

    The context that is used with SetItemInfo and ICloneableAsync copying items

    Inheritance
    System.Object
    BaseEntityCloneContext
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: LemonEdge.API.Core
    Assembly: API.dll
    Syntax
    public class BaseEntityCloneContext

    Constructors

    BaseEntityCloneContext(UserInfo, IReadOnlyCache, IEntityUpdater)

    Creates a new context for cloning items that can be used for loading sub items as part of the clone

    Declaration
    public BaseEntityCloneContext(UserInfo user, IReadOnlyCache cache, IEntityUpdater updater)
    Parameters
    Type Name Description
    UserInfo user

    The current logged in user

    IReadOnlyCache cache

    A local cache

    IEntityUpdater updater

    An IEntityUpdater context for retrieving sub items

    Properties

    Cache

    A local cache

    Declaration
    public IReadOnlyCache Cache { get; }
    Property Value
    Type Description
    IReadOnlyCache

    Updater

    An IEntityUpdater context for retrieving sub items

    Declaration
    public IEntityUpdater Updater { get; set; }
    Property Value
    Type Description
    IEntityUpdater

    User

    The current logged in user

    Declaration
    public UserInfo User { get; }
    Property Value
    Type Description
    UserInfo

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.