NHibernate 5.4.1

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET 6.0 .NET Core 2.0 .NET Standard 2.0 .NET Framework 4.6.1
dotnet add package NHibernate --version 5.4.1
NuGet\Install-Package NHibernate -Version 5.4.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NHibernate" Version="5.4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NHibernate --version 5.4.1
#r "nuget: NHibernate, 5.4.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. 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.4.1

// Install NHibernate as a Cake Tool
#tool nuget:?package=NHibernate&version=5.4.1

Welcome to NHibernate

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.

Latest Release Version

The quickest way to get the latest release of NHibernate is to add it to your project using NuGet (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 a later version. The release notes will generally document any breaking changes.

Nightly Development Builds

The quickest way to get the latest development build of NHibernate is to add it to your project using NuGet 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.Config file 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>

Community Forums

There are two official NHibernate community forums:

Bug Reports

If you find any bugs, please report them using the GitHub issue tracker. A test-case that demonstrates the issue is usually required. Instructions on providing a test-case can be found in contributing guidelines or here.

Licenses

Credits

Many thanks to the following individuals, organisations and projects whose work is so important to the success of NHibernate (in no particular order):

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (522)

Showing the top 5 NuGet packages that depend on NHibernate:

Package Downloads
FluentNHibernate The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Fluent, XML-less, compile safe, automated, convention-based mappings for NHibernate.

NServiceBus.NHibernate The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

NHibernate integration for NServiceBus

NHibernate.Caches.SysCache The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Cache provider for NHibernate using ASP.NET Cache object.

NHibernate.Caches.SysCache2 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Cache provider for NHibernate using ASP.NET Cache object. Supports SqlCacheDependency, allowing SQL Server changes to invalidate the cache.

Shesha.Framework

Package Description

GitHub repositories (48)

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
MassTransit/MassTransit
Distributed Application Framework for .NET
protobuf-net/protobuf-net
Protocol Buffers library for idiomatic .NET
OrchardCMS/Orchard
Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
Version Downloads Last updated
5.4.1 42,181 2/8/2023
5.4.0 166,480 11/20/2022
5.3.15 5,161 1/29/2023
5.3.14 145,188 10/16/2022
5.3.13 157,128 9/1/2022
5.3.12 665,005 5/1/2022
5.3.11 456,537 2/20/2022
5.3.10 1,003,438 9/26/2021
5.3.9 375,871 7/4/2021
5.3.8 557,331 4/5/2021
5.3.7 103,531 3/21/2021
5.3.6 193,214 2/22/2021
5.3.5 589,695 11/15/2020
5.3.4 101,663 11/1/2020
5.3.3 1,480,143 9/13/2020
5.3.2 356,617 8/9/2020
5.3.1 67,087 7/26/2020
5.3.0 110,323 7/19/2020
5.2.7 2,112,260 1/19/2020
5.2.6 808,192 9/8/2019
5.2.5 1,086,213 3/31/2019
5.2.4 140,591 3/1/2019
5.2.3 243,906 1/14/2019
5.2.2 86,894 1/6/2019
5.2.1 176,266 12/8/2018
5.2.0 726,773 12/3/2018
5.1.7 20,249 1/19/2020
5.1.6 10,220 9/14/2019
5.1.5 106,562 3/24/2019
5.1.4 9,947 1/6/2019
5.1.3 1,351,036 6/10/2018
5.1.2 175,291 5/9/2018
5.1.1 1,512,216 4/10/2018
5.1.0 326,411 3/17/2018
5.0.8 18,163 9/14/2019
5.0.7 6,261 3/24/2019
5.0.6 8,096 5/9/2018
5.0.5 6,574 4/18/2018
5.0.4 6,709 4/12/2018
5.0.3 285,645 11/30/2017
5.0.1 64,691 11/13/2017
5.0.0 99,060 10/10/2017
4.1.2.4000 406,565 5/4/2018
4.1.1.4000 1,212,949 2/2/2017
4.0.4.4000 2,051,500 8/17/2015
4.0.3.4000 683,091 1/20/2015
4.0.2.4000 348,355 11/15/2014
4.0.1.4000 508,801 9/21/2014
4.0.0.4000 1,544,418 8/17/2014
3.4.1.4000 165,567 8/17/2015
3.4.0.4000 209,593 8/17/2014
3.3.5.4000 385,499 8/17/2015
3.3.4.4000 174,088 8/7/2014
3.3.3.4001 1,588,911 8/8/2013
3.3.3.4000 533,735 3/17/2013
3.3.2.4000 448,706 10/22/2012
3.3.1.4000 904,925 6/12/2012
3.3.0.4000 126,294 4/21/2012
3.2.0.4000 368,770 7/30/2011
3.1.0.4000 363,254 5/9/2011
3.0.0.4000 157,200 3/12/2011
2.1.2.4000 126,892 1/7/2011