NHibernate is a mature, open source object-relational mapper for the .NET framework. It is actively developed,fully featured and used in thousands of successful projects.
The NHibernate community website - https://nhibernate.info - has a range of resources to help you get started,including howtos, blogs and reference documentation.
The quickest way to get the latest release of NHibernate is to add it to your project usingNuGet (https://nuget.org/List/Packages/NHibernate).
Alternatively binaries are available from SourceForge at http://sourceforge.net/projects/nhibernate.
You are encouraged to review the release notes (releasenotes.txt), particularly when upgrading to alater version. The release notes will generally document any breaking changes.
The quickest way to get the latest development build of NHibernate is to add it to your project usingNuGet from MyGet feed (https://www.myget.org/gallery/nhibernate).
In order to make life a little bit easier you can register the package source in the NuGet.Configfile in the top folder of your project, similar to the following.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="NHibernateDevBuilds" value="https://www.myget.org/F/nhibernate/api/v3/index.json" />
</packageSources>
</configuration>
There are two official NHibernate community forums:
If you find any bugs, please report them using the GitHub issue tracker. Atest-case that demonstrates the issue is usually required. Instructions on providing a test-casecan be found in contributing guidelines or here.
Many thanks to the following individuals, organisations and projects whose work is so important to the successof NHibernate (in no particular order):
ASP.NET Boilerplate can work with any O/RM framework. It has built-in integration with NHibernate. This document will explain how to use NHibernate with ASP.NET Boilerplate. It's assumed that you're a
代码生成器: 1. http://www.codesmithtools.com/ 2.https://sourceforge.net/projects/mygeneration/ 3. http://nmg.codeplex.com/ NHibernate Mapping Generator https://github.com/luchen1021/NHibernateMappingGener
.net2003目录:C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Packages\schemas\xml .net2008目录:C:\Program Files\Microsoft Visual Studio 9.0\Common7\Packages\schemas\xml 使用第三方的程序库(Nhibernate
NHibernate 是一个基于.Net 的针对关系型数据库的对象持久化类库。Nhibernate 来源于非常优秀的基于Java的Hibernate 关系型持久化工具。NHibernate 从数据库底层来持久化你的.Net 对象到关系型数据库。 NHibernate 让开发者的代码仅仅和对象关联,NHibernat 自动产生 SQL 语句,并确保对象提交到正确的表和字段中去。 特性包括: Visu
本文向大家介绍nhibernate 流利的NHibernate映射,包括了nhibernate 流利的NHibernate映射的使用技巧和注意事项,需要的朋友参考一下 示例 该Fluent NHibernate是一个库,以帮助您在使用C#代码,而不是XML映射的实体映射。Fluent NHibernate使用,fluent pattern并且它基于约定来创建映射,它为Visual Studio工具
NHibernate Designer 是一个 Visual Studio 2010 的插件,用于实现 NHibernate 的可视化设计功能。
对nHibernate的封装。 特点 * 无XML映射文件 (*.hdm.xml) * 流畅接口 * 流程C#配置nHibernate * 流畅C#映射,甚至自动映射。 * 强类新映射,减少类新匹配错误 * 数据库的重构,变得更容易 Fluent nHibernate的取代C#文件 public class CatMap : ClassMap{ public CatMap() { Id(
在.NET Framework 3.5中提供了LINQ 支持后,Linq的呼声一度很高,各种LINQ Provider更是满天飞。他能够将数据查询语句集成到编程语言中,以一种统一的方式操作各种数据源,减少数据访问的复杂性。而LINQ本身也提供了很 好的扩展性,使开发人员可以轻松地编写属于自己的LINQ Provider。 NHiberante Linq 1.0支持基于NHibernate Cont
本文向大家介绍nhibernate 所有,包括了nhibernate 所有的使用技巧和注意事项,需要的朋友参考一下 示例 保存/更新/删除对象时,请检查关联并保存/更新/删除找到的所有对象。