IEntityServiceTRewire Method

Rewires the specified entity.

Namespace:  Dundas.BI.Entities
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
bool Rewire(
	Guid entityId,
	RewiringContext context
)

Parameters

entityId
Type: SystemGuid
The ID of the entity to rewire.
context
Type: Dundas.BI.EntitiesRewiringContext
The rewiring context.

Return Value

Type: Boolean
if the rewiring operation changed something; otherwise, .
Exceptions
ExceptionCondition
ArgumentExceptionentityId is Empty.
NotFoundExceptionThe entity or one of the specified replacements does not exist.
RewiringExceptionThe rewiring operation could not be completed due to an error.
InvalidOperationException The specified entity is not checked out to the caller.
NoPrivilegeException The caller does not have the Read privilege on all the specified replacement entries.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also