update tests to build

pull/131/head
Christopher Jolly 3 years ago
parent b533695713
commit ed8f109855

@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29806.167
# Visual Studio Version 17
VisualStudioVersion = 17.4.32916.344
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{F68095EE-6CD1-43A2-B498-6CA72CE2A0CB}"
ProjectSection(SolutionItems) = preProject
@ -30,18 +30,18 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{B7FF1850-2
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "root", "root", "{76210BB4-A506-4838-8BBF-57DA18C8FA03}"
ProjectSection(SolutionItems) = preProject
Directory.Build.props = Directory.Build.props
NuGet.Config = NuGet.Config
Directory.Build.targets = Directory.Build.targets
global.json = global.json
Dependencies.targets = Dependencies.targets
Version.props = Version.props
Development.props = Development.props
Development.props.sample = Development.props.sample
Key.snk = Key.snk
docs\README.md = docs\README.md
EndProjectSection
ProjectSection(SolutionItems) = preProject
Dependencies.targets = Dependencies.targets
Development.props = Development.props
Development.props.sample = Development.props.sample
Directory.Build.props = Directory.Build.props
Directory.Build.targets = Directory.Build.targets
global.json = global.json
Key.snk = Key.snk
NuGet.Config = NuGet.Config
docs\README.md = docs\README.md
Version.props = Version.props
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EFCore.Jet.Tests", "test\EFCore.Jet.Tests\EFCore.Jet.Tests.csproj", "{770A076B-A448-499C-BB86-A37994C04523}"
EndProject
@ -52,9 +52,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tools", "tools", "{84E4151A
tools\Resources.tt = tools\Resources.tt
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EFCore.Jet.Odbc", "src\EFCore.Jet.Odbc\EFCore.Jet.Odbc.csproj", "{1E0729DA-B861-46EA-B1F1-3AE20EA1E00A}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EFCore.Jet.Odbc", "src\EFCore.Jet.Odbc\EFCore.Jet.Odbc.csproj", "{1E0729DA-B861-46EA-B1F1-3AE20EA1E00A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EFCore.Jet.OleDb", "src\EFCore.Jet.OleDb\EFCore.Jet.OleDb.csproj", "{FFC89A2D-F68F-47E3-BA00-47E9C0BEDB71}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EFCore.Jet.OleDb", "src\EFCore.Jet.OleDb\EFCore.Jet.OleDb.csproj", "{FFC89A2D-F68F-47E3-BA00-47E9C0BEDB71}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -130,8 +130,8 @@ Global
{770A076B-A448-499C-BB86-A37994C04523}.Debug|Any CPU.Build.0 = Debug|Any CPU
{770A076B-A448-499C-BB86-A37994C04523}.Debug|x64.ActiveCfg = Debug|Any CPU
{770A076B-A448-499C-BB86-A37994C04523}.Debug|x64.Build.0 = Debug|Any CPU
{770A076B-A448-499C-BB86-A37994C04523}.Debug|x86.ActiveCfg = Debug|Any CPU
{770A076B-A448-499C-BB86-A37994C04523}.Debug|x86.Build.0 = Debug|Any CPU
{770A076B-A448-499C-BB86-A37994C04523}.Debug|x86.ActiveCfg = Debug|x86
{770A076B-A448-499C-BB86-A37994C04523}.Debug|x86.Build.0 = Debug|x86
{770A076B-A448-499C-BB86-A37994C04523}.Release|Any CPU.ActiveCfg = Release|Any CPU
{770A076B-A448-499C-BB86-A37994C04523}.Release|Any CPU.Build.0 = Release|Any CPU
{770A076B-A448-499C-BB86-A37994C04523}.Release|x64.ActiveCfg = Release|Any CPU

@ -49,7 +49,7 @@ namespace EntityFrameworkCore.Jet.FunctionalTests
return modelBuilder;
}
public override ModelBuilder Non_public_annotations_are_enabled()
public override IModel Non_public_annotations_are_enabled()
{
var modelBuilder = base.Non_public_annotations_are_enabled();
@ -60,7 +60,7 @@ namespace EntityFrameworkCore.Jet.FunctionalTests
return modelBuilder;
}
public override ModelBuilder Field_annotations_are_enabled()
public override IModel Field_annotations_are_enabled()
{
var modelBuilder = base.Field_annotations_are_enabled();
@ -71,7 +71,7 @@ namespace EntityFrameworkCore.Jet.FunctionalTests
return modelBuilder;
}
public override ModelBuilder Key_and_column_work_together()
public override IModel Key_and_column_work_together()
{
var modelBuilder = base.Key_and_column_work_together();
@ -82,7 +82,7 @@ namespace EntityFrameworkCore.Jet.FunctionalTests
return modelBuilder;
}
public override ModelBuilder Key_and_MaxLength_64_produce_nvarchar_64()
public override IModel Key_and_MaxLength_64_produce_nvarchar_64()
{
var modelBuilder = base.Key_and_MaxLength_64_produce_nvarchar_64();
@ -95,7 +95,7 @@ namespace EntityFrameworkCore.Jet.FunctionalTests
return modelBuilder;
}
public override ModelBuilder Timestamp_takes_precedence_over_MaxLength()
public override IModel Timestamp_takes_precedence_over_MaxLength()
{
var modelBuilder = base.Timestamp_takes_precedence_over_MaxLength();
@ -108,20 +108,20 @@ namespace EntityFrameworkCore.Jet.FunctionalTests
return modelBuilder;
}
public override ModelBuilder TableNameAttribute_affects_table_name_in_TPH()
public override IModel TableNameAttribute_affects_table_name_in_TPH()
{
var modelBuilder = base.TableNameAttribute_affects_table_name_in_TPH();
Assert.Equal("A", modelBuilder.Model.FindEntityType(typeof(TNAttrBase)).GetTableName());
Assert.Equal("A", modelBuilder.FindEntityType(typeof(TNAttrBase)).GetTableName());
return modelBuilder;
}
public override ModelBuilder DatabaseGeneratedOption_configures_the_property_correctly()
public override IModel DatabaseGeneratedOption_configures_the_property_correctly()
{
var modelBuilder = base.DatabaseGeneratedOption_configures_the_property_correctly();
var identity = modelBuilder.Model.FindEntityType(typeof(GeneratedEntity)).FindProperty(nameof(GeneratedEntity.Identity));
var identity = modelBuilder.FindEntityType(typeof(GeneratedEntity)).FindProperty(nameof(GeneratedEntity.Identity));
Assert.Equal(JetValueGenerationStrategy.IdentityColumn, identity.GetValueGenerationStrategy());
return modelBuilder;

@ -69,6 +69,116 @@
<None Include="..\xunit.runner.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="BatchingTest.cs" />
<None Include="BuiltInDataTypesJetTest.cs" />
<None Include="CommandConfigurationTest.cs" />
<None Include="CommandInterceptionJetTest.cs" />
<None Include="CompositeKeyEndToEndJetTest.cs" />
<None Include="ComputedColumnTest.cs" />
<None Include="ConcurrencyDetectorJetTest.cs" />
<None Include="ConferencePlannerJetTest.cs" />
<None Include="ConnectionInterceptionJetTest.cs" />
<None Include="ConnectionSpecificationTest.cs" />
<None Include="ConvertToProviderTypesJetTest.cs" />
<None Include="CustomConvertersJetTest.cs" />
<None Include="DataAnnotationJetTest.cs" />
<None Include="DataBindingJetTest.cs" />
<None Include="DbContextPoolingTest.cs" />
<None Include="DefaultValuesTest.cs" />
<None Include="EverythingIsBytesJetTest.cs" />
<None Include="EverythingIsStringsJetTest.cs" />
<None Include="ExecutionStrategyTest.cs" />
<None Include="ExistingConnectionTest.cs" />
<None Include="F1JetFixture.cs" />
<None Include="FieldMappingJetTest.cs" />
<None Include="FindJetTest.cs" />
<None Include="GraphUpdates\GraphUpdatesJetTest.cs" />
<None Include="GraphUpdates\ProxyGraphUpdatesJetTest.cs" />
<None Include="JetComplianceTest.cs" />
<None Include="JetConfigPatternsTest.cs" />
<None Include="JetDatabaseCreatorTest.cs" />
<None Include="JetEndToEndTest.cs" />
<None Include="JetFixture.cs" />
<None Include="JetMigrationsSqlGeneratorTest.cs" />
<None Include="JetQueryTriggersTest.cs" />
<None Include="JetServiceCollectionExtensionsTest.cs" />
<None Include="JetTriggersTest.cs" />
<None Include="JetValueGenerationScenariosTest.cs" />
<None Include="LazyLoadProxyJetTest.cs" />
<None Include="LoadJetTest.cs" />
<None Include="LoggingJetTest.cs" />
<None Include="MigrationsInfrastructureJetTest.cs" />
<None Include="MigrationsJetFixture.cs" />
<None Include="MigrationsSqlGeneratorTestBase.cs" />
<None Include="MonsterFixupChangedChangingJetTest.cs" />
<None Include="MusicStoreJetTest.cs" />
<None Include="NotificationEntitiesJetTest.cs" />
<None Include="OptimisticConcurrencyJetTest.cs" />
<None Include="PropertyEntryJetTest.cs" />
<None Include="PropertyValuesJetTest.cs" />
<None Include="Query\AsyncFromSqlQueryJetTest.cs" />
<None Include="Query\AsyncGearsOfWarQueryJetTest.cs" />
<None Include="Query\ComplexNavigationsQueryJetFixture.cs" />
<None Include="Query\ComplexNavigationsQueryJetTest.cs" />
<None Include="Query\ComplexNavigationsWeakQueryJetFixture.cs" />
<None Include="Query\ComplexNavigationsWeakQueryJetTest.cs" />
<None Include="Query\DbFunctionsJetTest.cs" />
<None Include="Query\FiltersInheritanceQueryJetFixture.cs" />
<None Include="Query\FiltersInheritanceQueryJetTest.cs" />
<None Include="Query\FiltersJetTest.cs" />
<None Include="Query\FromSqlQueryJetTest.cs" />
<None Include="Query\FromSqlSprocQueryJetTest.cs" />
<None Include="Query\FunkyDataQueryJetTest.cs" />
<None Include="Query\GearsOfWarFromSqlQueryJetTest.cs" />
<None Include="Query\GearsOfWarQueryJetFixture.cs" />
<None Include="Query\GearsOfWarQueryJetTest.cs" />
<None Include="Query\IncludeOneToOneJetTest.cs" />
<None Include="Query\InheritanceQueryJetFixture.cs" />
<None Include="Query\InheritanceQueryJetTest.cs" />
<None Include="Query\InheritanceRelationshipsQueryJetFixture.cs" />
<None Include="Query\InheritanceRelationshipsQueryJetTest.cs" />
<None Include="Query\MappingQueryJetTest.cs" />
<None Include="Query\NavigationTest.cs" />
<None Include="Query\NorthwindAggregateOperatorsQueryJetTest.ResultOperators.cs" />
<None Include="Query\NorthwindAsNoTrackingQueryJetTest.cs" />
<None Include="Query\NorthwindAsTrackingQueryJetTest.cs" />
<None Include="Query\NorthwindAsyncSimpleQueryJetTest.cs" />
<None Include="Query\NorthwindChangeTrackingQueryJetTest.cs" />
<None Include="Query\NorthwindCompiledQueryJetTest.cs" />
<None Include="Query\NorthwindFunctionsQueryJetTest.Functions.cs" />
<None Include="Query\NorthwindGroupByQueryJetTest.cs" />
<None Include="Query\NorthwindIncludeQueryJetTest.cs" />
<None Include="Query\NorthwindJoinQueryJetTest.cs" />
<None Include="Query\NorthwindKeylessEntitiesQueryJetTest.cs" />
<None Include="Query\NorthwindMiscellaneousQueryJetTest.cs" />
<None Include="Query\NorthwindNavigationsQueryJetTest.cs" />
<None Include="Query\NorthwindQueryJetFixture.cs" />
<None Include="Query\NorthwindQueryTaggingQueryJetTest.cs" />
<None Include="Query\NorthwindSelectQueryJetTest.cs" />
<None Include="Query\NorthwindSetOperationsQueryJetTest.cs" />
<None Include="Query\NorthwindWhereQueryJetTest.cs" />
<None Include="Query\NullKeysJetTest.cs" />
<None Include="Query\NullSemanticsQueryJetFixture.cs" />
<None Include="Query\NullSemanticsQueryJetTest.cs" />
<None Include="Query\OwnedQueryJetTest.cs" />
<None Include="Query\QueryBugsTest.cs" />
<None Include="Query\QueryFilterFuncletizationJetTest.cs" />
<None Include="Query\QueryLoggingJetTest.cs" />
<None Include="Query\QueryNoClientEvalJetTest.cs" />
<None Include="Query\SqlExecutorJetTest.cs" />
<None Include="Query\UdfDbFunctionJetTests.cs" />
<None Include="Query\WarningsJetTest.cs" />
<None Include="Scaffolding\JetDatabaseModelFactoryTest.cs" />
<None Include="SeedingJetTest.cs" />
<None Include="SequentialGuidEndToEndTest.cs" />
<None Include="StoreGeneratedFixupJetTest.cs" />
<None Include="StoreGeneratedJetTest.cs" />
<None Include="TableSplittingJetTest.cs" />
<None Include="TransactionInterceptionJetTest.cs" />
<None Include="TransactionJetTest.cs" />
<None Include="UpdatesJetFixture.cs" />
<None Include="UpdatesJetTest.cs" />
<None Include="WithConstructorsJetTest.cs" />
<None Remove="TestResults\**" />
</ItemGroup>
@ -97,4 +207,117 @@
<Compile Remove="TestResults\**" />
</ItemGroup>
<ItemGroup>
<Compile Remove="BatchingTest.cs" />
<Compile Remove="BuiltInDataTypesJetTest.cs" />
<Compile Remove="CommandConfigurationTest.cs" />
<Compile Remove="CommandInterceptionJetTest.cs" />
<Compile Remove="CompositeKeyEndToEndJetTest.cs" />
<Compile Remove="ComputedColumnTest.cs" />
<Compile Remove="ConcurrencyDetectorJetTest.cs" />
<Compile Remove="ConferencePlannerJetTest.cs" />
<Compile Remove="ConnectionInterceptionJetTest.cs" />
<Compile Remove="ConnectionSpecificationTest.cs" />
<Compile Remove="ConvertToProviderTypesJetTest.cs" />
<Compile Remove="CustomConvertersJetTest.cs" />
<Compile Remove="DataAnnotationJetTest.cs" />
<Compile Remove="DataBindingJetTest.cs" />
<Compile Remove="DbContextPoolingTest.cs" />
<Compile Remove="DefaultValuesTest.cs" />
<Compile Remove="EverythingIsBytesJetTest.cs" />
<Compile Remove="EverythingIsStringsJetTest.cs" />
<Compile Remove="ExecutionStrategyTest.cs" />
<Compile Remove="ExistingConnectionTest.cs" />
<Compile Remove="F1JetFixture.cs" />
<Compile Remove="FieldMappingJetTest.cs" />
<Compile Remove="FindJetTest.cs" />
<Compile Remove="GraphUpdates\GraphUpdatesJetTest.cs" />
<Compile Remove="GraphUpdates\ProxyGraphUpdatesJetTest.cs" />
<Compile Remove="JetComplianceTest.cs" />
<Compile Remove="JetConfigPatternsTest.cs" />
<Compile Remove="JetDatabaseCreatorTest.cs" />
<Compile Remove="JetEndToEndTest.cs" />
<Compile Remove="JetFixture.cs" />
<Compile Remove="JetMigrationsSqlGeneratorTest.cs" />
<Compile Remove="JetQueryTriggersTest.cs" />
<Compile Remove="JetServiceCollectionExtensionsTest.cs" />
<Compile Remove="JetTriggersTest.cs" />
<Compile Remove="JetValueGenerationScenariosTest.cs" />
<Compile Remove="LazyLoadProxyJetTest.cs" />
<Compile Remove="LoadJetTest.cs" />
<Compile Remove="LoggingJetTest.cs" />
<Compile Remove="MigrationsInfrastructureJetTest.cs" />
<Compile Remove="MigrationsJetFixture.cs" />
<Compile Remove="MigrationsSqlGeneratorTestBase.cs" />
<Compile Remove="MonsterFixupChangedChangingJetTest.cs" />
<Compile Remove="MusicStoreJetTest.cs" />
<Compile Remove="NotificationEntitiesJetTest.cs" />
<Compile Remove="OptimisticConcurrencyJetTest.cs" />
<Compile Remove="PropertyEntryJetTest.cs" />
<Compile Remove="PropertyValuesJetTest.cs" />
<Compile Remove="Query\AsyncFromSqlQueryJetTest.cs" />
<Compile Remove="Query\AsyncGearsOfWarQueryJetTest.cs" />
<Compile Remove="Query\ComplexNavigationsQueryJetFixture.cs" />
<Compile Remove="Query\ComplexNavigationsQueryJetTest.cs" />
<Compile Remove="Query\ComplexNavigationsWeakQueryJetFixture.cs" />
<Compile Remove="Query\ComplexNavigationsWeakQueryJetTest.cs" />
<Compile Remove="Query\DbFunctionsJetTest.cs" />
<Compile Remove="Query\FiltersInheritanceQueryJetFixture.cs" />
<Compile Remove="Query\FiltersInheritanceQueryJetTest.cs" />
<Compile Remove="Query\FiltersJetTest.cs" />
<Compile Remove="Query\FromSqlQueryJetTest.cs" />
<Compile Remove="Query\FromSqlSprocQueryJetTest.cs" />
<Compile Remove="Query\FunkyDataQueryJetTest.cs" />
<Compile Remove="Query\GearsOfWarFromSqlQueryJetTest.cs" />
<Compile Remove="Query\GearsOfWarQueryJetFixture.cs" />
<Compile Remove="Query\GearsOfWarQueryJetTest.cs" />
<Compile Remove="Query\IncludeOneToOneJetTest.cs" />
<Compile Remove="Query\InheritanceQueryJetFixture.cs" />
<Compile Remove="Query\InheritanceQueryJetTest.cs" />
<Compile Remove="Query\InheritanceRelationshipsQueryJetFixture.cs" />
<Compile Remove="Query\InheritanceRelationshipsQueryJetTest.cs" />
<Compile Remove="Query\MappingQueryJetTest.cs" />
<Compile Remove="Query\NavigationTest.cs" />
<Compile Remove="Query\NorthwindAggregateOperatorsQueryJetTest.ResultOperators.cs" />
<Compile Remove="Query\NorthwindAsNoTrackingQueryJetTest.cs" />
<Compile Remove="Query\NorthwindAsTrackingQueryJetTest.cs" />
<Compile Remove="Query\NorthwindAsyncSimpleQueryJetTest.cs" />
<Compile Remove="Query\NorthwindChangeTrackingQueryJetTest.cs" />
<Compile Remove="Query\NorthwindCompiledQueryJetTest.cs" />
<Compile Remove="Query\NorthwindFunctionsQueryJetTest.Functions.cs" />
<Compile Remove="Query\NorthwindGroupByQueryJetTest.cs" />
<Compile Remove="Query\NorthwindIncludeQueryJetTest.cs" />
<Compile Remove="Query\NorthwindJoinQueryJetTest.cs" />
<Compile Remove="Query\NorthwindKeylessEntitiesQueryJetTest.cs" />
<Compile Remove="Query\NorthwindMiscellaneousQueryJetTest.cs" />
<Compile Remove="Query\NorthwindNavigationsQueryJetTest.cs" />
<Compile Remove="Query\NorthwindQueryJetFixture.cs" />
<Compile Remove="Query\NorthwindQueryTaggingQueryJetTest.cs" />
<Compile Remove="Query\NorthwindSelectQueryJetTest.cs" />
<Compile Remove="Query\NorthwindSetOperationsQueryJetTest.cs" />
<Compile Remove="Query\NorthwindWhereQueryJetTest.cs" />
<Compile Remove="Query\NullKeysJetTest.cs" />
<Compile Remove="Query\NullSemanticsQueryJetFixture.cs" />
<Compile Remove="Query\NullSemanticsQueryJetTest.cs" />
<Compile Remove="Query\OwnedQueryJetTest.cs" />
<Compile Remove="Query\QueryBugsTest.cs" />
<Compile Remove="Query\QueryFilterFuncletizationJetTest.cs" />
<Compile Remove="Query\QueryLoggingJetTest.cs" />
<Compile Remove="Query\QueryNoClientEvalJetTest.cs" />
<Compile Remove="Query\SqlExecutorJetTest.cs" />
<Compile Remove="Query\UdfDbFunctionJetTests.cs" />
<Compile Remove="Query\WarningsJetTest.cs" />
<Compile Remove="Scaffolding\JetDatabaseModelFactoryTest.cs" />
<Compile Remove="SeedingJetTest.cs" />
<Compile Remove="SequentialGuidEndToEndTest.cs" />
<Compile Remove="StoreGeneratedFixupJetTest.cs" />
<Compile Remove="StoreGeneratedJetTest.cs" />
<Compile Remove="TableSplittingJetTest.cs" />
<Compile Remove="TransactionInterceptionJetTest.cs" />
<Compile Remove="TransactionJetTest.cs" />
<Compile Remove="UpdatesJetFixture.cs" />
<Compile Remove="UpdatesJetTest.cs" />
<Compile Remove="WithConstructorsJetTest.cs" />
</ItemGroup>
</Project>

@ -3,6 +3,7 @@
using EntityFrameworkCore.Jet.Data;
using EntityFrameworkCore.Jet.FunctionalTests.TestUtilities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.TestUtilities;
namespace EntityFrameworkCore.Jet.FunctionalTests

@ -1,8 +1,11 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore.Diagnostics;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage;
@ -197,6 +200,15 @@ namespace EntityFrameworkCore.Jet.FunctionalTests.TestUtilities
return result;
}
public DbCommand CreateDbCommand(
RelationalCommandParameterObject parameterObject,
Guid commandId,
DbCommandMethod commandMethod)
=> throw new NotSupportedException();
public void PopulateFrom(IRelationalCommandTemplate commandTemplate)
=> _realRelationalCommand.PopulateFrom(commandTemplate);
private int? PreExecution(IRelationalConnection connection)
{
int? errorNumber = null;

@ -10,13 +10,20 @@ namespace EntityFrameworkCore.Jet.FunctionalTests.TestUtilities
{
public class TestRelationalTransactionFactory : IRelationalTransactionFactory
{
public TestRelationalTransactionFactory(RelationalTransactionFactoryDependencies dependencies)
{
Dependencies = dependencies;
}
protected virtual RelationalTransactionFactoryDependencies Dependencies { get; }
public RelationalTransaction Create(
IRelationalConnection connection,
DbTransaction transaction,
Guid transactionId,
IDiagnosticsLogger<DbLoggerCategory.Database.Transaction> logger,
bool transactionOwned)
=> new TestRelationalTransaction(connection, transaction, logger, transactionOwned);
=> new TestRelationalTransaction(connection, transaction, logger, transactionOwned, Dependencies.SqlGenerationHelper);
}
public class TestRelationalTransaction : RelationalTransaction
@ -27,8 +34,9 @@ namespace EntityFrameworkCore.Jet.FunctionalTests.TestUtilities
IRelationalConnection connection,
DbTransaction transaction,
IDiagnosticsLogger<DbLoggerCategory.Database.Transaction> logger,
bool transactionOwned)
: base(connection, transaction, new Guid(), logger, transactionOwned)
bool transactionOwned,
ISqlGenerationHelper sqlGenerationHelper)
: base(connection, transaction, new Guid(), logger, transactionOwned, sqlGenerationHelper)
{
_testConnection = (TestJetConnection)connection;
}

@ -61,6 +61,7 @@ namespace EntityFramework.Jet.FunctionalTests
b.Property(e => e.ChipperId)
.IsRequired()
.HasDefaultValue("Default");
});
}

@ -4,6 +4,7 @@
<TargetFramework>$(WindowsOnlyNetCoreTargetFramework)</TargetFramework>
<AssemblyName>EntityFrameworkCore.Jet.Tests</AssemblyName>
<RootNamespace>EntityFrameworkCore.Jet</RootNamespace>
<Platforms>AnyCPU;x86</Platforms>
</PropertyGroup>
<ItemGroup>

Loading…
Cancel
Save