Share via


SqlTreePruner.PruneValues(ValuesExpression) Method

Definition

Prunes a ValuesExpression, removing columns inside it which aren't referenced. This currently removes the _ord column that gets added to preserve ordering, for cases where that ordering isn't actually necessary.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.ValuesExpression PruneValues(Microsoft.EntityFrameworkCore.Query.SqlExpressions.ValuesExpression values);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member PruneValues : Microsoft.EntityFrameworkCore.Query.SqlExpressions.ValuesExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.ValuesExpression
override this.PruneValues : Microsoft.EntityFrameworkCore.Query.SqlExpressions.ValuesExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.ValuesExpression
Protected Overridable Function PruneValues (values As ValuesExpression) As ValuesExpression

Parameters

Returns

Attributes

Remarks

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

Applies to