Share via


SqlFragmentExpression Class

Definition

Represents a SQL fragment that will be directly inserted into the generated output during SQL generation.

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

Constructors

SqlFragmentExpression(String)

Creates a new instance of a SqlFragmentExpression.

Properties

NodeType

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

Sql

The SQL fragment.

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.

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