From 46a47a555122808eeff059c0b6b9d7c61a9ca5d6 Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Thu, 21 Nov 2024 12:07:05 +1100 Subject: [PATCH 1/4] . --- src/GraphQL.EntityFramework/GraphQL.EntityFramework.csproj | 2 +- src/SampleWeb.Tests/SampleWeb.Tests.csproj | 2 +- src/SampleWeb/SampleWeb.csproj | 2 +- src/Snippets/Snippets.csproj | 2 +- src/Tests/Tests.csproj | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/GraphQL.EntityFramework/GraphQL.EntityFramework.csproj b/src/GraphQL.EntityFramework/GraphQL.EntityFramework.csproj index e7d40b4f2..319b10216 100644 --- a/src/GraphQL.EntityFramework/GraphQL.EntityFramework.csproj +++ b/src/GraphQL.EntityFramework/GraphQL.EntityFramework.csproj @@ -1,6 +1,6 @@ - net8.0 + net9.0 Add EntityFramework Core IQueryable support to GraphQL true diff --git a/src/SampleWeb.Tests/SampleWeb.Tests.csproj b/src/SampleWeb.Tests/SampleWeb.Tests.csproj index 56450829d..6394a93f5 100644 --- a/src/SampleWeb.Tests/SampleWeb.Tests.csproj +++ b/src/SampleWeb.Tests/SampleWeb.Tests.csproj @@ -1,6 +1,6 @@ - net8.0 + net9.0 false Exe xUnit1051 diff --git a/src/SampleWeb/SampleWeb.csproj b/src/SampleWeb/SampleWeb.csproj index 6cd9d68e2..2ccc58f4a 100644 --- a/src/SampleWeb/SampleWeb.csproj +++ b/src/SampleWeb/SampleWeb.csproj @@ -1,6 +1,6 @@ - net8.0 + net9.0 false diff --git a/src/Snippets/Snippets.csproj b/src/Snippets/Snippets.csproj index 2a519c278..3ec37a6bc 100644 --- a/src/Snippets/Snippets.csproj +++ b/src/Snippets/Snippets.csproj @@ -1,6 +1,6 @@ - net8.0 + net9.0 Exe xUnit1051 diff --git a/src/Tests/Tests.csproj b/src/Tests/Tests.csproj index 67115a5fa..2cda2ea34 100644 --- a/src/Tests/Tests.csproj +++ b/src/Tests/Tests.csproj @@ -1,6 +1,6 @@ - net8.0 + net9.0 $(NoWarn);EF1000;xUnit1051 Exe From efcaa7213904eeea8ebaa16471f1d7ce4dc6f197 Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Thu, 21 Nov 2024 13:28:36 +1100 Subject: [PATCH 2/4] Update Directory.Packages.props --- src/Directory.Packages.props | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props index 6aef6d2d3..0eec1b83b 100644 --- a/src/Directory.Packages.props +++ b/src/Directory.Packages.props @@ -5,7 +5,7 @@ - + @@ -13,14 +13,14 @@ - + - - + + - + From 0e4358af9e1f672f538ba1ae41e85cf15b0f74be Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Thu, 21 Nov 2024 13:36:12 +1100 Subject: [PATCH 3/4] Update Directory.Build.props --- src/Directory.Build.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 243eb9932..f90679900 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -2,7 +2,7 @@ CS1591;NU5104;CS1573;CS9107 - 27.2.2 + 28.0.0 preview 1.0.0 EntityFrameworkCore, EntityFramework, GraphQL From a64b373a213e63a7816f1e6a4cf2d73a4e9f8581 Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Thu, 21 Nov 2024 13:45:17 +1100 Subject: [PATCH 4/4] re verify --- .../IntegrationTests.FirstParent_Child.verified.txt | 8 ++++---- ...ationTests.FirstParent_Child_WithFragment.verified.txt | 8 ++++---- .../IntegrationTests.First_IdOnly.verified.txt | 8 ++++---- .../IntegrationTests.First_NoArgs.verified.txt | 8 ++++---- ...rationTests.ManyToManyLeftWhereAndInclude.verified.txt | 6 +++--- ...ts.ManyToManyLeftWhereAndInclude_notEqual.verified.txt | 6 +++--- ...ationTests.ManyToManyRightWhereAndInclude.verified.txt | 6 +++--- ...s.ManyToManyRightWhereAndInclude_notEqual.verified.txt | 6 +++--- .../IntegrationTests.SingleParent_Child.verified.txt | 8 ++++---- ...tionTests.SingleParent_Child_WithFragment.verified.txt | 8 ++++---- ...egrationTests.SingleParent_Child_mutation.verified.txt | 8 ++++---- .../IntegrationTests.Single_IdOnly.verified.txt | 8 ++++---- .../IntegrationTests.Single_NoArgs.verified.txt | 8 ++++---- 13 files changed, 48 insertions(+), 48 deletions(-) diff --git a/src/Tests/IntegrationTests/IntegrationTests.FirstParent_Child.verified.txt b/src/Tests/IntegrationTests/IntegrationTests.FirstParent_Child.verified.txt index d1cfc4292..358121c32 100644 --- a/src/Tests/IntegrationTests/IntegrationTests.FirstParent_Child.verified.txt +++ b/src/Tests/IntegrationTests/IntegrationTests.FirstParent_Child.verified.txt @@ -17,14 +17,14 @@ }, sql: { Text: -SELECT [t].[Id], [t].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property] +SELECT [p0].[Id], [p0].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property] FROM ( SELECT TOP(1) [p].[Id], [p].[Property] FROM [ParentEntities] AS [p] WHERE [p].[Id] = 'Guid_1' -) AS [t] -LEFT JOIN [ChildEntities] AS [c] ON [t].[Id] = [c].[ParentId] -ORDER BY [t].[Id], +) AS [p0] +LEFT JOIN [ChildEntities] AS [c] ON [p0].[Id] = [c].[ParentId] +ORDER BY [p0].[Id], HasTransaction: false } } \ No newline at end of file diff --git a/src/Tests/IntegrationTests/IntegrationTests.FirstParent_Child_WithFragment.verified.txt b/src/Tests/IntegrationTests/IntegrationTests.FirstParent_Child_WithFragment.verified.txt index d1cfc4292..358121c32 100644 --- a/src/Tests/IntegrationTests/IntegrationTests.FirstParent_Child_WithFragment.verified.txt +++ b/src/Tests/IntegrationTests/IntegrationTests.FirstParent_Child_WithFragment.verified.txt @@ -17,14 +17,14 @@ }, sql: { Text: -SELECT [t].[Id], [t].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property] +SELECT [p0].[Id], [p0].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property] FROM ( SELECT TOP(1) [p].[Id], [p].[Property] FROM [ParentEntities] AS [p] WHERE [p].[Id] = 'Guid_1' -) AS [t] -LEFT JOIN [ChildEntities] AS [c] ON [t].[Id] = [c].[ParentId] -ORDER BY [t].[Id], +) AS [p0] +LEFT JOIN [ChildEntities] AS [c] ON [p0].[Id] = [c].[ParentId] +ORDER BY [p0].[Id], HasTransaction: false } } \ No newline at end of file diff --git a/src/Tests/IntegrationTests/IntegrationTests.First_IdOnly.verified.txt b/src/Tests/IntegrationTests/IntegrationTests.First_IdOnly.verified.txt index 2f893be87..0b16bbdba 100644 --- a/src/Tests/IntegrationTests/IntegrationTests.First_IdOnly.verified.txt +++ b/src/Tests/IntegrationTests/IntegrationTests.First_IdOnly.verified.txt @@ -14,14 +14,14 @@ }, sql: { Text: -SELECT [t].[Id], [t].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property] +SELECT [p0].[Id], [p0].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property] FROM ( SELECT TOP(1) [p].[Id], [p].[Property] FROM [ParentEntities] AS [p] WHERE [p].[Id] = 'Guid_1' -) AS [t] -LEFT JOIN [ChildEntities] AS [c] ON [t].[Id] = [c].[ParentId] -ORDER BY [t].[Id], +) AS [p0] +LEFT JOIN [ChildEntities] AS [c] ON [p0].[Id] = [c].[ParentId] +ORDER BY [p0].[Id], HasTransaction: false } } \ No newline at end of file diff --git a/src/Tests/IntegrationTests/IntegrationTests.First_NoArgs.verified.txt b/src/Tests/IntegrationTests/IntegrationTests.First_NoArgs.verified.txt index 95d52c23c..061fdc993 100644 --- a/src/Tests/IntegrationTests/IntegrationTests.First_NoArgs.verified.txt +++ b/src/Tests/IntegrationTests/IntegrationTests.First_NoArgs.verified.txt @@ -14,14 +14,14 @@ }, sql: { Text: -SELECT [t].[Id], [t].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property] +SELECT [p0].[Id], [p0].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property] FROM ( SELECT TOP(1) [p].[Id], [p].[Property] FROM [ParentEntities] AS [p] WHERE [p].[Id] = 'Guid_1' -) AS [t] -LEFT JOIN [ChildEntities] AS [c] ON [t].[Id] = [c].[ParentId] -ORDER BY [t].[Id], +) AS [p0] +LEFT JOIN [ChildEntities] AS [c] ON [p0].[Id] = [c].[ParentId] +ORDER BY [p0].[Id], HasTransaction: false } } \ No newline at end of file diff --git a/src/Tests/IntegrationTests/IntegrationTests.ManyToManyLeftWhereAndInclude.verified.txt b/src/Tests/IntegrationTests/IntegrationTests.ManyToManyLeftWhereAndInclude.verified.txt index a923de172..dbf51cafc 100644 --- a/src/Tests/IntegrationTests/IntegrationTests.ManyToManyLeftWhereAndInclude.verified.txt +++ b/src/Tests/IntegrationTests/IntegrationTests.ManyToManyLeftWhereAndInclude.verified.txt @@ -19,19 +19,19 @@ }, sql: { Text: -SELECT [m].[Id], [m].[RightName], [t].[ManyToManyLeftEntityId], [t].[ManyToManyRightEntityId], [t].[Id], [t].[LeftName] +SELECT [m].[Id], [m].[RightName], [s].[ManyToManyLeftEntityId], [s].[ManyToManyRightEntityId], [s].[Id], [s].[LeftName] FROM [ManyToManyRightEntities] AS [m] LEFT JOIN ( SELECT [m2].[ManyToManyLeftEntityId], [m2].[ManyToManyRightEntityId], [m3].[Id], [m3].[LeftName] FROM [ManyToManyMiddleEntities] AS [m2] INNER JOIN [ManyToManyLeftEntities] AS [m3] ON [m2].[ManyToManyLeftEntityId] = [m3].[Id] -) AS [t] ON [m].[Id] = [t].[ManyToManyRightEntityId] +) AS [s] ON [m].[Id] = [s].[ManyToManyRightEntityId] WHERE EXISTS ( SELECT 1 FROM [ManyToManyMiddleEntities] AS [m0] INNER JOIN [ManyToManyLeftEntities] AS [m1] ON [m0].[ManyToManyLeftEntityId] = [m1].[Id] WHERE [m].[Id] = [m0].[ManyToManyRightEntityId] AND [m1].[LeftName] = N'Left2') -ORDER BY [m].[Id], [t].[ManyToManyLeftEntityId], [t].[ManyToManyRightEntityId], +ORDER BY [m].[Id], [s].[ManyToManyLeftEntityId], [s].[ManyToManyRightEntityId], HasTransaction: false } } \ No newline at end of file diff --git a/src/Tests/IntegrationTests/IntegrationTests.ManyToManyLeftWhereAndInclude_notEqual.verified.txt b/src/Tests/IntegrationTests/IntegrationTests.ManyToManyLeftWhereAndInclude_notEqual.verified.txt index 71bb6a80e..4d19ff834 100644 --- a/src/Tests/IntegrationTests/IntegrationTests.ManyToManyLeftWhereAndInclude_notEqual.verified.txt +++ b/src/Tests/IntegrationTests/IntegrationTests.ManyToManyLeftWhereAndInclude_notEqual.verified.txt @@ -27,19 +27,19 @@ }, sql: { Text: -SELECT [m].[Id], [m].[RightName], [t].[ManyToManyLeftEntityId], [t].[ManyToManyRightEntityId], [t].[Id], [t].[LeftName] +SELECT [m].[Id], [m].[RightName], [s].[ManyToManyLeftEntityId], [s].[ManyToManyRightEntityId], [s].[Id], [s].[LeftName] FROM [ManyToManyRightEntities] AS [m] LEFT JOIN ( SELECT [m2].[ManyToManyLeftEntityId], [m2].[ManyToManyRightEntityId], [m3].[Id], [m3].[LeftName] FROM [ManyToManyMiddleEntities] AS [m2] INNER JOIN [ManyToManyLeftEntities] AS [m3] ON [m2].[ManyToManyLeftEntityId] = [m3].[Id] -) AS [t] ON [m].[Id] = [t].[ManyToManyRightEntityId] +) AS [s] ON [m].[Id] = [s].[ManyToManyRightEntityId] WHERE EXISTS ( SELECT 1 FROM [ManyToManyMiddleEntities] AS [m0] INNER JOIN [ManyToManyLeftEntities] AS [m1] ON [m0].[ManyToManyLeftEntityId] = [m1].[Id] WHERE [m].[Id] = [m0].[ManyToManyRightEntityId] AND ([m1].[LeftName] <> N'Left2' OR [m1].[LeftName] IS NULL)) -ORDER BY [m].[Id], [t].[ManyToManyLeftEntityId], [t].[ManyToManyRightEntityId], +ORDER BY [m].[Id], [s].[ManyToManyLeftEntityId], [s].[ManyToManyRightEntityId], HasTransaction: false } } \ No newline at end of file diff --git a/src/Tests/IntegrationTests/IntegrationTests.ManyToManyRightWhereAndInclude.verified.txt b/src/Tests/IntegrationTests/IntegrationTests.ManyToManyRightWhereAndInclude.verified.txt index e625d083d..c1c9b8227 100644 --- a/src/Tests/IntegrationTests/IntegrationTests.ManyToManyRightWhereAndInclude.verified.txt +++ b/src/Tests/IntegrationTests/IntegrationTests.ManyToManyRightWhereAndInclude.verified.txt @@ -19,19 +19,19 @@ }, sql: { Text: -SELECT [m].[Id], [m].[LeftName], [t].[ManyToManyLeftEntityId], [t].[ManyToManyRightEntityId], [t].[Id], [t].[RightName] +SELECT [m].[Id], [m].[LeftName], [s].[ManyToManyLeftEntityId], [s].[ManyToManyRightEntityId], [s].[Id], [s].[RightName] FROM [ManyToManyLeftEntities] AS [m] LEFT JOIN ( SELECT [m2].[ManyToManyLeftEntityId], [m2].[ManyToManyRightEntityId], [m3].[Id], [m3].[RightName] FROM [ManyToManyMiddleEntities] AS [m2] INNER JOIN [ManyToManyRightEntities] AS [m3] ON [m2].[ManyToManyRightEntityId] = [m3].[Id] -) AS [t] ON [m].[Id] = [t].[ManyToManyLeftEntityId] +) AS [s] ON [m].[Id] = [s].[ManyToManyLeftEntityId] WHERE EXISTS ( SELECT 1 FROM [ManyToManyMiddleEntities] AS [m0] INNER JOIN [ManyToManyRightEntities] AS [m1] ON [m0].[ManyToManyRightEntityId] = [m1].[Id] WHERE [m].[Id] = [m0].[ManyToManyLeftEntityId] AND [m1].[RightName] = N'Right2') -ORDER BY [m].[Id], [t].[ManyToManyLeftEntityId], [t].[ManyToManyRightEntityId], +ORDER BY [m].[Id], [s].[ManyToManyLeftEntityId], [s].[ManyToManyRightEntityId], HasTransaction: false } } \ No newline at end of file diff --git a/src/Tests/IntegrationTests/IntegrationTests.ManyToManyRightWhereAndInclude_notEqual.verified.txt b/src/Tests/IntegrationTests/IntegrationTests.ManyToManyRightWhereAndInclude_notEqual.verified.txt index 4a8837c31..f95bfb591 100644 --- a/src/Tests/IntegrationTests/IntegrationTests.ManyToManyRightWhereAndInclude_notEqual.verified.txt +++ b/src/Tests/IntegrationTests/IntegrationTests.ManyToManyRightWhereAndInclude_notEqual.verified.txt @@ -27,19 +27,19 @@ }, sql: { Text: -SELECT [m].[Id], [m].[LeftName], [t].[ManyToManyLeftEntityId], [t].[ManyToManyRightEntityId], [t].[Id], [t].[RightName] +SELECT [m].[Id], [m].[LeftName], [s].[ManyToManyLeftEntityId], [s].[ManyToManyRightEntityId], [s].[Id], [s].[RightName] FROM [ManyToManyLeftEntities] AS [m] LEFT JOIN ( SELECT [m2].[ManyToManyLeftEntityId], [m2].[ManyToManyRightEntityId], [m3].[Id], [m3].[RightName] FROM [ManyToManyMiddleEntities] AS [m2] INNER JOIN [ManyToManyRightEntities] AS [m3] ON [m2].[ManyToManyRightEntityId] = [m3].[Id] -) AS [t] ON [m].[Id] = [t].[ManyToManyLeftEntityId] +) AS [s] ON [m].[Id] = [s].[ManyToManyLeftEntityId] WHERE EXISTS ( SELECT 1 FROM [ManyToManyMiddleEntities] AS [m0] INNER JOIN [ManyToManyRightEntities] AS [m1] ON [m0].[ManyToManyRightEntityId] = [m1].[Id] WHERE [m].[Id] = [m0].[ManyToManyLeftEntityId] AND ([m1].[RightName] <> N'Right2' OR [m1].[RightName] IS NULL)) -ORDER BY [m].[Id], [t].[ManyToManyLeftEntityId], [t].[ManyToManyRightEntityId], +ORDER BY [m].[Id], [s].[ManyToManyLeftEntityId], [s].[ManyToManyRightEntityId], HasTransaction: false } } \ No newline at end of file diff --git a/src/Tests/IntegrationTests/IntegrationTests.SingleParent_Child.verified.txt b/src/Tests/IntegrationTests/IntegrationTests.SingleParent_Child.verified.txt index eeb9cd918..f56191d0e 100644 --- a/src/Tests/IntegrationTests/IntegrationTests.SingleParent_Child.verified.txt +++ b/src/Tests/IntegrationTests/IntegrationTests.SingleParent_Child.verified.txt @@ -17,14 +17,14 @@ }, sql: { Text: -SELECT [t].[Id], [t].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property] +SELECT [p0].[Id], [p0].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property] FROM ( SELECT TOP(2) [p].[Id], [p].[Property] FROM [ParentEntities] AS [p] WHERE [p].[Id] = 'Guid_1' -) AS [t] -LEFT JOIN [ChildEntities] AS [c] ON [t].[Id] = [c].[ParentId] -ORDER BY [t].[Id], +) AS [p0] +LEFT JOIN [ChildEntities] AS [c] ON [p0].[Id] = [c].[ParentId] +ORDER BY [p0].[Id], HasTransaction: false } } \ No newline at end of file diff --git a/src/Tests/IntegrationTests/IntegrationTests.SingleParent_Child_WithFragment.verified.txt b/src/Tests/IntegrationTests/IntegrationTests.SingleParent_Child_WithFragment.verified.txt index eeb9cd918..f56191d0e 100644 --- a/src/Tests/IntegrationTests/IntegrationTests.SingleParent_Child_WithFragment.verified.txt +++ b/src/Tests/IntegrationTests/IntegrationTests.SingleParent_Child_WithFragment.verified.txt @@ -17,14 +17,14 @@ }, sql: { Text: -SELECT [t].[Id], [t].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property] +SELECT [p0].[Id], [p0].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property] FROM ( SELECT TOP(2) [p].[Id], [p].[Property] FROM [ParentEntities] AS [p] WHERE [p].[Id] = 'Guid_1' -) AS [t] -LEFT JOIN [ChildEntities] AS [c] ON [t].[Id] = [c].[ParentId] -ORDER BY [t].[Id], +) AS [p0] +LEFT JOIN [ChildEntities] AS [c] ON [p0].[Id] = [c].[ParentId] +ORDER BY [p0].[Id], HasTransaction: false } } \ No newline at end of file diff --git a/src/Tests/IntegrationTests/IntegrationTests.SingleParent_Child_mutation.verified.txt b/src/Tests/IntegrationTests/IntegrationTests.SingleParent_Child_mutation.verified.txt index 62379f10a..8f12b8c41 100644 --- a/src/Tests/IntegrationTests/IntegrationTests.SingleParent_Child_mutation.verified.txt +++ b/src/Tests/IntegrationTests/IntegrationTests.SingleParent_Child_mutation.verified.txt @@ -18,14 +18,14 @@ sql: [ { Text: -SELECT [t].[Id], [t].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property] +SELECT [p0].[Id], [p0].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property] FROM ( SELECT TOP(2) [p].[Id], [p].[Property] FROM [ParentEntities] AS [p] WHERE [p].[Id] = 'Guid_1' -) AS [t] -LEFT JOIN [ChildEntities] AS [c] ON [t].[Id] = [c].[ParentId] -ORDER BY [t].[Id], +) AS [p0] +LEFT JOIN [ChildEntities] AS [c] ON [p0].[Id] = [c].[ParentId] +ORDER BY [p0].[Id], HasTransaction: false }, { diff --git a/src/Tests/IntegrationTests/IntegrationTests.Single_IdOnly.verified.txt b/src/Tests/IntegrationTests/IntegrationTests.Single_IdOnly.verified.txt index dce16fa83..3e73cf993 100644 --- a/src/Tests/IntegrationTests/IntegrationTests.Single_IdOnly.verified.txt +++ b/src/Tests/IntegrationTests/IntegrationTests.Single_IdOnly.verified.txt @@ -14,14 +14,14 @@ }, sql: { Text: -SELECT [t].[Id], [t].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property] +SELECT [p0].[Id], [p0].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property] FROM ( SELECT TOP(2) [p].[Id], [p].[Property] FROM [ParentEntities] AS [p] WHERE [p].[Id] = 'Guid_1' -) AS [t] -LEFT JOIN [ChildEntities] AS [c] ON [t].[Id] = [c].[ParentId] -ORDER BY [t].[Id], +) AS [p0] +LEFT JOIN [ChildEntities] AS [c] ON [p0].[Id] = [c].[ParentId] +ORDER BY [p0].[Id], HasTransaction: false } } \ No newline at end of file diff --git a/src/Tests/IntegrationTests/IntegrationTests.Single_NoArgs.verified.txt b/src/Tests/IntegrationTests/IntegrationTests.Single_NoArgs.verified.txt index 7ca245e1d..96d437bf0 100644 --- a/src/Tests/IntegrationTests/IntegrationTests.Single_NoArgs.verified.txt +++ b/src/Tests/IntegrationTests/IntegrationTests.Single_NoArgs.verified.txt @@ -14,14 +14,14 @@ }, sql: { Text: -SELECT [t].[Id], [t].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property] +SELECT [p0].[Id], [p0].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property] FROM ( SELECT TOP(2) [p].[Id], [p].[Property] FROM [ParentEntities] AS [p] WHERE [p].[Id] = 'Guid_1' -) AS [t] -LEFT JOIN [ChildEntities] AS [c] ON [t].[Id] = [c].[ParentId] -ORDER BY [t].[Id], +) AS [p0] +LEFT JOIN [ChildEntities] AS [c] ON [p0].[Id] = [c].[ParentId] +ORDER BY [p0].[Id], HasTransaction: false } } \ No newline at end of file