Share via


InExpression Constructors

Definition

Overloads

InExpression(SqlExpression, SelectExpression, RelationalTypeMapping)

Creates a new instance of the InExpression class, representing a SQL IN expression with a subquery.

InExpression(SqlExpression, SqlParameterExpression, RelationalTypeMapping)

Creates a new instance of the InExpression class, representing a SQL IN expression with a given parameterized list of values.

InExpression(SqlExpression, IReadOnlyList<SqlExpression>, RelationalTypeMapping)

Creates a new instance of the InExpression class, representing a SQL IN expression with a given list of values.

InExpression(SqlExpression, SelectExpression, Boolean, RelationalTypeMapping)

Creates a new instance of the InExpression class which represents a item IN subquery expression.

InExpression(SqlExpression, SqlExpression, Boolean, RelationalTypeMapping)

Creates a new instance of the InExpression class which represents a item IN values expression.

InExpression(SqlExpression, Boolean, SelectExpression, RelationalTypeMapping)
Obsolete.

Creates a new instance of the InExpression class which represents a item IN subquery expression.

InExpression(SqlExpression, Boolean, SqlExpression, RelationalTypeMapping)
Obsolete.

Creates a new instance of the InExpression class which represents a item IN values expression.

InExpression(SqlExpression, SelectExpression, RelationalTypeMapping)

Creates a new instance of the InExpression class, representing a SQL IN expression with a subquery.

public InExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression subquery, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
Public Sub New (item As SqlExpression, subquery As SelectExpression, typeMapping As RelationalTypeMapping)

Parameters

item
SqlExpression

An item to look into values.

subquery
SelectExpression

A subquery in which the item is searched.

typeMapping
RelationalTypeMapping

The RelationalTypeMapping associated with the expression.

Applies to

InExpression(SqlExpression, SqlParameterExpression, RelationalTypeMapping)

Creates a new instance of the InExpression class, representing a SQL IN expression with a given parameterized list of values.

public InExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlParameterExpression valuesParameter, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlParameterExpression * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
Public Sub New (item As SqlExpression, valuesParameter As SqlParameterExpression, typeMapping As RelationalTypeMapping)

Parameters

item
SqlExpression

An item to look into values.

valuesParameter
SqlParameterExpression

A parameterized list of values in which the item is searched.

typeMapping
RelationalTypeMapping

The RelationalTypeMapping associated with the expression.

Applies to

InExpression(SqlExpression, IReadOnlyList<SqlExpression>, RelationalTypeMapping)

Creates a new instance of the InExpression class, representing a SQL IN expression with a given list of values.

public InExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> values, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
Public Sub New (item As SqlExpression, values As IReadOnlyList(Of SqlExpression), typeMapping As RelationalTypeMapping)

Parameters

item
SqlExpression

An item to look into values.

values
IReadOnlyList<SqlExpression>

A list of values in which the item is searched.

typeMapping
RelationalTypeMapping

The RelationalTypeMapping associated with the expression.

Applies to

InExpression(SqlExpression, SelectExpression, Boolean, RelationalTypeMapping)

Creates a new instance of the InExpression class which represents a item IN subquery expression.

public InExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression subquery, bool negated, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * bool * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
Public Sub New (item As SqlExpression, subquery As SelectExpression, negated As Boolean, typeMapping As RelationalTypeMapping)

Parameters

item
SqlExpression

An item to look into values.

subquery
SelectExpression

A subquery in which item is searched.

negated
Boolean

A value indicating if the item should be present in the values or absent.

typeMapping
RelationalTypeMapping

The RelationalTypeMapping associated with the expression.

Applies to

InExpression(SqlExpression, SqlExpression, Boolean, RelationalTypeMapping)

Creates a new instance of the InExpression class which represents a item IN values expression.

public InExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression values, bool negated, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * bool * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
Public Sub New (item As SqlExpression, values As SqlExpression, negated As Boolean, typeMapping As RelationalTypeMapping)

Parameters

item
SqlExpression

An item to look into values.

values
SqlExpression

A list of values in which item is searched.

negated
Boolean

A value indicating if the item should be present in the values or absent.

typeMapping
RelationalTypeMapping

The RelationalTypeMapping associated with the expression.

Applies to

InExpression(SqlExpression, Boolean, SelectExpression, RelationalTypeMapping)

Caution

Use overload which passes negated argument after subquery argument.

Creates a new instance of the InExpression class which represents a item IN subquery expression.

public InExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, bool negated, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression subquery, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
[System.Obsolete("Use overload which passes negated argument after subquery argument.")]
public InExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, bool negated, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression subquery, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
[System.Obsolete("Use overload which passes negated argument after subquery argument.")]
public InExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, bool negated, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression subquery, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * bool * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
[<System.Obsolete("Use overload which passes negated argument after subquery argument.")>]
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * bool * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
Public Sub New (item As SqlExpression, negated As Boolean, subquery As SelectExpression, typeMapping As RelationalTypeMapping)

Parameters

item
SqlExpression

An item to look into values.

negated
Boolean

A value indicating if the item should be present in the values or absent.

subquery
SelectExpression

A subquery in which item is searched.

typeMapping
RelationalTypeMapping

The RelationalTypeMapping associated with the expression.

Attributes

Applies to

InExpression(SqlExpression, Boolean, SqlExpression, RelationalTypeMapping)

Caution

Use overload which passes negated argument after values argument.

Creates a new instance of the InExpression class which represents a item IN values expression.

public InExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, bool negated, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression values, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
[System.Obsolete("Use overload which passes negated argument after values argument.")]
public InExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, bool negated, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression values, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
[System.Obsolete("Use overload which passes negated argument after values argument.")]
public InExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, bool negated, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression values, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * bool * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
[<System.Obsolete("Use overload which passes negated argument after values argument.")>]
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * bool * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
Public Sub New (item As SqlExpression, negated As Boolean, values As SqlExpression, typeMapping As RelationalTypeMapping)

Parameters

item
SqlExpression

An item to look into values.

negated
Boolean

A value indicating if the item should be present in the values or absent.

values
SqlExpression

A list of values in which item is searched.

typeMapping
RelationalTypeMapping

The RelationalTypeMapping associated with the expression.

Attributes

Applies to