Closed GaProgMan closed 6 years ago
Currently the Data layer is a .NET Core 2.0 library. This is because of the mapping files which are created there (but consumed in the Repo layer).
This could cause issues if the Data layer were to be used with other .NET Standard compatible frameworks (Xamarin, etc.)
Move the mappings files to the Repo layer and change the following line in Onion.Data.csproj
<TargetFramework>netcoreapp2.0</TargetFramework>
to make it a .NET Standard 2.0 library.
Problem
Currently the Data layer is a .NET Core 2.0 library. This is because of the mapping files which are created there (but consumed in the Repo layer).
This could cause issues if the Data layer were to be used with other .NET Standard compatible frameworks (Xamarin, etc.)
Solution
Move the mappings files to the Repo layer and change the following line in Onion.Data.csproj
<TargetFramework>netcoreapp2.0</TargetFramework>
to make it a .NET Standard 2.0 library.