You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
EntityFrameworkCore.Jet/test/EFCore.Jet.FunctionalTests/Query/ChangeTrackingJetTest.cs

23 lines
903 B
C#

// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.EntityFrameworkCore.TestModels.Northwind;
using Microsoft.EntityFrameworkCore.TestUtilities;
namespace EntityFrameworkCore.Jet.FunctionalTests.Query
{
public class ChangeTrackingJetTest : ChangeTrackingTestBase<NorthwindQueryJetFixture<NoopModelCustomizer>>
{
public ChangeTrackingJetTest(NorthwindQueryJetFixture<NoopModelCustomizer> fixture)
: base(fixture)
{
}
protected override NorthwindContext CreateNoTrackingContext()
=> new NorthwindRelationalContext(
new DbContextOptionsBuilder(Fixture.CreateOptions())
.UseQueryTrackingBehavior(QueryTrackingBehavior.NoTracking).Options);
}
}