Skip to content

Commit db5d68e

Browse files
rojiCopilot
andauthored
Sync to EF 11.0.0-preview.3.26174.112 (#3793)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent c9c73d6 commit db5d68e

File tree

3 files changed

+33
-3
lines changed

3 files changed

+33
-3
lines changed

Directory.Packages.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project>
22
<PropertyGroup>
3-
<EFCoreVersion>11.0.0-preview.3.26167.112</EFCoreVersion>
4-
<MicrosoftExtensionsVersion>11.0.0-preview.3.26167.112</MicrosoftExtensionsVersion>
5-
<MicrosoftExtensionsConfigurationVersion>11.0.0-preview.3.26167.112</MicrosoftExtensionsConfigurationVersion>
3+
<EFCoreVersion>11.0.0-preview.3.26174.112</EFCoreVersion>
4+
<MicrosoftExtensionsVersion>11.0.0-preview.3.26174.112</MicrosoftExtensionsVersion>
5+
<MicrosoftExtensionsConfigurationVersion>11.0.0-preview.3.26174.112</MicrosoftExtensionsConfigurationVersion>
66
<NpgsqlVersion>10.0.0</NpgsqlVersion>
77
</PropertyGroup>
88

test/EFCore.PG.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesNpgsqlTest.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,18 @@ WHERE c."CustomerID" LIKE 'F%'
667667
""");
668668
}
669669

670+
public override async Task Update_Where_set_nullable_int_constant_via_discard_lambda(bool async)
671+
{
672+
await base.Update_Where_set_nullable_int_constant_via_discard_lambda(async);
673+
674+
AssertExecuteUpdateSql(
675+
"""
676+
UPDATE "Products" AS p
677+
SET "SupplierID" = 1
678+
WHERE p."ProductID" < 5
679+
""");
680+
}
681+
670682
public override async Task Update_Where_parameter_set_constant(bool async)
671683
{
672684
await base.Update_Where_parameter_set_constant(async);

test/EFCore.PG.FunctionalTests/Query/Associations/ComplexJson/ComplexJsonCollectionNpgsqlTest.cs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,24 @@ public override async Task Index_on_nested_collection()
226226
""");
227227
}
228228

229+
public override async Task Project_struct_complex_type_with_entity_collection_navigation()
230+
{
231+
await base.Project_struct_complex_type_with_entity_collection_navigation();
232+
233+
AssertSql(
234+
"""
235+
SELECT p0."Coords_X", p0."Coords_Y", p0."Id", c."Id", c."Name", c."ParentId"
236+
FROM (
237+
SELECT p."Coords_X", p."Coords_Y", p."Id"
238+
FROM "Parent" AS p
239+
ORDER BY p."Id" NULLS FIRST
240+
LIMIT 1
241+
) AS p0
242+
LEFT JOIN "Child" AS c ON p0."Id" = c."ParentId"
243+
ORDER BY p0."Id" NULLS FIRST
244+
""");
245+
}
246+
229247
[ConditionalFact]
230248
public virtual void Check_all_tests_overridden()
231249
=> TestHelpers.AssertAllMethodsOverridden(GetType());

0 commit comments

Comments
 (0)