InExpression Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An expression that represents an IN operation in a SQL tree.
This type is typically used by database providers (and other extensions). It is generally not used in application code.
public class InExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
type InExpression = class
inherit SqlExpression
Public Class InExpression
Inherits SqlExpression
- Inheritance
Constructors
InExpression(SqlExpression, Boolean, SelectExpression, RelationalTypeMapping) |
Obsolete.
Creates a new instance of the InExpression class which represents a |
InExpression(SqlExpression, Boolean, SqlExpression, RelationalTypeMapping) |
Obsolete.
Creates a new instance of the InExpression class which represents a |
InExpression(SqlExpression, IReadOnlyList<SqlExpression>, RelationalTypeMapping) |
Creates a new instance of the InExpression class, representing a SQL |
InExpression(SqlExpression, SelectExpression, Boolean, RelationalTypeMapping) |
Creates a new instance of the InExpression class which represents a |
InExpression(SqlExpression, SelectExpression, RelationalTypeMapping) |
Creates a new instance of the InExpression class, representing a SQL |
InExpression(SqlExpression, SqlExpression, Boolean, RelationalTypeMapping) |
Creates a new instance of the InExpression class which represents a |
InExpression(SqlExpression, SqlParameterExpression, RelationalTypeMapping) |
Creates a new instance of the InExpression class, representing a SQL |
Properties
IsNegated |
The value indicating if item should be present in the values or absent. |
Item |
The item to look into values. |
NodeType | (Inherited from SqlExpression) |
Subquery |
The subquery to search the item in. |
Type | (Inherited from SqlExpression) |
TypeMapping |
The RelationalTypeMapping associated with this expression. (Inherited from SqlExpression) |
Values |
The list of values to search the item in. |
ValuesParameter |
A parameter containing the list of values to search the item in. The parameterized list get expanded to the actual value before the query SQL is generated. |
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 |
Negate() |
Negates this expression by changing presence/absence state indicated by IsNegated. |
Print(ExpressionPrinter) |
Creates a printable string representation of the given expression using ExpressionPrinter. |
Update(SqlExpression, IReadOnlyList<SqlExpression>) |
Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression. |
Update(SqlExpression, SelectExpression) |
Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression. |
Update(SqlExpression, SelectExpression, IReadOnlyList<SqlExpression>, SqlParameterExpression) |
Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression. |
Update(SqlExpression, SqlExpression, SelectExpression) |
Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression. |
Update(SqlExpression, SqlParameterExpression) |
Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression. |
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. |
Explicit Interface Implementations
IPrintableExpression.Print(ExpressionPrinter) |
Creates a printable string representation of the given expression using ExpressionPrinter. (Inherited from SqlExpression) |
Applies to
Entity Framework