SqlExpressionFactory.Exists Method
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.
Overloads
Exists(SelectExpression) |
Creates a new ExistsExpression which represents an EXISTS operation in a SQL tree. |
Exists(SelectExpression, Boolean) |
Creates a new ExistsExpression which represents an EXISTS operation in a SQL tree. |
Exists(SelectExpression)
Creates a new ExistsExpression which represents an EXISTS operation in a SQL tree.
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.ExistsExpression Exists (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression subquery);
abstract member Exists : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.ExistsExpression
override this.Exists : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.ExistsExpression
Public Overridable Function Exists (subquery As SelectExpression) As ExistsExpression
Parameters
- subquery
- SelectExpression
A subquery to check existence of.
Returns
An expression representing an EXISTS operation in a SQL tree.
Implements
Applies to
Exists(SelectExpression, Boolean)
Creates a new ExistsExpression which represents an EXISTS operation in a SQL tree.
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.ExistsExpression Exists (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression subquery, bool negated);
abstract member Exists : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * bool -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.ExistsExpression
override this.Exists : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * bool -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.ExistsExpression
Public Overridable Function Exists (subquery As SelectExpression, negated As Boolean) As ExistsExpression
Parameters
- subquery
- SelectExpression
A subquery to check existence of.
- negated
- Boolean
A value indicating if the existence check is negated.
Returns
An expression representing an EXISTS operation in a SQL tree.
Implements
Applies to
Entity Framework