The Packages

One core consideration for implementation under the onion architecture was the ability to place all components in separate projects / assemblies. To allow this, SSW Data Onion is split across multiple Nuget packages. You can install these packages to separate projects (recommended) or you can install to one test project.

Please note that all Nuget packages listed below are for DataOnion v2. We strongly recommend using latest version of DataOnion as v1 is no longer supported.

 

Entity Framework 6 Projects

Download SSW.DataOnion.Core.EF6

This is SSW’s core Entity Framework package.

Download SSW.DataOnion.Interfaces.EF6

Provides all interfaces for DataOnion.

Download  SSW.DataOnion.DbContextGenerator.EF6

Builds upon SSW.DataOnion.Core.EF6 to provide tt templates that generate a DbContext class

Download SSW.DataOnion.DependencyResolution.Autofac.EF6

Provides all required dependency resolutions for Autofac Container

Entity Framework Core 1 (aka EF7) Projects

Download SSW.DataOnion.Core

This is SSW’s core Entity Framework package.

Download SSW.DataOnion.Interfaces

Provides all interfaces for DataOnion.

Download  SSW.DataOnion.CodeGenerator

Builds upon SSW.DataOnion.Core to provide helper dnx commands to generate DbContext class

Download SSW.DataOnion.DependencyResolution.Autofac

Provides all required dependency resolutions for Autofac Container

Download SSW.DataOnion.DependencyResolution.Microsoft

Provides all required dependency resolutions when using out-of-the-box Microsoft DI container

Contribute

DateOnion is fully open source and is hosted on GitHub at https://github.com/SSWConsulting/SSW.DataOnion2. Feel free to contribute