Support is available via a [Tidelift Subscription](https://tidelift.com/subscription/pkg/nuget-verify?utm_source=nuget-verify&utm_medium=referral&utm_campaign=enterprise).
<ahref='https://dotnetfoundation.org'alt='Part of the .NET Foundation'><imgsrc='https://raw.githubusercontent.com/VerifyTests/Verify/master/docs/dotNetFoundation.svg'height='30px'></a><br>
Part of the <ahref='https://dotnetfoundation.org'alt=''>.NET Foundation</a>
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L152-L156'title='File snippet `enablecore` was extracted from'>snippet source</a> | <ahref='#snippet-enablecore'title='Navigate to start of snippet `enablecore`'>anchor</a></sup>
<sup><ahref='/src/Verify.EntityFrameworkClassic.Tests/ClassicTests.cs#L137-L141'title='File snippet `enableclassic` was extracted from'>snippet source</a> | <ahref='#snippet-enableclassic'title='Navigate to start of snippet `enableclassic`'>anchor</a></sup>
Added, deleted, and Modified entities can be verified by performing changes on a DbContext and then verifying the instance of ChangeTracking. This approach leverages the [EntityFramework ChangeTracker](https://docs.microsoft.com/en-us/dotnet/api/microsoft.entityframeworkcore.changetracking.changetracker).
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L12-L28'title='File snippet `added` was extracted from'>snippet source</a> | <ahref='#snippet-added'title='Navigate to start of snippet `added`'>anchor</a></sup>
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.Added.verified.txt#L1-L8'title='File snippet `CoreTests.Added.verified.txt` was extracted from'>snippet source</a> | <ahref='#snippet-CoreTests.Added.verified.txt'title='Navigate to start of snippet `CoreTests.Added.verified.txt`'>anchor</a></sup>
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L30-L46'title='File snippet `deleted` was extracted from'>snippet source</a> | <ahref='#snippet-deleted'title='Navigate to start of snippet `deleted`'>anchor</a></sup>
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.Deleted.verified.txt#L1-L7'title='File snippet `CoreTests.Deleted.verified.txt` was extracted from'>snippet source</a> | <ahref='#snippet-CoreTests.Deleted.verified.txt'title='Navigate to start of snippet `CoreTests.Deleted.verified.txt`'>anchor</a></sup>
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L48-L67'title='File snippet `modified` was extracted from'>snippet source</a> | <ahref='#snippet-modified'title='Navigate to start of snippet `modified`'>anchor</a></sup>
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.Modified.verified.txt#L1-L11'title='File snippet `CoreTests.Modified.verified.txt` was extracted from'>snippet source</a> | <ahref='#snippet-CoreTests.Modified.verified.txt'title='Navigate to start of snippet `CoreTests.Modified.verified.txt`'>anchor</a></sup>
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.cs#L128-L140'title='File snippet `queryable` was extracted from'>snippet source</a> | <ahref='#snippet-queryable'title='Navigate to start of snippet `queryable`'>anchor</a></sup>
<sup><ahref='/src/Verify.EntityFramework.Tests/CoreTests.Queryable.verified.txt#L1-L3'title='File snippet `CoreTests.Queryable.verified.txt` was extracted from'>snippet source</a> | <ahref='#snippet-CoreTests.Queryable.verified.txt'title='Navigate to start of snippet `CoreTests.Queryable.verified.txt`'>anchor</a></sup>
<sup><ahref='/src/Verify.EntityFrameworkClassic.Tests/ClassicTests.Queryable.verified.txt#L1-L5'title='File snippet `ClassicTests.Queryable.verified.txt` was extracted from'>snippet source</a> | <ahref='#snippet-ClassicTests.Queryable.verified.txt'title='Navigate to start of snippet `ClassicTests.Queryable.verified.txt`'>anchor</a></sup>
To report a security vulnerability, use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure.
[Database](https://thenounproject.com/term/database/310841/) designed by [Creative Stall](https://thenounproject.com/creativestall/) from [The Noun Project](https://thenounproject.com/creativepriyanka).