EfCore.TestSupport 5.0.0-preview005

This is a prerelease version of EfCore.TestSupport.
There is a newer version of this package available.
See the version list below for details.
dotnet add package EfCore.TestSupport --version 5.0.0-preview005
                    
NuGet\Install-Package EfCore.TestSupport -Version 5.0.0-preview005
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EfCore.TestSupport" Version="5.0.0-preview005" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EfCore.TestSupport" Version="5.0.0-preview005" />
                    
Directory.Packages.props
<PackageReference Include="EfCore.TestSupport" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add EfCore.TestSupport --version 5.0.0-preview005
                    
#r "nuget: EfCore.TestSupport, 5.0.0-preview005"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package EfCore.TestSupport@5.0.0-preview005
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=EfCore.TestSupport&version=5.0.0-preview005&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=EfCore.TestSupport&version=5.0.0-preview005&prerelease
                    
Install as a Cake Tool

EfCore.TestSupport

This NuGet package containing methods to help you unit test applications that use Entity Framework Core for database access. This readme defines the various groups, with links to the documentation in the EfCore.TestSupport wiki. Also see Release Notes for information on changes, some of which are breaking changes.

This project is open-source (MIT licence) and works for EF Core 5

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (9)

Showing the top 9 popular GitHub repositories that depend on EfCore.TestSupport:

Repository Stars
JonPSmith/AuthPermissions.AspNetCore
This library provides extra authorization and multi-tenant features to an ASP.NET Core application.
JonPSmith/EfCore.GenericServices
A library to help you quickly code CRUD accesses for a web/mobile/desktop application using EF Core.
JonPSmith/EfCoreinAction-SecondEdition
Supporting repo to go with book "Entity Framework Core in Action", second edition
JonPSmith/PermissionAccessControl2
Version 2 of example application to go with articles on feature and data authorization
JonPSmith/PermissionAccessControl
Example code for Authorization articles
JonPSmith/EfCore.GenericBizRunner
Library to run business logic when using Entity Framework Core for database accesses
JonPSmith/EfCore.SchemaCompare
Library to compare EF Core's Model of the database against a database's schema.
JonPSmith/EfCore.SoftDeleteServices
Services to provide simple soft delete and cascade soft delete in EF Core
JonPSmith/Net.DistributedFileStoreCache
NET distributed cache using a json file as the shared resourse with very fast Get
Version Downloads Last Updated
9.0.0 65,644 11/20/2024
8.0.1 266,246 4/10/2024
8.0.0 4,248 4/4/2024
6.0.2 47,872 2/7/2024
6.0.1 15,830 1/23/2024
6.0.0 70,389 11/21/2023
5.3.0 244,874 11/14/2022
5.2.2 374,774 1/4/2022
5.2.1 23,209 11/19/2021
5.2.0 1,330 11/16/2021
5.1.0 12,445 11/10/2021
5.1.0-preview001 304 11/4/2021
5.0.0 225,859 1/2/2021
5.0.0-preview006 1,381 12/11/2020
5.0.0-preview005 876 12/10/2020
5.0.0-preview004 975 12/10/2020
5.0.0-preview003 929 12/5/2020
5.0.0-preview002 972 12/5/2020
5.0.0-preview001 942 12/5/2020
3.2.0 192,618 5/23/2020
3.1.1 33,530 3/26/2020
3.1.0 62,643 11/1/2019
3.0.0 8,976 10/12/2019
2.0.1 53,103 7/22/2019
2.0.0 32,221 6/4/2019
1.9.0 174,052 4/22/2019
1.8.0 5,340 3/25/2019
1.7.0 2,834 3/19/2019
1.6.1 11,936 1/28/2019
1.6.0 1,636 1/28/2019
1.5.2 18,235 1/4/2019
1.5.1 46,915 10/24/2018
1.5.0 4,438 10/2/2018
1.4.0 15,440 6/7/2018
1.3.1 10,216 4/1/2018
1.3.0 3,115 3/1/2018
1.2.0 2,562 1/22/2018
1.1.5 2,404 12/27/2017
1.1.4 2,242 12/27/2017
1.1.3 2,451 12/1/2017
1.1.2 2,013 11/21/2017
1.1.1 2,032 11/17/2017
1.1.0 2,035 11/16/2017
1.0.2 1,989 10/13/2017
1.0.1 2,042 9/30/2017
1.0.0 2,693 9/29/2017

A serious cleanup to the this library with BREAKING CHANGES
     BREAKING CHANGES
     - Altered SqliteInMemory methods to return a IDisposable options (disposes connection at the end of the test). THIS WILL BREAK YOUR CODE.
     REMOVED FEATURES
     - Removed EfSchemaCompare - going to its own library (but not there yet)
     - Removed SeedDatabase - use old 3.2.0 EfCore.TestSupport version
     - Remove InMemory Database helper - use EF Core's In Memory database
     NEW FEATURES
     - Add `EnsureClean`. This clears the schema and data and set up new model (only for SQL Server)
     - SqliteInMemory now has CreateOptionsWithLogTo extension method
     - SqlServer now has CreateUniqueClassOptionsWithLogTo and CreateUniqueMethodOptionsWithLogTo extension methods
     MARKED AS OBSOLETE
     - CreateOptionsWithLogging - use ...ToLog version
     - CreateUniqueClassOptionsWithLogging - use ...ToLog version
     - CreateUniqueMethodOptionsWithLogging - use ...ToLog version
     - CreateEmptyViaWipe - recommend `EnsureClean` or respawn