Search Results for

    Show / Hide Table of Contents

    Class DataUpdaterWithCustomFunctionsUI

    Inheritance
    object
    Context
    EntityContext
    DataUpdater
    DataUpdaterWithCustomFunctionsUI
    Implements
    ICustomServiceQueryHelper
    ICustomUpgradeVersionHandler
    IDataUpdater
    IAsyncDisposable
    ICanvasItemAction
    ISaveContextPrior
    ISaveContextAfter
    ISaveContext
    IEntityUpdaterUI
    IEntityUpdater
    IEntityRetriever
    IDisposable
    ICustomFunctions
    Inherited Members
    DataUpdater.SetNewCreator(Func<Task<IEntityUpdater>>)
    DataUpdater.GetDefaultNewUpdater()
    DataUpdater.HasChange(IBaseEntity)
    DataUpdater.HasChange(Type, Guid)
    DataUpdater.GetChange(IBaseEntity)
    DataUpdater.ClearChange(IBaseEntity)
    DataUpdater.GetChanges(EntityOperation, Type)
    DataUpdater.GetChanges<T>(Func<T, bool>)
    DataUpdater.GetChanges<T>(EntityOperation, Func<T, bool>)
    DataUpdater.GetAllChanges()
    DataUpdater.TryGetChange(Type, Guid, out EntityOperation, out IBaseEntity)
    DataUpdater.AddPendingExtendedItem(IBaseEntity, Guid)
    DataUpdater.AddPendingExistingExtendedItem(IBaseEntity, Guid)
    DataUpdater.GetOrAddPendedExtendedItem(EntityDescriptor, Guid)
    DataUpdater.LogChange(IBaseEntity, EntityOperation)
    DataUpdater.GetChangedItem(Type, Guid)
    DataUpdater.ClearChanges()
    DataUpdater.SaveChangesForCanvasPromotion(CancellationToken, bool, DbTransaction)
    DataUpdater.RunProcessorsForSave(List<IBaseDataSetProcessorWithDBSave>)
    DataUpdater.SaveChanges(CancellationToken, bool, bool, DbTransaction, bool)
    DataUpdater.UpdateAllPermissions(bool)
    DataUpdater.ExecuteQuery(QueryableExecuter)
    DataUpdater.MergeResults(QueryableExecuter, IEnumerable<IBaseEntity>)
    DataUpdater.MergeResults(QueryableExecuter, List<IBaseEntity>, List<IBaseEntity>, List<IBaseEntity>, IQueryable<IBaseEntity>, IEnumerable<IBaseEntity>)
    DataUpdater.CreateProcessor(ServerTaskAttribute)
    DataUpdater.GetDefaultProcessor(IBaseEntity)
    DataUpdater.GetProcessor<T>(IBaseEntity)
    DataUpdater.GetNextUniqueID(string, string, string)
    DataUpdater.GetFromDocumentStorage(IEnumerable<Guid>)
    DataUpdater.GetNuGetData(IEnumerable<string>, CancellationToken)
    DataUpdater.SearchPackagesAsync(string, CancellationToken)
    DataUpdater.GetValidStorageTypes(CancellationToken)
    DataUpdater.RestartAllServices()
    DataUpdater.IsLicenseValid()
    DataUpdater.GetCurrentLoggedInUser()
    DataUpdater.GetCacheLastModification()
    DataUpdater.GetCurrentDBTime()
    DataUpdater.AllowsCLRSQLFunctions()
    DataUpdater.UpdateCurrentRole(Guid)
    DataUpdater.UpdateCurrentDefaultTeam(Guid)
    DataUpdater.UpdateCurrentTheme(short)
    DataUpdater.DoesUserExist(string, Guid)
    DataUpdater.GetItemInfo(Guid, Guid)
    DataUpdater.ResetSystemRoles(BusyProgressReporter)
    DataUpdater.ResetSystemRoles(BusyProgressReporter, Guid, string, string)
    DataUpdater.RefreshServers()
    DataUpdater.ResetUserPassword(Guid, string)
    DataUpdater.ResetMyPassword(string, string)
    DataUpdater.UpdateUserSettings(string, string, Theme)
    DataUpdater.GetAuditData(Guid?, Guid, Guid, string)
    DataUpdater.GetAuditDataCount(Guid?, Guid, Guid, string)
    DataUpdater.GetNotificationData(Guid?, Guid?, Guid?, string)
    DataUpdater.GetLabelItems(Guid, string)
    DataUpdater.GetLabelItemsCount(Guid, string)
    DataUpdater.GetLabelItemsGeneric<T>(Guid, string)
    DataUpdater.GetLabelItemsCountGeneric<T>(Guid, string)
    DataUpdater.GetNotificationDataCount(Guid?, Guid?, Guid?, string)
    DataUpdater.GetMatchingDataSources(Guid?, string, bool, Guid?, Guid?, string)
    DataUpdater.GetMatchingDataSourcesCount(Guid?, string, bool, Guid?, Guid?, string)
    DataUpdater.RunInCanvas(Guid?)
    DataUpdater.RunInSafe(Guid?)
    DataUpdater.PromoteItemsFromCanvas(Guid, Guid, Guid)
    DataUpdater.ApproveItemsFromCanvas(Guid, Guid, Guid)
    DataUpdater.RejectItemsFromCanvas(Guid, Guid, Guid, string)
    DataUpdater.ClearItem(Guid, Guid, Guid, bool, bool)
    DataUpdater.PromoteItemsFromCanvas(ICanvas, Guid, Guid[], bool)
    DataUpdater.RemoveItemsFromCanvas(Guid, Guid, Guid)
    DataUpdater.ApproveItemsFromCanvas(ICanvas, Guid, Guid[])
    DataUpdater.RemoveItemsFromCanvas(ICanvas, Guid, Guid[], bool)
    DataUpdater.GetNextID(Guid, string)
    DataUpdater.GetSQLProcInfo(Guid, string)
    DataUpdater.GetItems(EntityOperation)
    DataUpdater.GetItems<T>(EntityOperation)
    DataUpdater.GetItems(EntityOperation, Type)
    DataUpdater.GetModifiedItems(EntityOperation)
    DataUpdater.GetModifiedItems<T>(EntityOperation)
    DataUpdater.GetModifiedItems(EntityOperation, Type)
    DataUpdater.AppendCustomSqlScriptToSave(string)
    DataUpdater.AddNewItem<T>()
    DataUpdater.AddNewItem(Type)
    DataUpdater.UpdateItemProperty(IBaseEntity, string, object)
    DataUpdater.GetAccountGlobalSystemValue<T>(string, T)
    DataUpdater.SetAccountGlobalSystemValue<T>(string, T)
    DataUpdater.SetUpgradingGlobalSystemValue(string, bool)
    DataUpdater.Dispose(bool)
    DataUpdater.GetCustomFunctions
    DataUpdater.IgnoreProcessorsOnSave
    DataUpdater.EntityCreator
    DataUpdater.HasChanges
    DataUpdater.IsSaving
    DataUpdater.Processors
    DataUpdater.SaveCompleted
    DataUpdater.SaveError
    EntityContext._cache
    EntityContext._token
    EntityContext.SetCancellationToken(CancellationToken)
    EntityContext.UseCanvas(Guid)
    EntityContext.UseAsOfDate(DateTimeOffset)
    EntityContext.UseLabels(bool)
    EntityContext.AddItemByIDToCache(IBaseEntity)
    EntityContext.GetItemByID(Type, Guid)
    EntityContext.GetItemByID<T>(Guid)
    EntityContext.GetItems<T>()
    EntityContext.GetItems(Type)
    EntityContext.ExecuteQuery<T>(QueryableExecuter<T>)
    EntityContext.ExecuteQueryAsCSV(DateTimeOffset?, Guid?, string, string, string)
    EntityContext.GetQueryCount(DateTimeOffset?, Guid?, string, string, string)
    EntityContext.ExecuteSQLResultsAsCSV(Guid, string, string, string)
    EntityContext.GetSQLResultsCount(Guid, string, string)
    EntityContext.GetSQLResults(Guid, string, string, string, CancellationToken)
    EntityContext.GetSQLResults(Guid, Dictionary<string, string>, QueryableExecuter, List<string>)
    EntityContext.GetSQLResultsJson(Guid, Dictionary<string, string>, QueryableExecuter, List<string>)
    EntityContext.GetSQLResultsCount<T>(Guid, string, string)
    EntityContext.GetSQLResults<T>(Guid, string, string)
    EntityContext.ExecuteCustomQuery<T>(string, params object[])
    EntityContext.SetAccountID(long)
    EntityContext.SetTeamID(Guid)
    EntityContext.ClearAsOfDate()
    EntityContext.GetQueryableItems<T>(out IQueryLock, Guid)
    EntityContext.GetQueryableFromSQL<T>(string, Guid)
    EntityContext.GetSQLCall(EntityDescriptor, Guid?, bool, DateTimeOffset?, Guid?)
    EntityContext.GetSQLCall(EntityDescriptor, long, Guid?, Guid, Guid?, bool, DateTimeOffset?, Guid?)
    EntityContext.ReleaseQueryLock()
    EntityContext.ExecuteQueryFromSQL<T>(string, Guid)
    EntityContext.ExecuteQueryFromSQL(Type, string, Guid)
    EntityContext.GetSQLResultsClass<T, TT>(Guid, string, string)
    EntityContext.GetSQLResultsClassCount<T, TT>(Guid, string, string)
    EntityContext.GetFromStorage(Guid, Guid?, string, string, bool, Guid?)
    EntityContext.GetGenericExecuteQueryBuilder<T, TT>(EntityDescriptor, DateTimeOffset?, Guid?, QueryableExecuter<T, TT>, List<ColumnDescriptor>)
    EntityContext.VerifyFunctions(EntityDescriptor)
    EntityContext.GenericExecuteQueryCount<T, TT>(EntityDescriptor, DateTimeOffset?, Guid?, string, string)
    EntityContext.GenericExecuteQueryAsCSV<T, TT>(EntityDescriptor, DateTimeOffset?, Guid?, string, string)
    EntityContext.UniqueContextID
    EntityContext.Cache
    EntityContext.IsBusy
    EntityContext.TeamID
    EntityContext.IsDirectDBConnection
    EntityContext.GetUseAsOfDate
    EntityContext.GetUseLabels
    EntityContext.IsODataQuery
    Context.DatabaseCacheFactory
    Context._deletesModified
    Context._insertsModified
    Context._updatesModified
    Context.GetCanvas()
    Context.SetTimeout(int?)
    Context.InitUser(UserInfo)
    Context.InternalClearOnFail()
    Context.AddToSaveInsertOfItem(IBaseEntity)
    Context.AddToSaveUpdateOfItem(IBaseEntity)
    Context.AddToSaveDeleteOfItem(IBaseEntity)
    Context.IsItemAlreadyInDelete(IBaseEntity)
    Context.BypassItemValidation(IBaseEntity)
    Context.AddCustomSQLToEnd(string)
    Context.AddCustomActionToSaveComplete(Func<IEntityUpdater, Task>)
    Context.AddCustomSQLToStart(string)
    Context.UseTransaction(DbTransaction)
    Context.AddSaveDateTimeStampHandler(Action<DateTimeOffset>)
    Context.PerformValidations()
    Context.PerformCustomInitializations()
    Context.IsSameTypeForDatabaseTables(IBaseEntity, IBaseEntity)
    Context.Dispose()
    Context.DisposeAsync()
    Context.DisposeAsyncCore()
    Context.User
    Context.CanvasID
    Context.SafeID
    Context.Transaction
    Context.Connection
    Context.Services
    Context.Accessor
    Context.CommandTimeout
    Context.PromotingItemsFromCanvas
    Context.CommitedDateTime
    Context.IsDisposed
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Client.DB
    Assembly: LemonEdge.ClientDB.dll
    Syntax
    public class DataUpdaterWithCustomFunctionsUI : DataUpdater, ICustomServiceQueryHelper, ICustomUpgradeVersionHandler, IDataUpdater, IAsyncDisposable, ICanvasItemAction, ISaveContextPrior, ISaveContextAfter, ISaveContext, IEntityUpdaterUI, IEntityUpdater, IEntityRetriever, IDisposable, ICustomFunctions

    Constructors

    DataUpdaterWithCustomFunctionsUI(UserInfo, IDataAccessor, IEntityCreator, IApplicationDbContextFactory, IDataSetProcessorFactory, IDatabaseCacheFactory, IDatabaseConnectorServiceContext, ISaveExtenderRepository, IStorageServiceFactory, IOptions<TaskServiceSettings>, INuGetPackageManager, IClientOnSaveHelper, IEntityContextFactory)

    Declaration
    public DataUpdaterWithCustomFunctionsUI(UserInfo user, IDataAccessor accessor, IEntityCreator entityCreator, IApplicationDbContextFactory dbContextFactory, IDataSetProcessorFactory dataSetProcessorFactory, IDatabaseCacheFactory cacheFactory, IDatabaseConnectorServiceContext databaseConnectorServices, ISaveExtenderRepository saveExtenderRepository, IStorageServiceFactory storageServiceFactory, IOptions<TaskServiceSettings> taskServiceSettings, INuGetPackageManager nuGetPackageManager, IClientOnSaveHelper onSaveHelper, IEntityContextFactory entityContext)
    Parameters
    Type Name Description
    UserInfo user
    IDataAccessor accessor
    IEntityCreator entityCreator
    IApplicationDbContextFactory dbContextFactory
    IDataSetProcessorFactory dataSetProcessorFactory
    IDatabaseCacheFactory cacheFactory
    IDatabaseConnectorServiceContext databaseConnectorServices
    ISaveExtenderRepository saveExtenderRepository
    IStorageServiceFactory storageServiceFactory
    IOptions<TaskServiceSettings> taskServiceSettings
    INuGetPackageManager nuGetPackageManager
    IClientOnSaveHelper onSaveHelper
    IEntityContextFactory entityContext

    Properties

    ClientCache

    Declaration
    public override IReadOnlyCache ClientCache { get; }
    Property Value
    Type Description
    IReadOnlyCache
    Overrides
    DataUpdater.ClientCache

    PreventOnSaveAutoOpen

    Indicates that items created by saving (such as tasks, or other results), should not automatically be opened by the client application

    Declaration
    public bool PreventOnSaveAutoOpen { get; set; }
    Property Value
    Type Description
    bool

    Methods

    ClearCachedTypes(long, IEnumerable<Type>)

    Declaration
    protected override Task ClearCachedTypes(long accountId, IEnumerable<Type> types)
    Parameters
    Type Name Description
    long accountId
    IEnumerable<Type> types
    Returns
    Type Description
    Task
    Overrides
    DataUpdater.ClearCachedTypes(long, IEnumerable<Type>)

    CreateNew()

    Creates a new entityupdater in the same way this one was created

    Declaration
    public override Task<IEntityUpdater> CreateNew()
    Returns
    Type Description
    Task<IEntityUpdater>
    Overrides
    DataUpdater.CreateNew()

    ExecuteAsArrayAsync<T>(string, Dictionary<string, object>)

    Fetches the result array asynchronously from the web service.

    Declaration
    public Task<IEnumerable<T>> ExecuteAsArrayAsync<T>(string name, Dictionary<string, object> ps) where T : class
    Parameters
    Type Name Description
    string name

    The name of the function to call.

    Dictionary<string, object> ps

    The parameter list.

    Returns
    Type Description
    Task<IEnumerable<T>>

    An enumeration of the typed results.

    Type Parameters
    Name Description
    T

    The array return type.

    ExecuteAsScalarAsync<T>(string, Dictionary<string, object>)

    Fetches the result array asynchronously from the web service.

    Declaration
    public Task<T> ExecuteAsScalarAsync<T>(string name, Dictionary<string, object> ps)
    Parameters
    Type Name Description
    string name

    The name of the function to call.

    Dictionary<string, object> ps

    The parameter list.

    Returns
    Type Description
    Task<T>

    The typed result.

    Type Parameters
    Name Description
    T

    The return type.

    OnSaveComplete()

    Declaration
    public override Task OnSaveComplete()
    Returns
    Type Description
    Task
    Overrides
    DataUpdater.OnSaveComplete()

    Implements

    ICustomServiceQueryHelper
    ICustomUpgradeVersionHandler
    IDataUpdater
    IAsyncDisposable
    ICanvasItemAction
    ISaveContextPrior
    ISaveContextAfter
    ISaveContext
    IEntityUpdaterUI
    IEntityUpdater
    IEntityRetriever
    IDisposable
    ICustomFunctions

    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.