Share via


LikeExpression Class

Definition

Represents a SQL LIKE expression.

public class LikeExpression : System.Linq.Expressions.Expression
type LikeExpression = class
    inherit Expression
Public Class LikeExpression
Inherits Expression
Inheritance
LikeExpression

Constructors

LikeExpression(Expression, Expression, Expression)

Creates a new instance of LikeExpression.

LikeExpression(Expression, Expression)

Creates a new instance of LikeExpression.

Properties

EscapeChar

Gets the escape character to use in Pattern.

Match

Gets the match expression.

NodeType

Returns the node type of this Expression. (Inherited from Expression.)

Pattern

Gets the pattern to match.

Type

Gets the static type of the expression that this Expression represents. (Inherited from Expression.)

Methods

Accept(ExpressionVisitor)

Dispatches to the specific visit method for this node type.

Equals(Object)

Tests if this object is considered equal to another.

GetHashCode()

Returns a hash code for this object.

ToString()

Creates a String representation of the Expression.

VisitChildren(ExpressionVisitor)

Reduces the node and then calls the Visit(Expression) method passing the reduced expression. Throws an exception if the node isn't reducible.

Applies to