Open this page in the API Guide

IEntityService<T>.Rewire Method

Rewires the specified entity.

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

Parameters

entityId
Type: System.Guid
The ID of the entity to rewire.
context
Type: Dundas.BI.Entities.RewiringContext
The rewiring context.

Return Value

Type: Boolean
true if the rewiring operation changed something; otherwise, false.
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