IEntityServiceTGet Method (String, Guid, EntityGetOptions)

Gets an entity by its name.

Namespace:  Dundas.BI.Entities
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
T Get(
	string name,
	Guid parentId,
	EntityGetOptions options
)

Parameters

name
Type: SystemString
The name of the entity to get.
parentId
Type: SystemGuid
The ID of the parent.
options
Type: Dundas.BI.EntitiesEntityGetOptions
The entity get options.

Return Value

Type: T
The entity with the specified name.
Exceptions
ExceptionCondition
ArgumentExceptionname is or empty.
NotFoundException

The entity with the specified name does not exist or is currently recycled.

-or-

The parent with the specified ID does not exist.

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