Skip to content

Commit f6889c0

Browse files
committed
2 parents dbaf8f4 + 782335a commit f6889c0

11 files changed

Lines changed: 25 additions & 24 deletions

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project>
33
<PropertyGroup>
44
<NoWarn>CS1591;NU5104;CS1573</NoWarn>
5-
<Version>21.0.0</Version>
5+
<Version>21.1.0</Version>
66
<AssemblyVersion>1.0.0</AssemblyVersion>
77
<PackageTags>EntityFrameworkCore, EntityFramework, GraphQL</PackageTags>
88
<ImplicitUsings>true</ImplicitUsings>

src/GraphQL.EntityFramework/GraphQL.EntityFramework.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
<PackageReference Include="Fody" Version="6.6.4" PrivateAssets="all" />
99
<PackageReference Include="Microsoft.AspNetCore.Http" Version="2.2.2" />
1010
<PackageReference Include="GraphQL" Version="7.1.1" />
11-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.10" />
11+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.0" />
1212
<PackageReference Include="Nullability" Version="2.0.4" />
13-
<PackageReference Include="ProjectDefaults" Version="1.0.81" PrivateAssets="all" />
13+
<PackageReference Include="ProjectDefaults" Version="1.0.82" PrivateAssets="all" />
1414
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" Condition="$(Configuration) == 'Release'" />
1515
<Using Include="System.Linq.Expressions" />
1616
<Using Include="GraphQL.Types" />

src/SampleWeb.Tests/SampleWeb.Tests.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
</PropertyGroup>
66
<ItemGroup>
77
<PackageReference Include="GraphQL" Version="7.1.1" />
8-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="6.0.10" />
8+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="7.0.0" />
99
<PackageReference Include="Xunit" Version="2.4.2" />
10-
<PackageReference Include="Verify.Xunit" Version="18.3.0" />
10+
<PackageReference Include="Verify.Xunit" Version="19.1.0" />
1111
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5" PrivateAssets="All" />
1212
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
1313
<ProjectReference Include="..\SampleWeb\SampleWeb.csproj" />
14-
<PackageReference Include="ProjectDefaults" Version="1.0.81" PrivateAssets="all" />
14+
<PackageReference Include="ProjectDefaults" Version="1.0.82" PrivateAssets="all" />
1515
</ItemGroup>
1616
</Project>

src/SampleWeb/SampleWeb.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
</PropertyGroup>
66
<ItemGroup>
77
<Folder Include="wwwroot\" />
8-
<PackageReference Include="EfLocalDb" Version="13.9.4" />
8+
<PackageReference Include="EfLocalDb" Version="14.0.0" />
99
<PackageReference Include="graphiql" Version="2.0.0" />
1010
<PackageReference Include="GraphQL.SystemTextJson" Version="7.1.1" />
1111
<PackageReference Include="GraphQL" Version="7.1.1" />
12-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.10" />
13-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.10" />
12+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.0" />
13+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="7.0.0" />
1414
<ProjectReference Include="..\GraphQL.EntityFramework\GraphQL.EntityFramework.csproj" />
15-
<PackageReference Include="ProjectDefaults" Version="1.0.81" PrivateAssets="all" />
15+
<PackageReference Include="ProjectDefaults" Version="1.0.82" PrivateAssets="all" />
1616
</ItemGroup>
1717
</Project>

src/Snippets/Snippets.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<ItemGroup>
66
<PackageReference Include="GraphQL" Version="7.1.1" />
77
<PackageReference Include="MarkdownSnippets.MsBuild" Version="24.5.0" PrivateAssets="all" />
8-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.10" />
8+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="7.0.0" />
99
<PackageReference Include="Xunit" Version="2.4.2" />
10-
<PackageReference Include="Verify.Xunit" Version="18.3.0" />
10+
<PackageReference Include="Verify.Xunit" Version="19.1.0" />
1111
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5" PrivateAssets="All" />
1212
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
1313
<ProjectReference Include="..\GraphQL.EntityFramework\GraphQL.EntityFramework.csproj" />
14-
<PackageReference Include="ProjectDefaults" Version="1.0.81" PrivateAssets="all" />
14+
<PackageReference Include="ProjectDefaults" Version="1.0.82" PrivateAssets="all" />
1515
</ItemGroup>
1616
</Project>

