InExpression.Update 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
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, 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, 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, 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, SelectExpression)
- Source:
- InExpression.cs
- Source:
- InExpression.cs
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.
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression Update (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression subquery);
abstract member Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
override this.Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
Public Overridable Function Update (item As SqlExpression, subquery As SelectExpression) As InExpression
Parameters
- item
- SqlExpression
The Item property of the result.
- subquery
- SelectExpression
The Subquery property of the result.
Returns
This expression if no children changed, or an expression with the updated children.
Applies to
Update(SqlExpression, SqlParameterExpression)
- Source:
- InExpression.cs
- Source:
- InExpression.cs
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.
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression Update (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlParameterExpression valuesParameter);
abstract member Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlParameterExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
override this.Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlParameterExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
Public Overridable Function Update (item As SqlExpression, valuesParameter As SqlParameterExpression) As InExpression
Parameters
- item
- SqlExpression
The Item property of the result.
- valuesParameter
- SqlParameterExpression
The ValuesParameter property of the result.
Returns
This expression if no children changed, or an expression with the updated children.
Applies to
Update(SqlExpression, IReadOnlyList<SqlExpression>)
- Source:
- InExpression.cs
- Source:
- InExpression.cs
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.
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression Update (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> values);
abstract member Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
override this.Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
Public Overridable Function Update (item As SqlExpression, values As IReadOnlyList(Of SqlExpression)) As InExpression
Parameters
- item
- SqlExpression
The Item property of the result.
- values
- IReadOnlyList<SqlExpression>
The Values property of the result.
Returns
This expression if no children changed, or an expression with the updated children.
Applies to
Update(SqlExpression, SqlExpression, SelectExpression)
- Source:
- InExpression.cs
- Source:
- InExpression.cs
- Source:
- InExpression.cs
- Source:
- InExpression.cs
- Source:
- InExpression.cs
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.
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression Update (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression values, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression subquery);
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression Update (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? values, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression? subquery);
abstract member Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
override this.Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
Public Overridable Function Update (item As SqlExpression, values As SqlExpression, subquery As SelectExpression) As InExpression
Parameters
- item
- SqlExpression
The Item property of the result.
- values
- SqlExpression
The Values property of the result.
- subquery
- SelectExpression
The Subquery property of the result.
Returns
This expression if no children changed, or an expression with the updated children.
Applies to
Update(SqlExpression, SelectExpression, IReadOnlyList<SqlExpression>, SqlParameterExpression)
- Source:
- InExpression.cs
- Source:
- InExpression.cs
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.
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression Update (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression item, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression? subquery, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression>? values, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlParameterExpression? valuesParameter);
abstract member Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlParameterExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
override this.Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlParameterExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.InExpression
Public Overridable Function Update (item As SqlExpression, subquery As SelectExpression, values As IReadOnlyList(Of SqlExpression), valuesParameter As SqlParameterExpression) As InExpression
Parameters
- item
- SqlExpression
The Item property of the result.
- subquery
- SelectExpression
The Subquery property of the result.
- values
- IReadOnlyList<SqlExpression>
The Values property of the result.
- valuesParameter
- SqlParameterExpression
The ValuesParameter property of the result.
Returns
This expression if no children changed, or an expression with the updated children.
Applies to
Entity Framework