Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Translate Enumerable.Concat over bytea #4054

Description

@roji

Translate Enumerable.Concat over byte[] properties mapped to PostgreSQL bytea using ||, with composition through ToArray(), Length, and SequenceEqual().

byte[] suffix = [1, 2];
var query = context.Entities.Where(e => e.Bytes.Concat(suffix).ToArray().Length == 6);

Implementation: #2200. The PR supports bytea columns, captured byte[] parameters, and inline constant/empty byte arrays as suffixes. Incompatible CLR types/store mappings are rejected during translation. Parameter-first concatenation and dynamic inline arrays remain unsupported.

Related upstream translation/shared-test tracking: dotnet/efcore#39345.

Activity

  1. added theissue type on Oct 20, 2026
  2. added this to the 11.0.0 milestone on Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions