mirror of
https://github.com/zoriya/EntityFrameworkCore.Projectables.git
synced 2025-12-06 05:56:10 +00:00
Add test verification files
This commit is contained in:
@@ -54,7 +54,7 @@ namespace EntityFrameworkCore.Projectables.Infrastructure.Internal
|
||||
var targetDescriptor = services.FirstOrDefault(x => x.ServiceType == typeof(IQueryCompiler));
|
||||
if (targetDescriptor is null)
|
||||
{
|
||||
throw new InvalidOperationException("No QueryProvider is configured yet. Please make sure to configure a database provider first"); ;
|
||||
throw new InvalidOperationException("No QueryProvider is configured yet. Please make sure to configure a database provider first");
|
||||
}
|
||||
|
||||
var decoratorObjectFactory = ActivatorUtilities.CreateFactory(typeof(CustomQueryCompiler), new[] { targetDescriptor.ServiceType });
|
||||
@@ -70,7 +70,7 @@ namespace EntityFrameworkCore.Projectables.Infrastructure.Internal
|
||||
var targetDescriptor = services.FirstOrDefault(x => x.ServiceType == typeof(IQueryTranslationPreprocessorFactory));
|
||||
if (targetDescriptor is null)
|
||||
{
|
||||
throw new InvalidOperationException("No QueryTranslationPreprocessorFactory is configured yet. Please make sure to configure a database provider first"); ;
|
||||
throw new InvalidOperationException("No QueryTranslationPreprocessorFactory is configured yet. Please make sure to configure a database provider first");
|
||||
}
|
||||
|
||||
var decoratorObjectFactory = ActivatorUtilities.CreateFactory(typeof(CustomQueryTranslationPreprocessorFactory), new[] { targetDescriptor.ServiceType });
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
SELECT 4
|
||||
FROM [Concrete] AS [c]
|
||||
@@ -0,0 +1,3 @@
|
||||
SELECT [c].[Id]
|
||||
FROM [BaseProvider] AS [b]
|
||||
INNER JOIN [Concrete] AS [c] ON [b].[Id] = [c].[BaseProviderId]
|
||||
Reference in New Issue
Block a user