Share via


RelationalQueryableMethodTranslatingExpressionVisitor.TransformJsonQueryToTable Method

Definition

Invoked when LINQ operators are composed over a collection within a JSON document. Transforms the provided JsonQueryExpression - representing access to the collection - into a provider-specific means to expand the JSON array into a relational table/rowset (e.g. SQL Server OPENJSON).

protected virtual Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression? TransformJsonQueryToTable (Microsoft.EntityFrameworkCore.Query.JsonQueryExpression jsonQueryExpression);
abstract member TransformJsonQueryToTable : Microsoft.EntityFrameworkCore.Query.JsonQueryExpression -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
override this.TransformJsonQueryToTable : Microsoft.EntityFrameworkCore.Query.JsonQueryExpression -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected Overridable Function TransformJsonQueryToTable (jsonQueryExpression As JsonQueryExpression) As ShapedQueryExpression

Parameters

jsonQueryExpression
JsonQueryExpression

The JsonQueryExpression referencing the JSON array.

Returns

A ShapedQueryExpression if the translation was successful, otherwise null.

Applies to