LINQ to MySQL - 最好的选择是什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1469100/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-31 14:09:18  来源:igfitidea点击:

LINQ to MySQL - what is the best option?

mysqllinq

提问by Larry Watanabe

Has anyone used any of the utilities out there for LINQ to MySQL? Do you know which one is best?

有没有人使用过 LINQ to MySQL 的任何实用程序?你知道哪一个最好吗?

So far I know of LINQ for NHibernate, and DBLinq

到目前为止,我知道 NHibernate 的 LINQ 和 DBLinq

采纳答案by TonyOssa

There is also LINQ to LLBLGEN, which then can support many, many databases.

还有 LINQ to LLBLGEN,它可以支持很多很多的数据库。

From LLBLGEN's Feature Page

来自LLBLGEN 的功能页面

Support for SQL Server (MSDE, SQL Server 7/2000/2005/Express, SQL CE 2.0, 3.0, 3.5), SQL Server CE Desktop (New!), Oracle (Oracle 8i / 9i /10g), PostgreSQL 7.4+/8.x, Firebird 1.x / 2.x, IBM DB2 UDB (7.x/8.x/9.x), MySQL (4.x, 5.x), Sybase Adaptive Server Enterprise (ASE) (New!), Sybase SQL iAnywhere (ASA) (New!) and MS Access 2000/XP/2003/2007

支持 SQL Server (MSDE, SQL Server 7/2000/2005/Express, SQL CE 2.0, 3.0, 3.5), SQL Server CE Desktop (New!), Oracle (Oracle 8i / 9i /10g), PostgreSQL 7.4+/8 .x、Firebird 1.x / 2.x、IBM DB2 UDB (7.x/8.x/9.x)、MySQL (4.x、5.x)、Sybase Adaptive Server Enterprise (ASE)(新! )、Sybase SQL iAnywhere (ASA)(新!)和 MS Access 2000/XP/2003/2007

回答by itowlson

There is also Mindscape LightSpeed, which works with MySQL amongst other databases, and has a LINQ provider.

还有Mindscape LightSpeed,它与 MySQL 和其他数据库一起工作,并有一个 LINQ 提供程序。

回答by Devart

Try our MySQL-specific LINQ to SQL implementation.
Overview is available here.

试试我们特定于 MySQL 的 LINQ to SQL 实现。
概述可在此处获得

回答by lomaxx

You're right, LINQ to NHibernatewill provide this sort of functionality as will the entity framework with a MySQL provider. I don't know of any other way of doing it as LINQ to SQLwas very much specific to Microsoft SQL Server.

您说得对,LINQ to NHibernate将提供这种功能,就像带有 MySQL 提供程序的实体框架一样。我不知道有任何其他方法可以做到这一点,因为LINQ to SQL非常特定于 Microsoft SQL Server。