- Notifications
You must be signed in to change notification settings - Fork3
An example of how to use EF Core to unit test logic that might behave differently when DB is involved. It includes EF Core In-Memory DB and in-memory SQLite providers. The example is built on top of Jason Taylor's Northwind project for sake of simplicity.
License
jernejk/NorthwindTraders
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This repository is a fork from Jason Taylor's Northwind and modified for demonstrating EF Core unit testing for user group presentations.
You can find the original blog post regarding this topic on my blog.https://jkdev.me/ef-core-unit-tests/
Original Readme:
Northwind Traders is a sample application built using ASP.NET Core and Entity Framework Core.
The initial purpose of this solution is to create a code first version of Northwind, using the .NET Core stack.
The construction of this project is explained in the following blog posts:
- Code: Northwind Traders with Entity Framework Core
- Create Northwind Traders Code First with Entity Framework Core – Part 1
- Create Northwind Traders Code First with Entity Framework Core – Part 2
Use these instuctions to get the project up and running.
You will need the following tools:
Follow these steps to get your development environment setup:
- Clone the repository
- At the root directory, restore required packages by running:
dotnet restore
- Next, build the solution by running:
dotnet build
- Finally, within the
NorthwindTraders
directory, launch the project by running:dotnet run
- .NET Core 2.1 RC
- ASP.NET Core 2.1 RC
- Entity Framework Core 2.1 RC
This project is licensed under the MIT License - see theLICENSE.md file for details.
About
An example of how to use EF Core to unit test logic that might behave differently when DB is involved. It includes EF Core In-Memory DB and in-memory SQLite providers. The example is built on top of Jason Taylor's Northwind project for sake of simplicity.
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Languages
- C#100.0%