-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow explicit loading of field-only navigations (#24548)
Fixes #23717
- Loading branch information
1 parent
cff229a
commit 3437c75
Showing
31 changed files
with
8,279 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
test/EFCore.InMemory.FunctionalTests/FieldsOnlyLoadInMemoryTest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. | ||
|
||
using Microsoft.EntityFrameworkCore.TestUtilities; | ||
|
||
namespace Microsoft.EntityFrameworkCore | ||
{ | ||
public class FieldsOnlyLoadInMemoryTest : FieldsOnlyLoadTestBase<FieldsOnlyLoadInMemoryTest.FieldsOnlyLoadInMemoryFixture> | ||
{ | ||
public FieldsOnlyLoadInMemoryTest(FieldsOnlyLoadInMemoryFixture fixture) | ||
: base(fixture) | ||
{ | ||
} | ||
|
||
public class FieldsOnlyLoadInMemoryFixture : FieldsOnlyLoadFixtureBase | ||
{ | ||
protected override ITestStoreFactory TestStoreFactory | ||
=> InMemoryTestStoreFactory.Instance; | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
test/EFCore.InMemory.FunctionalTests/ManyToManyFieldsLoadInMemoryTest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. | ||
|
||
using Microsoft.EntityFrameworkCore.TestUtilities; | ||
|
||
namespace Microsoft.EntityFrameworkCore | ||
{ | ||
public class ManyToManyFieldsLoadInMemoryTest : ManyToManyFieldsLoadTestBase< | ||
ManyToManyFieldsLoadInMemoryTest.ManyToManyFieldsLoadInMemoryFixture> | ||
{ | ||
public ManyToManyFieldsLoadInMemoryTest(ManyToManyFieldsLoadInMemoryFixture fixture) | ||
: base(fixture) | ||
{ | ||
} | ||
|
||
public class ManyToManyFieldsLoadInMemoryFixture : ManyToManyFieldsLoadFixtureBase | ||
{ | ||
protected override ITestStoreFactory TestStoreFactory | ||
=> InMemoryTestStoreFactory.Instance; | ||
} | ||
} | ||
} |
Oops, something went wrong.