Share via


RowNumberExpression.Update Method

Definition

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.RowNumberExpression Update (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> partitions, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.OrderingExpression> orderings);
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.RowNumberExpression Update (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression>? partitions, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.OrderingExpression> orderings);
abstract member Update : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.OrderingExpression> -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.RowNumberExpression
override this.Update : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.OrderingExpression> -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.RowNumberExpression
Public Overridable Function Update (partitions As IReadOnlyList(Of SqlExpression), orderings As IReadOnlyList(Of OrderingExpression)) As RowNumberExpression

Parameters

partitions
IReadOnlyList<SqlExpression>

The Partitions property of the result.

orderings
IReadOnlyList<OrderingExpression>

The Orderings property of the result.

Returns

This expression if no children changed, or an expression with the updated children.

Applies to