Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/NHibernate/Engine/ISessionImplementor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,11 @@ internal static IDisposable BeginProcess(this ISessionImplementor session)
/// </summary>
public partial interface ISessionImplementor
{
// 5.1 TODO: obsolete Initialize, it has no more usages.
/// <summary>
/// Initialize the session after its construction was complete
/// </summary>
// Since v5.1
[Obsolete("This method has no more usages in NHibernate and will be removed.")]
void Initialize();

/// <summary>
Expand Down
2 changes: 2 additions & 0 deletions src/NHibernate/Impl/AbstractSessionImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ protected internal AbstractSessionImpl(ISessionFactoryImplementor factory, ISess

#region ISessionImplementor Members

// Since v5.1
[Obsolete("This method has no more usages in NHibernate and will be removed.")]
public void Initialize()
{
BeginProcess()?.Dispose();
Expand Down