SSW data access layer. Includes repositories, interfaces, unit of work and all required generators (All in .Net Core)
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


SSW Data Onion helps when implementing a persistence ignorant Repository pattern (often used with Onion Architecture) with Entity Framework. It also allows you to create and manage lifecycle of the Ambient DbContext which can be used across mutliple threads.

There are two implementations of DataOnion2:

  1. Entity Framework 6 compatible implementation built on .NET 4.5 framework
  2. Entity Framework Core 1 (aka 7) compatible implementation that can be used in dnx451 and dnxcore5 projects.

Use EF6 and EF7 folders to view details of each implementation.