Class QueryVisitorExtensions
Inheritance
QueryVisitorExtensions
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
Returns
Type Parameters
|
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
Returns
Type Parameters
|
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 Parameters
|
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
Returns
Type Parameters
|
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
Returns
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
Returns
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
Returns
Type Parameters
|
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
Returns
Type Parameters
|
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
Returns
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
Returns
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
Returns
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
Returns
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
Returns
Type Parameters
|
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
Returns
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
Returns
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
Returns
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
Returns
|
Improve this Doc
View Source
Find(IQueryElement?, Func<IQueryElement, bool>)
Declaration
public static IQueryElement? Find(this IQueryElement? element, Func<IQueryElement, bool> find)
Parameters
Returns
|
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
Returns
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
|
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 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
|
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 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
|
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 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
|
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 Parameters
Name |
Description |
TContext |
|