Search Results for

    Show / Hide Table of Contents

    Class QueryTranslator

    Translates Expression trees to TCQL.

    Inheritance
    System.Object
    QueryTranslator
    Namespace: TimeCockpit.Data.QueryLanguage.Queryable
    Assembly: TimeCockpit.Data.dll
    Syntax
    public class QueryTranslator : ExpressionVisitor

    Constructors

    QueryTranslator()

    Declaration
    public QueryTranslator()

    Methods

    TranslateQuery(Expression, Model, String)

    Translates a expression to TCQL.

    Declaration
    public static string TranslateQuery(Expression expression, Model model, string sourceEntityName)
    Parameters
    Type Name Description
    System.Linq.Expressions.Expression expression

    The expression to translate.

    Model model

    The model.

    System.String sourceEntityName

    The name of the source entity.

    Returns
    Type Description
    System.String

    Returns the TCQL Expression.

    VisitBinary(BinaryExpression)

    Declaration
    protected override Expression VisitBinary(BinaryExpression b)
    Parameters
    Type Name Description
    System.Linq.Expressions.BinaryExpression b
    Returns
    Type Description
    System.Linq.Expressions.Expression

    VisitConstant(ConstantExpression)

    Declaration
    protected override Expression VisitConstant(ConstantExpression c)
    Parameters
    Type Name Description
    System.Linq.Expressions.ConstantExpression c
    Returns
    Type Description
    System.Linq.Expressions.Expression

    VisitMember(MemberExpression)

    Declaration
    protected override Expression VisitMember(MemberExpression m)
    Parameters
    Type Name Description
    System.Linq.Expressions.MemberExpression m
    Returns
    Type Description
    System.Linq.Expressions.Expression

    VisitMethodCall(MethodCallExpression)

    Declaration
    protected override Expression VisitMethodCall(MethodCallExpression m)
    Parameters
    Type Name Description
    System.Linq.Expressions.MethodCallExpression m
    Returns
    Type Description
    System.Linq.Expressions.Expression
    In This Article
    Back to top Copyright © 2025 software architects gmbh