Search Results for

    Show / Hide Table of Contents

    Interface ISQLWrapperOwningEntityTypeWriter

    For entities that automatically generate a ISQLWrapper, such as IDataset, this is used to dynamically create the custom sql for the sql wrapper

    Entities that generate custom sql for sql wrappers set the OwnerEntityType and OwnerEntityID to themselves so the system knows which implementation of this interface to use

    Namespace: LemonEdge.API.Core.Processors
    Assembly: LemonEdge.API.dll
    Syntax
    public interface ISQLWrapperOwningEntityTypeWriter

    Properties

    OwningEntityTypeID

    The type of owning entity (OwnerEntityType) that a sql wrapper has its custom sql generated by

    Declaration
    Guid OwningEntityTypeID { get; }
    Property Value
    Type Description
    Guid

    Methods

    WriteSQLWrapper(ISQLWrapperProcessor)

    Provides the owning entity the capability to update the sql wrapper with the custom sql that it is responsible for automatically generating

    Declaration
    Task WriteSQLWrapper(ISQLWrapperProcessor sqlProcessor)
    Parameters
    Type Name Description
    ISQLWrapperProcessor sqlProcessor

    The sql wrapper processor with the sql wrapper to be udpated. This can include changing the structure of the sql wrapper itself too (ISQLTypeWrapper)

    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    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)

    See Also

    ISQLWrapper
    IDataset
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.