Skip to content

Commit aa25ecc

Browse files
authored
Legacy documentation review: Persistence - NHibernate - Accessing data (#8363)
- Remove dead 'partial: transactionscope' reference: the matching partial was deleted in 2022, so this reference has rendered nothing since (the only transactionscope partial belongs to a different component/folder) - Collapse the identical [8,9) and [9,) 'direct-access' partials into a single [8,) partial (byte-for-byte identical; the v9 ISession access API is unchanged), removing a duplication/stale-copy maintenance trap - Fix grammar: 'with regards to' -> 'with regard to'; tighten the intro sentence - Update reviewed date
1 parent 8b0bcdd commit aa25ecc

3 files changed

Lines changed: 3 additions & 26 deletions

File tree

persistence/nhibernate/accessing-data.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,15 @@ title: Accessing data via NHibernate persistence
33
summary: How to access business data using connections managed by the NServiceBus NHibernate persistence.
44
component: NHibernate
55
versions: '[4,]'
6-
reviewed: 2024-10-24
6+
reviewed: 2026-06-22
77
related:
88
- nservicebus/handlers/accessing-data
99
redirects:
1010
- nservicebus/nhibernate/accessing-data
1111
---
1212

13-
NHibernate persistence supports a mechanism that allows using the same data context used by NServiceBus internals to also store business data. This ensures atomicity of changes done across multiple handlers and sagas involved in processing of the same message. See [accessing data](/nservicebus/handlers/accessing-data.md) to learn more about other ways of accessing the data in the handlers.
13+
NHibernate persistence supports a mechanism that allows using the same data context used by NServiceBus internals to also store business data. This ensures atomicity of changes across the handlers and sagas that process the same message. See [accessing data](/nservicebus/handlers/accessing-data.md) to learn more about other ways of accessing the data in the handlers.
1414

1515
partial: direct-access
1616

17-
Regardless of how the `ISession` object is accessed, it is fully managed by NServiceBus according to the best practices defined by NServiceBus documentation with regards to transactions.
18-
19-
partial: transactionscope
17+
Regardless of how the `ISession` object is accessed, it is fully managed by NServiceBus according to the best practices defined by NServiceBus documentation with regard to transactions.

persistence/nhibernate/accessing-data_direct-access_nhibernate_[8,9).partial.md renamed to persistence/nhibernate/accessing-data_direct-access_nhibernate_[8,).partial.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ snippet: NHibernateAccessingDataViaDI
1212
1313
snippet: AccessingDataConfigureISessionDI
1414

15-
1615
### Using in a saga
1716

1817
include: saga-business-data-access

persistence/nhibernate/accessing-data_direct-access_nhibernate_[9,).partial.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)