Show / Hide Table of Contents

    Interface IDataEngine

    XData engine interface

    Namespace: XData
    Assembly: XData.docfx.dll
    Syntax
    public interface IDataEngine

    Properties

    | Improve this Doc View Source

    Configuration

    XData configuration object

    Declaration
    IConfiguration Configuration { get; }
    Property Value
    Type Description
    IConfiguration
    See Also
    IConfiguration

    Methods

    | Improve this Doc View Source

    GetDataScope(Guid, Boolean)

    Request existing or create data scope

    Declaration
    IDataScope GetDataScope(Guid layer, bool throwIfNotFound = false)
    Parameters
    Type Name Description
    Guid layer

    Data scope layer

    Boolean throwIfNotFound

    Throw an exception when data scope is not found

    Returns
    Type Description
    IDataScope

    Data scope

    See Also
    IDataScope
    | Improve this Doc View Source

    GetDataScope(Guid, String, CancellationToken, Boolean)

    Request existing or create data scope

    Declaration
    IDataScope GetDataScope(Guid layer, string defaultContext, CancellationToken token, bool throwIfNotFound = false)
    Parameters
    Type Name Description
    Guid layer

    Data scope layer

    String defaultContext

    Default context of scope (if nof found)

    CancellationToken token

    Cancellation token

    Boolean throwIfNotFound

    Throw an exception when data scope is not found

    Returns
    Type Description
    IDataScope

    Data scope

    See Also
    IDataScope
    | Improve this Doc View Source

    GetDataScope(Guid, String, ISecuritySession, CancellationToken, Boolean)

    Request existing or create data scope

    Declaration
    IDataScope GetDataScope(Guid layer, string defaultContext, ISecuritySession security, CancellationToken token, bool throwIfNotFound = false)
    Parameters
    Type Name Description
    Guid layer

    Data scope layer

    String defaultContext

    Default context of scope (if nof found)

    ISecuritySession security

    Security session

    CancellationToken token

    Cancellation token

    Boolean throwIfNotFound

    Throw an exception when data scope is not found

    Returns
    Type Description
    IDataScope

    Data scope

    See Also
    IDataScope
    | Improve this Doc View Source

    GetDataScope(Guid, CancellationToken, Boolean)

    Request existing or create data scope

    Declaration
    IDataScope GetDataScope(Guid layer, CancellationToken token, bool throwIfNotFound = false)
    Parameters
    Type Name Description
    Guid layer

    Data scope layer

    CancellationToken token

    Cancellation token

    Boolean throwIfNotFound

    Throw an exception when data scope is not found

    Returns
    Type Description
    IDataScope

    Data scope

    See Also
    IDataScope
    | Improve this Doc View Source

    GetDataScope(Guid, ISecuritySession, CancellationToken, Boolean)

    Request existing or create data scope

    Declaration
    IDataScope GetDataScope(Guid layer, ISecuritySession security, CancellationToken token, bool throwIfNotFound = false)
    Parameters
    Type Name Description
    Guid layer

    Data scope layer

    ISecuritySession security

    Security session

    CancellationToken token

    Cancellation token

    Boolean throwIfNotFound

    Throw an exception when data scope is not found

    Returns
    Type Description
    IDataScope

    Data scope

    See Also
    IDataScope
    | Improve this Doc View Source

    NewDataScope()

    Create new data scope

    Declaration
    IDataScope NewDataScope()
    Returns
    Type Description
    IDataScope

    Data scope

    See Also
    IDataScope
    | Improve this Doc View Source

    NewDataScope(String)

    Create new data scope

    Declaration
    IDataScope NewDataScope(string defaultContext)
    Parameters
    Type Name Description
    String defaultContext

    Default context of scope

    Returns
    Type Description
    IDataScope

    Data scope

    See Also
    IDataScope
    | Improve this Doc View Source

    NewDataScope(String, CancellationToken)

    Create new data scope

    Declaration
    IDataScope NewDataScope(string defaultContext, CancellationToken token)
    Parameters
    Type Name Description
    String defaultContext

    Default context of scope

    CancellationToken token

    Cancellation token

    Returns
    Type Description
    IDataScope

    Data scope

    See Also
    IDataScope
    | Improve this Doc View Source

    NewDataScope(String, ISecuritySession)

    Create new data scope

    Declaration
    IDataScope NewDataScope(string defaultContext, ISecuritySession security)
    Parameters
    Type Name Description
    String defaultContext

    Default context of scope

    ISecuritySession security

    Security session

    Returns
    Type Description
    IDataScope

    Data scope

    See Also
    IDataScope
    | Improve this Doc View Source

    NewDataScope(String, ISecuritySession, CancellationToken)

    Create new data scope

    Declaration
    IDataScope NewDataScope(string defaultContext, ISecuritySession security, CancellationToken token)
    Parameters
    Type Name Description
    String defaultContext

    Default context of scope

    ISecuritySession security

    Security session

    CancellationToken token

    Cancellation token

    Returns
    Type Description
    IDataScope

    Data scope

    See Also
    IDataScope
    | Improve this Doc View Source

    NewDataScope(CancellationToken)

    Create new data scope

    Declaration
    IDataScope NewDataScope(CancellationToken token)
    Parameters
    Type Name Description
    CancellationToken token

    Cancellation token

    Returns
    Type Description
    IDataScope

    Data scope

    See Also
    IDataScope
    | Improve this Doc View Source

    NewDataScope(ISecuritySession, CancellationToken)

    Create new data scope

    Declaration
    IDataScope NewDataScope(ISecuritySession security, CancellationToken token)
    Parameters
    Type Name Description
    ISecuritySession security

    Security session

    CancellationToken token

    Cancellation token

    Returns
    Type Description
    IDataScope

    Data scope

    See Also
    IDataScope
    | Improve this Doc View Source

    ResetAllDictionaries()

    Reset all dictionaries cache

    Declaration
    void ResetAllDictionaries()
    See Also
    GetDictionaryValue<T>(Expression<Func<T, Boolean>>, String, ISecuritySession, Variable[])
    | Improve this Doc View Source

    ResetDictionaryCache<T>()

    Reset single dictionary cache

    Declaration
    void ResetDictionaryCache<T>()
        where T : class, IDataObject
    Type Parameters
    Name Description
    T

    Dictionary type

    See Also
    GetDictionaryValue<T>(Expression<Func<T, Boolean>>, String, ISecuritySession, Variable[])

    Extension Methods

    SerializationExtensions.ToXml<T>(T)
    CollectionsExtensions.SetValue<TKey, T>(TKey, T)
    CollectionsExtensions.AsEnum<T>(T)
    DataObjectQueryableExtensions.CompareVariable(Object, FilterOperation, String)
    Processing.Do<T>(T, Action<IProcess<T>>[])
    TypeExtensions.TryConvert<T, TResult>(T, Func<T, TResult>)
    TypeExtensions.TryConvert<T, TResult>(T, Func<T, TResult>, TResult)
    TypeExtensions.ChangeType<T>(Object)
    TypeExtensions.ChangeType(Object, Type)
    TypeExtensions.InvokeMethod<TRet>(Object, Type[], Expression<Func<TRet>>, BindingFlags)
    TypeExtensions.InvokeMethod(Object, Type[], Expression<Action>, BindingFlags)
    TypeExtensions.InvokeMethod<TRet>(Object, Expression<Func<TRet>>, BindingFlags)
    TypeExtensions.InvokeMethod(Object, Expression<Action>, BindingFlags)
    SqlBlockExtensions.SetExpression<TTag, TResult>(TTag, Expression<Func<IBlockQueryAdapter, TResult>>)
    QueryDescriptionExtensions.SetExpression<TTag, TResult>(TTag, Expression<Func<IQueryStructureAdapter, TResult>>)
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX