Open Chicagoan2016 opened 5 years ago
Your DalEf project should target .NET Standard 2.0 and reference EF Core.
It also depends on whether you want to run .NET Standard or .NET Framework on the serverside. I you are going to use .NET Framework you may use EF 6.x or EF Core. EF 6.3 is also available on .NET Core 3.0
I do believe the best choice for a new project is EF Core tho.
We are starting a very small project, I created all the class library projects (Myproject.BusinessLayer, MyProject.DataAccess) targeting .NET Standard, I was looking at the latest version of project tracker and it has similar configuration with the exception that ProjectTracker.DalEf is targeting .NET Framework 4.6.1 which I understand because its using 'regular' Entity Framework. If we want to use Entity Framework Core, should we our class library project MyProject.DalEf target .NET standard or .NET core?
Kind Regards
Version and Platform CSLA version: 4.7.100 OS: Windows, Linux, iOS, Android, etc. Platform: WinForms, WPF, ASP.NET Core, MVC, Xamarin, etc.