简体   繁体   English

使用ASP.NET MVC,LINQ和Entity Framework从SQL Server 2008切换到MySQL

[英]Swapping to MySQL from SQL Server 2008 with ASP.NET MVC, LINQ and Entity Framework

I am considering migrating from SQL Server 2008 to MySQL to save on licencing costs. 我正在考虑从SQL Server 2008迁移到MySQL,以节省许可成本。

I was wanting to know if this would work and what sort of problems it might cause. 我想知道这是否行得通,以及它可能引起什么问题。

As I used EF Code first for the database, my databse is automatically generated based on my class structure. 当我首先将EF Code用于数据库时,我的数据库将根据我的类结构自动生成。 Would this, the entity framework and LINQ still work with a MySQL database? 这样,实体框架和LINQ仍可与MySQL数据库一起使用吗?

Yes EF and LINQ works with MySQL as well, please take a look at these posts. 是的,EF和LINQ也可以与MySQL一起使用,请查看这些文章。
Entity Framework 5.0 code-first with MySQL Connector 6.6.5.0 on .Net 4.5 NET 4.5上使用MySQL Connector 6.6.5.0的Entity Framework 5.0代码优先
and
MySql and Entity Framework Code First MySql和实体框架代码优先

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM