IEntityServiceTRestoreUndoFrame Method

Restores the entity to the undo frame.

Namespace:  Dundas.BI.Entities
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
(T , UndoContext UndoContext) RestoreUndoFrame(
	Guid entityId,
	long frameId
)

Parameters

entityId
Type: SystemGuid
The entity identifier.
frameId
Type: SystemInt64
The frame identifier.

Return Value

Type: ValueTupleT, UndoContext
The structure containing the entity with the specified ID undone to the given frame and the current undo context.
Exceptions
ExceptionCondition
ArgumentExceptionentityId is Empty.
ArgumentOutOfRangeExceptionframeId is not greater than zero.
InvalidOperationException

The entity has never been saved before.

-or-

The entity is not checked out to the caller.

-or-

Undo context does not contain any frames.

-or-

Undo context does not contain current frame.

-or-

Restored frame ID is the same as current frame ID.

-or-

Restored frame ID is not found in the undo context.

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