Open this page in the API Guide

IEntityService<T>.TryRedo Method

Tries to redo the last change done to the entity.

Namespace:  Dundas.BI.Entities
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
bool TryRedo(
	Guid entityId,
	out (T , UndoContext ) result
)

Parameters

entityId
Type: System.Guid
The entity identifier.
result
Type: System.ValueTuple<T, UndoContext>
The structure containing the entity with the specified ID redone and the current undo context. If redo did not succeed, the entity would be null.

Return Value

Type: Boolean
The value of true if redo succeeded, false otherwise.
Exceptions
ExceptionCondition
ArgumentExceptionentityId is Empty.
InvalidOperationException

The entity has never been saved before.

-or-

The entity is not checked out to the caller.

NotFoundExceptionThe entity with the specified ID does not exist when saving an existing entity.
NoPrivilegeException

The caller does not have the Write permission on the entity.

-or-

The entity being saved is not a dashboard and the caller's seat kind is not PowerUser or better.

InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also