简体   繁体   English

Nhibernate是否使用ADO.NET连接数据库?

[英]Is Nhibernate using ADO.NET for connecting to database?

What is the data provider for nhibernate? 什么是nhibernate的数据提供者? Is it ADO.NET? 是ADO.NET吗?

Take a look at http://community.jboss.org/wiki/DatabasesSupportedByNHibernate . 看看http://community.jboss.org/wiki/DatabasesSupportedByNHibernate
It shows what tools/drivers are used to connect to different databases. 它显示了用于连接不同数据库的工具/驱动程序。 for example: 例如:

Oracle 9i and 10g are supported, both using Microsoft driver (System.Data.OracleClient) and using Oracle driver (Oracle.Data.OracleClient). 使用Microsoft驱动程序(System.Data.OracleClient)和Oracle驱动程序(Oracle.Data.OracleClient)都支持Oracle 9i和10g。

Or: 要么:

To work with Firebird, install the latest Firebird .NET Data Provider. 要使用Firebird,请安装最新的Firebird .NET数据提供程序。

I'm not sure whether it uses ADO.Net for SQL Server connections under the hood, 我不确定它是否在后台使用ADO.Net进行SQL Server连接, But it seems that it doesn't use ADO.Net for other database systems. 但是似乎它不将ADO.Net用于其他数据库系统。

是的,它在内部使用ADO.NET

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

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