You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<sup><ahref='/src/Verify.EntityFramework.Tests/ModuleInitializer.cs#L3-L10'title='Snippet source file'>snippetsource</a>|<ahref='#snippet-enablecore'title='Start of snippet'>anchor</a></sup>
40
+
<sup><ahref='/src/Verify.EntityFramework.Tests/ModuleInitializer.cs#L5-L21'title='Snippet source file'>snippetsource</a>|<ahref='#snippet-enablecore'title='Start of snippet'>anchor</a></sup>
32
41
<!--endSnippet-->
33
42
43
+
The `GetDbModel` patternallowsaninstanceofthe `IModel` tobestoredforusewhen `IgnoreNavigationProperties` iscalledinsidetests. Thisisoptional, andinsteadcanbepassedexplicitlyto `IgnoreNavigationProperties`.
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L245-L252'title='Snippet source file'>snippetsource</a>|<ahref='#snippet-enablerecording'title='Start of snippet'>anchor</a></sup>
82
+
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L280-L287'title='Snippet source file'>snippetsource</a>|<ahref='#snippet-enablerecording'title='Start of snippet'>anchor</a></sup>
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L342-L359'title='Snippet source file'>snippetsource</a>|<ahref='#snippet-recording'title='Start of snippet'>anchor</a></sup>
110
+
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L377-L394'title='Snippet source file'>snippetsource</a>|<ahref='#snippet-recording'title='Start of snippet'>anchor</a></sup>
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L466-L489'title='Snippet source file'>snippetsource</a>|<ahref='#snippet-recordingspecific'title='Start of snippet'>anchor</a></sup>
169
+
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L501-L524'title='Snippet source file'>snippetsource</a>|<ahref='#snippet-recordingspecific'title='Start of snippet'>anchor</a></sup>
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L311-L333'title='Snippet source file'>snippetsource</a>|<ahref='#snippet-multidbcontexts'title='Start of snippet'>anchor</a></sup>
200
+
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L346-L368'title='Snippet source file'>snippetsource</a>|<ahref='#snippet-multidbcontexts'title='Start of snippet'>anchor</a></sup>
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L213-L219'title='Snippet source file'>snippetsource</a>|<ahref='#snippet-queryable'title='Start of snippet'>anchor</a></sup>
394
+
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L248-L254'title='Snippet source file'>snippetsource</a>|<ahref='#snippet-queryable'title='Start of snippet'>anchor</a></sup>
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L197-L204'title='Snippet source file'>snippetsource</a>|<ahref='#snippet-alldata'title='Start of snippet'>anchor</a></sup>
440
+
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L232-L239'title='Snippet source file'>snippetsource</a>|<ahref='#snippet-alldata'title='Start of snippet'>anchor</a></sup>
@@ -506,7 +517,7 @@ public async Task IgnoreNavigationProperties()
506
517
Company=company
507
518
};
508
519
awaitVerify(employee)
509
-
.IgnoreNavigationProperties(data);
520
+
.IgnoreNavigationProperties();
510
521
}
511
522
```
512
523
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L65-L87'title='Snippet source file'>snippetsource</a>|<ahref='#snippet-ignorenavigationproperties'title='Start of snippet'>anchor</a></sup>
@@ -520,9 +531,9 @@ public async Task IgnoreNavigationProperties()
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L91-L97'title='Snippet source file'>snippetsource</a>|<ahref='#snippet-ignorenavigationpropertiesglobal'title='Start of snippet'>anchor</a></sup>
536
+
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L115-L121'title='Snippet source file'>snippetsource</a>|<ahref='#snippet-ignorenavigationpropertiesglobal'title='Start of snippet'>anchor</a></sup>
526
537
<!--endSnippet-->
527
538
528
539
@@ -542,7 +553,7 @@ To be able to use [WebApplicationFactory](https://docs.microsoft.com/en-us/dotne
542
553
.Options);
543
554
});
544
555
```
545
-
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L424-L435'title='Snippet source file'>snippetsource</a>|<ahref='#snippet-enablerecordingwithidentifier'title='Start of snippet'>anchor</a></sup>
556
+
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L459-L470'title='Snippet source file'>snippetsource</a>|<ahref='#snippet-enablerecordingwithidentifier'title='Start of snippet'>anchor</a></sup>
546
557
<!--endSnippet-->
547
558
548
559
Thenusethesameidentifierforrecording:
@@ -558,7 +569,7 @@ var companies = await httpClient.GetFromJsonAsync<Company[]>("/companies");
558
569
559
570
varentries=EfRecording.FinishRecording(testName);
560
571
```
561
-
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L391-L401'title='Snippet source file'>snippetsource</a>|<ahref='#snippet-recordwithidentifier'title='Start of snippet'>anchor</a></sup>
572
+
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L426-L436'title='Snippet source file'>snippetsource</a>|<ahref='#snippet-recordwithidentifier'title='Start of snippet'>anchor</a></sup>
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L403-L411'title='Snippet source file'>snippetsource</a>|<ahref='#snippet-verifyrecordedcommandswithidentifier'title='Start of snippet'>anchor</a></sup>
586
+
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L438-L446'title='Snippet source file'>snippetsource</a>|<ahref='#snippet-verifyrecordedcommandswithidentifier'title='Start of snippet'>anchor</a></sup>
0 commit comments