Show / Hide Table of Contents

    Class WhereExpression

    Expression, which represent WHERE statement from sql select query.

    Inheritance
    System.Object
    System.Linq.Expressions.Expression
    QueryExpression
    ArgsExpression
    WhereExpression
    Inherited Members
    ArgsExpression.Sql
    ArgsExpression.Parameters
    QueryExpression.NodeType
    QueryExpression.Type
    Namespace: Kros.KORM.Query.Expressions
    Assembly: Kros.KORM.dll
    Syntax
    public class WhereExpression : ArgsExpression

    Constructors

    WhereExpression(RawSqlString, Object[])

    Initializes a new instance of the TableExpression class.

    Declaration
    public WhereExpression(RawSqlString whereCondition, params object[] args)
    Parameters
    Type Name Description
    RawSqlString whereCondition

    The where condition.

    System.Object[] args

    Where args.

    Fields

    WhereStatement

    Where statement

    Declaration
    public const string WhereStatement = "WHERE"
    Field Value
    Type Description
    System.String

    Methods

    Accept(ExpressionVisitor)

    Dispatches to the specific visit method for this node type. For example, System.Linq.Expressions.MethodCallExpression calls the System.Linq.Expressions.ExpressionVisitor.VisitMethodCall(System.Linq.Expressions.MethodCallExpression).

    Declaration
    protected override Expression Accept(ExpressionVisitor visitor)
    Parameters
    Type Name Description
    System.Linq.Expressions.ExpressionVisitor visitor

    The visitor to visit this node with.

    Returns
    Type Description
    System.Linq.Expressions.Expression

    The result of visiting this node.

    Overrides
    System.Linq.Expressions.Expression.Accept(System.Linq.Expressions.ExpressionVisitor)

    See Also

    ISqlExpressionVisitor
    Back to top KROS a.s.