问题描述
考虑使用C#和EntityFramework来做一些可在Windows和MacOS中运行的跨平台桌面应用程序。我假设可以在MacOS中安装一些免费版本的SQLServer,并且可以使用应用程序开发IDE进行MacOS
开发。请确认这些假设。此外,Xamarin在哪里发挥作用?哪种C#项目可以在MacOS和Windows中运行? MacOS是否支持EntityFramework?
Looking into doing some cross-platform desktop application that will work both in Windows and MacOS using C# and EntityFramework. I assume some free version of SQLServer can be installed in MacOS and an application development IDE will be available for MacOS development. Please confirm these suppositions. Also, where does Xamarin come into play here? Which kind of C# project can work both in MacOS and Windows? Is EntityFramework supported in MacOS?
问候,
Juan
Juan Dent
Juan Dent
推荐答案
.NET Core是一个跨平台的框架。 EF Core是一个跨平台的ORM。
.NET Core is a across platform framework. EF Core is a cross platform ORM.
https://medium.com/@yostane/entity-framework-core-and-sqlite-getting-started-on-macos- and-visual-studio-code-27f3830db77c
https://medium.com/@yostane/entity-framework-core-and-sqlite-getting-started-on-macos-and-visual-studio-code-27f3830db77c
但是它不适用于 Windows桌面.NET Core。 .NET Core版本3,它将仅限于Windows桌面解决方案。
However it doesn't work for Windows desktop .NET Core. .NET Core version 3 and it will be limited to the Windows desktop solutions.
这篇关于我可以构建一个可在Windows和MacOS中运行的C#EntityFramework GUI应用程序吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!