src/Tests/IntegrationTests/IntegrationTests.LogQuery.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
Text:
1616
SELECT [p].[Id], [p].[Property]
1717
FROM [ParentEntities] AS [p]
18-
WHERE (([p].[Property] IS NOT NULL) AND ([p].[Property] LIKE N'Valu%')) AND ([p].[Property] LIKE N'%ue3')
18+
WHERE ([p].[Property] IS NOT NULL) AND ([p].[Property] LIKE N'Valu%') AND ([p].[Property] LIKE N'%ue3')
1919
}
2020
]
2121
}

src/Tests/IntegrationTests/IntegrationTests.ManyToManyLeftWhereAndInclude.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ WHERE EXISTS (
3232
SELECT 1
3333
FROM [ManyToManyMiddleEntities] AS [m0]
3434
INNER JOIN [ManyToManyLeftEntities] AS [m1] ON [m0].[ManyToManyLeftEntityId] = [m1].[Id]
35-
WHERE ([m].[Id] = [m0].[ManyToManyRightEntityId]) AND ([m1].[LeftName] = N'Left2'))
35+
WHERE [m].[Id] = [m0].[ManyToManyRightEntityId] AND [m1].[LeftName] = N'Left2')
3636
ORDER BY [m].[Id], [t].[ManyToManyLeftEntityId], [t].[ManyToManyRightEntityId]
3737
}
3838
]

src/Tests/IntegrationTests/IntegrationTests.ManyToManyRightWhereAndInclude.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ WHERE EXISTS (
3232
SELECT 1
3333
FROM [ManyToManyMiddleEntities] AS [m0]
3434
INNER JOIN [ManyToManyRightEntities] AS [m1] ON [m0].[ManyToManyRightEntityId] = [m1].[Id]
35-
WHERE ([m].[Id] = [m0].[ManyToManyLeftEntityId]) AND ([m1].[RightName] = N'Right2'))
35+
WHERE [m].[Id] = [m0].[ManyToManyLeftEntityId] AND [m1].[RightName] = N'Right2')
3636
ORDER BY [m].[Id], [t].[ManyToManyLeftEntityId], [t].[ManyToManyRightEntityId]
3737
}
3838
]

src/Tests/IntegrationTests/IntegrationTests.SingleParent_Child_mutation.verified.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,17 @@ LEFT JOIN [ChildEntities] AS [c] ON [t].[Id] = [c].[ParentId]
2929
ORDER BY [t].[Id]
3030
},
3131
{
32-
HasTransaction: true,
32+
HasTransaction: false,
3333
Parameters: {
3434
@p0: Foo,
3535
@p1: Guid_1
3636
},
3737
Text:
38+
SET IMPLICIT_TRANSACTIONS OFF;
3839
SET NOCOUNT ON;
3940
UPDATE [ParentEntities] SET [Property] = @p0
41+
OUTPUT 1
4042
WHERE [Id] = @p1;
41-
SELECT @@ROWCOUNT;
4243
}
4344
]
4445
}

src/Tests/IntegrationTests/IntegrationTests.Where_multiple.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
Text:
1616
SELECT [p].[Id], [p].[Property]
1717
FROM [ParentEntities] AS [p]
18-
WHERE (([p].[Property] IS NOT NULL) AND ([p].[Property] LIKE N'Valu%')) AND ([p].[Property] LIKE N'%ue3')
18+
WHERE ([p].[Property] IS NOT NULL) AND ([p].[Property] LIKE N'Valu%') AND ([p].[Property] LIKE N'%ue3')
1919
}
2020
]
2121
}

0 commit comments

Comments
 (0)