Raven.Storage.Esent.TransactionalStorage.GetCurrentBatch C# (CSharp) 메소드

GetCurrentBatch() 개인적인 메소드

private GetCurrentBatch ( ) : StorageActionsAccessor
리턴 StorageActionsAccessor
		internal StorageActionsAccessor GetCurrentBatch()
		{
			var batch = current.Value;
			if (batch == null)
				throw new InvalidOperationException("Batch was not started, you are not supposed to call this method");
			return batch;
		}
	}