File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -407,7 +407,7 @@ private void EnsureTransactionIsCreated()
407
407
}
408
408
409
409
// Since v5.3
410
- [ Obsolete ( "Use CurrentTransaction instead, and check for nulls ." ) ]
410
+ [ Obsolete ( "Use CurrentTransaction instead, and check for null ." ) ]
411
411
public ITransaction Transaction
412
412
{
413
413
get
Original file line number Diff line number Diff line change @@ -771,7 +771,7 @@ public partial interface ISession : IDisposable
771
771
/// Get the current Unit of Work and return the associated <c>ITransaction</c> object.
772
772
/// </summary>
773
773
// Since v5.3
774
- [ Obsolete ( "Use GetCurrentTransaction extension method instead, and check for nulls ." ) ]
774
+ [ Obsolete ( "Use GetCurrentTransaction extension method instead, and check for null ." ) ]
775
775
ITransaction Transaction { get ; }
776
776
777
777
/// <summary>
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public partial interface IStatelessSession : IDisposable
55
55
56
56
/// <summary>Get the current NHibernate transaction.</summary>
57
57
// Since v5.3
58
- [ Obsolete ( "Use CurrentTransaction instead, and check for nulls ." ) ]
58
+ [ Obsolete ( "Use CurrentTransaction instead, and check for null ." ) ]
59
59
ITransaction Transaction { get ; }
60
60
61
61
/// <summary>
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public abstract partial class AbstractSessionImpl : ISessionImplementor
38
38
39
39
/// <summary>Get the current NHibernate transaction.</summary>
40
40
// Since v5.3
41
- [ Obsolete ( "Use CurrentTransaction instead, and check for nulls ." ) ]
41
+ [ Obsolete ( "Use CurrentTransaction instead, and check for null ." ) ]
42
42
public ITransaction Transaction => ConnectionManager . Transaction ;
43
43
44
44
/// <summary>
You can’t perform that action at this time.
0 commit comments