NHibernate 5.0.0

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.

There is a newer version of this package available.
See the version list below for details.
Install-Package NHibernate -Version 5.0.0
dotnet add package NHibernate --version 5.0.0
<PackageReference Include="NHibernate" Version="5.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NHibernate --version 5.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NHibernate, 5.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install NHibernate as a Cake Addin
#addin nuget:?package=NHibernate&version=5.0.0

// Install NHibernate as a Cake Tool
#tool nuget:?package=NHibernate&version=5.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

NHibernate 5.0.0 is now released with 141 issues resolved.

For a list of resolved issues and breaking changes, see the release notes:
https://github.com/nhibernate/nhibernate-core/blob/5.0.0/releasenotes.txt

##### Highlights #####
* IO bound methods have gained an async counterpart. Not intended for parallelism, make sure to await each call before further interacting with a session and its queries.
* Strongly typed DML operation (insert/update/delete) are now available as Linq extensions on queryables.
* Entities collections can be queried with .AsQueryable() Linq extension without being fully loaded.
* Reference documentation has been curated and completed, notably with a Linq section.
   http://nhibernate.info/doc/nhibernate-reference/index.html

NHibernate now targets .Net 4.6.1.

NuGet packages (491)

Showing the top 5 NuGet packages that depend on NHibernate:

Package Downloads
FluentNHibernate
Fluent, XML-less, compile safe, automated, convention-based mappings for NHibernate.
NServiceBus.NHibernate
NHibernate integration for NServiceBus
NHibernate.Caches.SysCache
Cache provider for NHibernate using ASP.NET Cache object.
NHibernate.Caches.SysCache2
Cache provider for NHibernate using ASP.NET Cache object. Supports SqlCacheDependency, allowing SQL Server changes to invalidate the cache.
NHibernate.Logging
Connects NHibernate logging infrastructure to Common.Logging.

GitHub repositories (46)

Showing the top 5 popular GitHub repositories that depend on NHibernate:

Repository Stars
DapperLib/Dapper
Dapper - a simple object mapper for .Net
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
ServiceStack/ServiceStack
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
MassTransit/MassTransit
Distributed Application Framework for .NET
protobuf-net/protobuf-net
Protocol Buffers library for idiomatic .NET

Version History

Version Downloads Last updated
5.3.9 10,646 7/4/2021
5.3.8 130,708 4/5/2021
5.3.7 44,669 3/21/2021
5.3.6 77,192 2/22/2021
5.3.5 234,212 11/15/2020
5.3.4 55,303 11/1/2020
5.3.3 277,711 9/13/2020
5.3.2 160,666 8/9/2020
5.3.1 43,453 7/26/2020
5.3.0 31,489 7/19/2020
5.2.7 885,534 1/19/2020
5.2.6 572,508 9/8/2019
5.2.5 657,452 3/31/2019
5.2.4 89,241 3/1/2019
5.2.3 172,393 1/14/2019
5.2.2 67,613 1/6/2019
5.2.1 110,554 12/8/2018
5.2.0 273,918 12/3/2018
5.1.7 7,686 1/19/2020
5.1.6 7,704 9/14/2019
5.1.5 70,652 3/24/2019
5.1.4 8,719 1/6/2019
5.1.3 911,424 6/10/2018
5.1.2 127,866 5/9/2018
5.1.1 1,025,622 4/10/2018
5.1.0 160,783 3/17/2018
5.0.8 4,283 9/14/2019
5.0.7 5,846 3/24/2019
5.0.6 7,582 5/9/2018
5.0.5 6,077 4/18/2018
5.0.4 6,190 4/12/2018
5.0.3 231,613 11/30/2017
5.0.1 50,188 11/13/2017
5.0.0 76,273 10/10/2017
4.1.2.4000 243,919 5/4/2018
4.1.1.4000 887,322 2/2/2017
4.0.4.4000 1,542,688 8/17/2015
4.0.3.4000 475,952 1/20/2015
4.0.2.4000 223,913 11/15/2014
4.0.1.4000 371,424 9/21/2014
4.0.0.4000 980,113 8/17/2014
3.4.1.4000 101,855 8/17/2015
3.4.0.4000 128,325 8/17/2014
3.3.5.4000 331,807 8/17/2015
3.3.4.4000 117,167 8/7/2014
3.3.3.4001 1,102,588 8/8/2013
3.3.3.4000 393,661 3/17/2013
3.3.2.4000 342,887 10/22/2012
3.3.1.4000 642,552 6/12/2012
3.3.0.4000 87,329 4/21/2012
3.2.0.4000 248,829 7/30/2011
3.1.0.4000 259,224 5/9/2011
3.0.0.4000 120,905 3/12/2011
2.1.2.4000 64,698 1/7/2011
Show less