Nhibernate和MS Access[英] Nhibernate and MS Access

本文是小编为大家收集整理的关于Nhibernate和MS Access的处理/解决方法,可以参考本文帮助大家快速定位并解决问题,中文翻译不准确的可切换到English标签页查看源文。

问题描述

  1. 可以将NHIBERNATE用作MS访问的ORM工具吗? 我们正在使用NHIBERNATE访问SQL Server,因此想知道是否可以重复使用.
  2. 如果可以使用它的经验如何?

推荐答案

这是使用MS Access 使用Nhibernate的详细信息.我个人尚未这样做,因为MS访问不包括主要的完整数据库选项,例如存储过程等,因此我通常避免使用.

其他推荐答案

我已经使用了nhibernate与访问权限.根据我的经验,

  • 我建议使用nhibernate.
  • 我建议避免访问.

如果您需要基于文件的过程中的迷你数据库,则有许多可用的选项,包括 sql Server "> sql Server ce (Microsoft,专有), firebird (free-open-source), sqlite (free-open-source). NHIBERNATE支持所有这些数据库引擎(尽管我没有机会使用它们).

其他推荐答案

可以与MS访问一起使用.体验就像其他使用MS Access作为应用程序数据库的其他经验一样,您希望您使用其他内容.

本文地址:https://www.itbaoku.cn/post/597554.html

问题描述

  1. Can NHibernate be used as ORM tool for MS Access? We are using Nhibernate to access Sql Server, so wondering if it can be reused.
  2. If it can be used how has the experience been?

推荐答案

Here are the details of using NHibernate with MS Access. I personally haven't done this, as MS Access doesn't include main full database options like stored procedures, etc, so I typically avoid it.

其他推荐答案

I have used NHibernate with Access. Based on my experience,

  • I recommend using NHibernate.
  • I recommend avoiding Access.

If you need a file-based in-process mini-database, there are a number of options available, including SQL Server CE (Microsoft, proprietary), Firebird (free-open-source), SQLite (free-open-source). NHibernate supports all these database engines (although I have not had a chance to use them).

其他推荐答案

It can be used with MS Access. The experience is like any other experience using MS Access as a database for your application, you wish you used something else.