Click or drag to resize

IDataManagedLinkProviderResolveOwnedRecord Method

When a data management pattern (like MDM) performs compartmentalization of source data there is a need for the caller to get the record which is owned by ownerPrincipal to perform an update (this is common in MDM data imports and migrations)

Namespace: SanteDB.Core.Data
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
IdentifiedData ResolveOwnedRecord(
	IdentifiedData forTarget,
	IPrincipal ownerPrincipal
)

Parameters

forTarget  IdentifiedData
The record returned from the persistence layer
ownerPrincipal  IPrincipal
The owner principal which the method should return

Return Value

IdentifiedData
The resolved record under management which is owned by ownerPrincipal
See Also