Castle.ActiveRecord.SessionScope.PerformDisposal C# (CSharp) Method

PerformDisposal() protected method

Performs the disposal.
protected PerformDisposal ( ICollection sessions ) : void
sessions ICollection The sessions.
return void
		protected override void PerformDisposal(ICollection<ISession> sessions)
		{
			if (hasSessionError || FlushAction == FlushAction.Never)
			{
				PerformDisposal(sessions, false, true);
			}
			else if (FlushAction == FlushAction.Auto)
			{
				PerformDisposal(sessions, true, true);
			}
		}