Search Results for

    Show / Hide Table of Contents

    Class QueryVisitorExtensions

    Inheritance
    object
    QueryVisitorExtensions
    Namespace: LinqToDB.SqlQuery
    Assembly: linq2db.dll
    Syntax
    public static class QueryVisitorExtensions

    Methods

    | Improve this Doc View Source

    Clone<T>(T?, Dictionary<IQueryElement, IQueryElement>)

    Declaration
    public static T? Clone<T>(this T? element, Dictionary<IQueryElement, IQueryElement> objectTree) where T : class, IQueryElement
    Parameters
    Type Name Description
    T element
    Dictionary<IQueryElement, IQueryElement> objectTree
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    Clone<T>(T?, Func<IQueryElement, bool>)

    Declaration
    public static T? Clone<T>(this T? element, Func<IQueryElement, bool> doClone) where T : class, IQueryElement
    Parameters
    Type Name Description
    T element
    Func<IQueryElement, bool> doClone
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    Clone<T>(T?)

    Declaration
    public static T? Clone<T>(this T? element) where T : class, IQueryElement
    Parameters
    Type Name Description
    T element
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    Clone<T>(T[]?, Dictionary<IQueryElement, IQueryElement>)

    Declaration
    public static T[]? Clone<T>(this T[]? elements, Dictionary<IQueryElement, IQueryElement> objectTree) where T : class, IQueryElement
    Parameters
    Type Name Description
    T[] elements
    Dictionary<IQueryElement, IQueryElement> objectTree
    Returns
    Type Description
    T[]
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    Clone<T, TContext>(T?, TContext, Dictionary<IQueryElement, IQueryElement>, Func<TContext, IQueryElement, bool>)

    Declaration
    public static T? Clone<T, TContext>(this T? element, TContext context, Dictionary<IQueryElement, IQueryElement> objectTree, Func<TContext, IQueryElement, bool> doClone) where T : class, IQueryElement
    Parameters
    Type Name Description
    T element
    TContext context
    Dictionary<IQueryElement, IQueryElement> objectTree
    Func<TContext, IQueryElement, bool> doClone
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    TContext
    | Improve this Doc View Source

    Clone<T, TContext>(T?, TContext, Func<TContext, IQueryElement, bool>)

    Declaration
    public static T? Clone<T, TContext>(this T? element, TContext context, Func<TContext, IQueryElement, bool> doClone) where T : class, IQueryElement
    Parameters
    Type Name Description
    T element
    TContext context
    Func<TContext, IQueryElement, bool> doClone
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    TContext
    | Improve this Doc View Source

    Convert<T>(T, Func<ConvertVisitor<object?>, IQueryElement, IQueryElement>, bool)

    Declaration
    public static T Convert<T>(this T element, Func<ConvertVisitor<object?>, IQueryElement, IQueryElement> convertAction, bool withStack) where T : class, IQueryElement
    Parameters
    Type Name Description
    T element
    Func<ConvertVisitor<object>, IQueryElement, IQueryElement> convertAction
    bool withStack
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    Convert<T>(T, Func<ConvertVisitor<object?>, IQueryElement, IQueryElement>)

    Declaration
    public static T Convert<T>(this T element, Func<ConvertVisitor<object?>, IQueryElement, IQueryElement> convertAction) where T : class, IQueryElement
    Parameters
    Type Name Description
    T element
    Func<ConvertVisitor<object>, IQueryElement, IQueryElement> convertAction
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    Convert<TContext, T>(T, TContext, bool, Func<ConvertVisitor<TContext>, IQueryElement, IQueryElement>, bool)

    Declaration
    public static T Convert<TContext, T>(this T element, TContext context, bool allowMutation, Func<ConvertVisitor<TContext>, IQueryElement, IQueryElement> convertAction, bool withStack) where T : class, IQueryElement
    Parameters
    Type Name Description
    T element
    TContext context
    bool allowMutation
    Func<ConvertVisitor<TContext>, IQueryElement, IQueryElement> convertAction
    bool withStack
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    TContext
    T
    | Improve this Doc View Source

    Convert<TContext, T>(T, TContext, bool, Func<ConvertVisitor<TContext>, IQueryElement, IQueryElement>)

    Declaration
    public static T Convert<TContext, T>(this T element, TContext context, bool allowMutation, Func<ConvertVisitor<TContext>, IQueryElement, IQueryElement> convertAction) where T : class, IQueryElement
    Parameters
    Type Name Description
    T element
    TContext context
    bool allowMutation
    Func<ConvertVisitor<TContext>, IQueryElement, IQueryElement> convertAction
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    TContext
    T
    | Improve this Doc View Source

    Convert<TContext, T>(T, TContext, Func<ConvertVisitor<TContext>, IQueryElement, IQueryElement>, bool)

    Declaration
    public static T Convert<TContext, T>(this T element, TContext context, Func<ConvertVisitor<TContext>, IQueryElement, IQueryElement> convertAction, bool withStack) where T : class, IQueryElement
    Parameters
    Type Name Description
    T element
    TContext context
    Func<ConvertVisitor<TContext>, IQueryElement, IQueryElement> convertAction
    bool withStack
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    TContext
    T
    | Improve this Doc View Source

    Convert<TContext, T>(T, TContext, Func<ConvertVisitor<TContext>, IQueryElement, IQueryElement>)

    Declaration
    public static T Convert<TContext, T>(this T element, TContext context, Func<ConvertVisitor<TContext>, IQueryElement, IQueryElement> convertAction) where T : class, IQueryElement
    Parameters
    Type Name Description
    T element
    TContext context
    Func<ConvertVisitor<TContext>, IQueryElement, IQueryElement> convertAction
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    TContext
    T
    | Improve this Doc View Source

    ConvertAll<T>(T, bool, Func<ConvertVisitor<object?>, IQueryElement, IQueryElement>)

    Declaration
    public static T ConvertAll<T>(this T element, bool allowMutation, Func<ConvertVisitor<object?>, IQueryElement, IQueryElement> convertAction) where T : class, IQueryElement
    Parameters
    Type Name Description
    T element
    bool allowMutation
    Func<ConvertVisitor<object>, IQueryElement, IQueryElement> convertAction
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    ConvertAll<TContext, T>(T, TContext, bool, Func<ConvertVisitor<TContext>, IQueryElement, IQueryElement>)

    Declaration
    public static T ConvertAll<TContext, T>(this T element, TContext context, bool allowMutation, Func<ConvertVisitor<TContext>, IQueryElement, IQueryElement> convertAction) where T : class, IQueryElement
    Parameters
    Type Name Description
    T element
    TContext context
    bool allowMutation
    Func<ConvertVisitor<TContext>, IQueryElement, IQueryElement> convertAction
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    TContext
    T
    | Improve this Doc View Source

    ConvertAll<TContext, T>(T, TContext, Func<ConvertVisitor<TContext>, IQueryElement, IQueryElement>, Func<ConvertVisitor<TContext>, bool>)

    Declaration
    public static T ConvertAll<TContext, T>(this T element, TContext context, Func<ConvertVisitor<TContext>, IQueryElement, IQueryElement> convertAction, Func<ConvertVisitor<TContext>, bool> parentAction) where T : class, IQueryElement
    Parameters
    Type Name Description
    T element
    TContext context
    Func<ConvertVisitor<TContext>, IQueryElement, IQueryElement> convertAction
    Func<ConvertVisitor<TContext>, bool> parentAction
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    TContext
    T
    | Improve this Doc View Source

    ConvertAll<TContext, T>(T, TContext, Func<ConvertVisitor<TContext>, IQueryElement, IQueryElement>)

    Declaration
    public static T ConvertAll<TContext, T>(this T element, TContext context, Func<ConvertVisitor<TContext>, IQueryElement, IQueryElement> convertAction) where T : class, IQueryElement
    Parameters
    Type Name Description
    T element
    TContext context
    Func<ConvertVisitor<TContext>, IQueryElement, IQueryElement> convertAction
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    TContext
    T
    | Improve this Doc View Source

    Find(IQueryElement?, QueryElementType)

    Declaration
    public static IQueryElement? Find(this IQueryElement? element, QueryElementType type)
    Parameters
    Type Name Description
    IQueryElement element
    QueryElementType type
    Returns
    Type Description
    IQueryElement
    | Improve this Doc View Source

    Find(IQueryElement?, Func<IQueryElement, bool>)

    Declaration
    public static IQueryElement? Find(this IQueryElement? element, Func<IQueryElement, bool> find)
    Parameters
    Type Name Description
    IQueryElement element
    Func<IQueryElement, bool> find
    Returns
    Type Description
    IQueryElement
    | Improve this Doc View Source

    Find<TContext>(IQueryElement?, TContext, Func<TContext, IQueryElement, bool>)

    Declaration
    public static IQueryElement? Find<TContext>(this IQueryElement? element, TContext context, Func<TContext, IQueryElement, bool> find)
    Parameters
    Type Name Description
    IQueryElement element
    TContext context
    Func<TContext, IQueryElement, bool> find
    Returns
    Type Description
    IQueryElement
    Type Parameters
    Name Description
    TContext
    | Improve this Doc View Source

    Visit(IQueryElement, Action<IQueryElement>)

    Declaration
    public static void Visit(this IQueryElement element, Action<IQueryElement> action)
    Parameters
    Type Name Description
    IQueryElement element
    Action<IQueryElement> action
    | Improve this Doc View Source

    Visit<TContext>(IQueryElement, TContext, Action<TContext, IQueryElement>)

    Declaration
    public static void Visit<TContext>(this IQueryElement element, TContext context, Action<TContext, IQueryElement> action)
    Parameters
    Type Name Description
    IQueryElement element
    TContext context
    Action<TContext, IQueryElement> action
    Type Parameters
    Name Description
    TContext
    | Improve this Doc View Source

    VisitAll(IQueryElement, Action<IQueryElement>)

    Declaration
    public static void VisitAll(this IQueryElement element, Action<IQueryElement> action)
    Parameters
    Type Name Description
    IQueryElement element
    Action<IQueryElement> action
    | Improve this Doc View Source

    VisitAll<TContext>(IQueryElement, TContext, Action<TContext, IQueryElement>)

    Declaration
    public static void VisitAll<TContext>(this IQueryElement element, TContext context, Action<TContext, IQueryElement> action)
    Parameters
    Type Name Description
    IQueryElement element
    TContext context
    Action<TContext, IQueryElement> action
    Type Parameters
    Name Description
    TContext
    | Improve this Doc View Source

    VisitParentFirst(IQueryElement, Func<IQueryElement, bool>)

    Declaration
    public static void VisitParentFirst(this IQueryElement element, Func<IQueryElement, bool> action)
    Parameters
    Type Name Description
    IQueryElement element
    Func<IQueryElement, bool> action
    | Improve this Doc View Source

    VisitParentFirst<TContext>(IQueryElement, TContext, Func<TContext, IQueryElement, bool>)

    Declaration
    public static void VisitParentFirst<TContext>(this IQueryElement element, TContext context, Func<TContext, IQueryElement, bool> action)
    Parameters
    Type Name Description
    IQueryElement element
    TContext context
    Func<TContext, IQueryElement, bool> action
    Type Parameters
    Name Description
    TContext
    | Improve this Doc View Source

    VisitParentFirstAll(IQueryElement, Func<IQueryElement, bool>)

    Declaration
    public static void VisitParentFirstAll(this IQueryElement element, Func<IQueryElement, bool> action)
    Parameters
    Type Name Description
    IQueryElement element
    Func<IQueryElement, bool> action
    | Improve this Doc View Source

    VisitParentFirstAll<TContext>(IQueryElement, TContext, Func<TContext, IQueryElement, bool>)

    Declaration
    public static void VisitParentFirstAll<TContext>(this IQueryElement element, TContext context, Func<TContext, IQueryElement, bool> action)
    Parameters
    Type Name Description
    IQueryElement element
    TContext context
    Func<TContext, IQueryElement, bool> action
    Type Parameters
    Name Description
    TContext
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2011-2023 linq2db.com

    Generated by DocFX