SqlParameterExpression Class

Definition

An expression that represents a parameter in a SQL tree.

public class SqlParameterExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
public sealed class SqlParameterExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
type SqlParameterExpression = class
    inherit SqlExpression
Public Class SqlParameterExpression
Inherits SqlExpression
Public NotInheritable Class SqlParameterExpression
Inherits SqlExpression
Inheritance
SqlParameterExpression

Remarks

This is a simple wrapper around a ParameterExpression in the SQL tree. Instances of this type cannot be constructed by application or database provider code. If this is a problem for your application or provider, then please file an issue at github.com/dotnet/efcore.

Constructors

SqlParameterExpression(String, Type, RelationalTypeMapping)

Creates a new instance of the SqlParameterExpression class.

Properties

IsNullable

The bool value indicating if this parameter can have null values.

Name

The name of the parameter.

NodeType (Inherited from SqlExpression)
Type (Inherited from SqlExpression)
TypeMapping

The RelationalTypeMapping associated with this expression.

(Inherited from SqlExpression)

Methods

ApplyTypeMapping(RelationalTypeMapping)

Applies supplied type mapping to this expression.

Equals(Object) System.Linq.Expressions.Expression.Equals(System.Object)
GetHashCode() System.Linq.Expressions.Expression.GetHashCode
Print(ExpressionPrinter)

Creates a printable string representation of the given expression using ExpressionPrinter.

Print(ExpressionPrinter)

Creates a printable string representation of the given expression using ExpressionPrinter.

(Inherited from SqlExpression)
VisitChildren(ExpressionVisitor)

Reduces the node and then calls the visitor delegate on the reduced expression. The method throws an exception if the node is not reducible.

VisitChildren(ExpressionVisitor) (Inherited from SqlExpression)

Explicit Interface Implementations

IPrintableExpression.Print(ExpressionPrinter)

Creates a printable string representation of the given expression using ExpressionPrinter.

(Inherited from SqlExpression)

Applies to