IViewServiceGet Method (Guid, Int64)

Gets an entity by its ID and revision number.

Namespace:  Dundas.BI.Entities.Views
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
View Get(
	Guid id,
	long revision
)

Parameters

id
Type: SystemGuid
The ID of the entity to get.
revision
Type: SystemInt64
The revision of the entity to get. Specify -1 to get the latest revision.

Return Value

Type: View
The entity with the specified ID.

Implements

IEntityServiceTGet(Guid, Int64)
Exceptions
ExceptionCondition
ArgumentExceptionid is Empty.
ArgumentOutOfRangeExceptionrevision is less than -1.
NotFoundExceptionThe entity with the specified ID does not exist or is currently recycled.
FeatureNotEnabledExceptionA required feature of the application is not enabled.
NoPrivilegeExceptionCaller does not have the Read privilege on the specified entity.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also