Skip to content

Inlined VALUES parameterized collection does not preserve ordering or type mapping #36158

@roji

Description

@roji

When using a (regular, non-parameterized) inline primitive collection, we inject an _ord SQL column if ordering needs to be preserved, and wrap the first row's value in a CAST(8 AS int) to ensure that the correct store type is used by the database. However, when the same query is performed with EF.Constant - inlining a parameterized collection - these two things aren't done.

/cc @cincuranet

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions