Search Results for

    Show / Hide Table of Contents

    Class CanvasSQLWrapper

    Inheritance
    object
    SQLWrapperUpdater
    CanvasSQLWrapper
    Inherited Members
    SQLWrapperUpdater.TaskInit(IEntityUpdater, IReadOnlyCache, UserInfo, BusyProgressReporter)
    SQLWrapperUpdater.UpdateAllWrappers()
    SQLWrapperUpdater.SetupDependantQuery(IEntityUpdater, ISQLWrapper, string)
    SQLWrapperUpdater.LoadWrappersForVersionChangeOnly()
    SQLWrapperUpdater.ResetVersions()
    SQLWrapperUpdater.BuilderFactory
    SQLWrapperUpdater.Updater
    SQLWrapperUpdater.Cache
    SQLWrapperUpdater.User
    SQLWrapperUpdater.Reporter
    SQLWrapperUpdater.AlwaysRunOnDBUpgrade
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Connections.Database.Migrations.Upgraders.Queries
    Assembly: LemonEdge.Database.Connector.dll
    Syntax
    [StandardSystemWrapperDataSetNames(new string[] { "GetCanvasItems" })]
    public class CanvasSQLWrapper : SQLWrapperUpdater

    Constructors

    CanvasSQLWrapper(IQueryBuilderFactory, IEntityUpdater, IReadOnlyCache, UserInfo)

    Declaration
    public CanvasSQLWrapper(IQueryBuilderFactory builderFactory, IEntityUpdater updater, IReadOnlyCache cache, UserInfo user)
    Parameters
    Type Name Description
    IQueryBuilderFactory builderFactory
    IEntityUpdater updater
    IReadOnlyCache cache
    UserInfo user

    Fields

    CanvasFunctionName

    Declaration
    public const string CanvasFunctionName = "GetCanvasItems"
    Field Value
    Type Description
    string

    Methods

    UpgradeWrapper()

    The custom function that is automatically called on every system database upgrade.

    This can create and update a ISQLWrapper as required.

    It is also capable of running any custom code during upgrades, not just upgrading sql wrapper.
    Declaration
    public override Task UpgradeWrapper()
    Returns
    Type Description
    Task
    Overrides
    SQLWrapperUpdater.UpgradeWrapper()

    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.