Can I use Entity Framework 6 (not core) in .net core?
问题 Entity Framework Core does not support spatial data, which I need to use in my app. Can I use Entity Framework 6 in .net core? If so, how can I register DatabaseContext in Startup.cs ? 回答1: No, you can not directly, because EF6 doesn't support .NET Core. But, you can create another project, that compiles against full .NET framework and use it as a reference. MS has actually made a decent tutorial for this: https://docs.microsoft.com/en-us/aspnet/core/data/entity-framework-6#reference-full