-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Open
Labels
Milestone
Description
This affects EntityEntry.Reload().
Currently
context.TestEntries.Select(e => new object[] { EF.Property<string>(e, "Id"), EF.Property<string>(e, "__id"), EF.Property<JObject>(e, "__jObject") }).First();is translated to
SELECT VALUE {"Id" : c["Id"], "id0" : c["id"], "" : c}
FROM root c
WHERE (c["Discriminator"] = "TestEntry")
OFFSET 0 LIMIT 1instead of
SELECT [c["Id"], c["id"], c] as c
FROM root c
WHERE (c["Discriminator"] = "TestEntry")
OFFSET 0 LIMIT 1Also the current translation shouldn't uniquify, Cosmos is case-sensitive
Reactions are currently unavailable