# nhibernate/fluent-nhibernate

Fluent NHibernate!

Repository: https://github.com/nhibernate/fluent-nhibernate
Canonical: https://ross.abutalabs.com/products/fluent-nhibernate
Language: C#
License: BSD-3-Clause
License Family: permissive
Topics: nhibernate, fluent-api, c-sharp, linq, orm, fluentnhibernate
Last push: 2026-08-12T00:02:59+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 8, longevity 100
- inputs: {"age_days": 6412, "days_push": 22, "days_rel": 533, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1666, forks 675 (observed 2026-08-28T04:05:19.527148+00:00)

## What it is
Fluent NHibernate is a .NET library providing fluent, XML-free, compile-safe, convention-based mappings for the NHibernate ORM. It supports both a fluent mapping interface and automated mapping driven by conventions.

## Use cases
- map C# entities to a database without XML files
- configure NHibernate mappings with a fluent API
- auto-map classes by convention
- get compile-time safety for ORM mappings
- replace hbm.xml mapping files in a .NET project

## When to choose
- you use NHibernate and want to eliminate XML mapping files
- you prefer convention-based auto mapping in .NET
- you want mappings checked at compile time

## When to avoid
- you use Entity Framework or another ORM instead of NHibernate
- you need a very actively developed ORM with frequent releases

## Facets
- artifact type: library
- maturity: maintenance
- function: orm, serialization
- domain: databases, backend, developer-tools
- platform: dotnet, cross-platform
- tags: nhibernate, fluent-api, c-sharp, convention-based-mapping, auto-mapping, linq

## Member repositories
- nhibernate/fluent-nhibernate (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:19.527148+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:42:59.943324+00:00, confidence not recorded.
  - readme: https://github.com/nhibernate/fluent-nhibernate (fetched 2026-08-28T04:05:19.527148+00:00, sha c6eada5afc30)
- Data as of 2026-08-30T08:39:29.467469+00:00.
