IEntityServiceTGet Method (String, Guid, Int64) |
Gets an entity by its name and revision number.
Namespace:
Dundas.BI.Entities
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (8.0.2.1001)
SyntaxT Get(
string name,
Guid parentId,
long revision
)
Function Get (
name As String,
parentId As Guid,
revision As Long
) As T
T Get(
String^ name,
Guid parentId,
long long revision
)
abstract Get :
name : string *
parentId : Guid *
revision : int64 -> 'T
Parameters
- name
- Type: SystemString
The name of the entity to get. - parentId
- Type: SystemGuid
The ID of the parent entry. - revision
- Type: SystemInt64
The revision of the entity to get. Specify -1 to get the latest revision.
Return Value
Type:
TThe entity with the specified name.
Exceptions| Exception | Condition |
|---|
| ArgumentException | name is or empty. |
| ArgumentOutOfRangeException | revision is less than -1. |
| NotFoundException | The entity with the specified name does not exist or is currently recycled. -or- The parent with the specified ID does not exist. -or- The specified revision of the entity does not exist. |
| NoPrivilegeException | The caller does not have the Read privilege on the specified entity. |
| InvalidSessionException | The caller context is not associated with a valid session. |
See Also