Skip to content

Cosmos: ReadItem should be used for Reload #33893

Open

Description

Same repro code as for #33881. Do:

await context.Entry(x).ReloadAsync();

This could be a ReadItem, but is actually:

      SELECT VALUE {"Id" : c["Id"], "Discriminator" : c["Discriminator"], "Title" : c["Title"], "id0" : c["id"], "" : c}
      FROM root c
      WHERE ((c["Discriminator"] = "Post") AND (c["Id"] = @__p_0))
      OFFSET 0 LIMIT 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions