Skip to content

Commit f806c1c

Browse files
author
Rhodon
committed
Add test verification files
1 parent a52326c commit f806c1c

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

src/EntityFrameworkCore.Projectables/Infrastructure/Internal/ProjectionOptionsExtension.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ static object CreateTargetInstance(IServiceProvider services, ServiceDescriptor
5454
var targetDescriptor = services.FirstOrDefault(x => x.ServiceType == typeof(IQueryCompiler));
5555
if (targetDescriptor is null)
5656
{
57-
throw new InvalidOperationException("No QueryProvider is configured yet. Please make sure to configure a database provider first"); ;
57+
throw new InvalidOperationException("No QueryProvider is configured yet. Please make sure to configure a database provider first");
5858
}
5959

6060
var decoratorObjectFactory = ActivatorUtilities.CreateFactory(typeof(CustomQueryCompiler), new[] { targetDescriptor.ServiceType });
@@ -70,7 +70,7 @@ static object CreateTargetInstance(IServiceProvider services, ServiceDescriptor
7070
var targetDescriptor = services.FirstOrDefault(x => x.ServiceType == typeof(IQueryTranslationPreprocessorFactory));
7171
if (targetDescriptor is null)
7272
{
73-
throw new InvalidOperationException("No QueryTranslationPreprocessorFactory is configured yet. Please make sure to configure a database provider first"); ;
73+
throw new InvalidOperationException("No QueryTranslationPreprocessorFactory is configured yet. Please make sure to configure a database provider first");
7474
}
7575

7676
var decoratorObjectFactory = ActivatorUtilities.CreateFactory(typeof(CustomQueryTranslationPreprocessorFactory), new[] { targetDescriptor.ServiceType });
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SELECT 4
2+
FROM [Concrete] AS [c]
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SELECT [c].[Id]
2+
FROM [BaseProvider] AS [b]
3+
INNER JOIN [Concrete] AS [c] ON [b].[Id] = [c].[BaseProviderId]

0 commit comments

Comments
 (0)