Click or drag to resize

MdmEntityDataManagerTModel Class

Data manager for MDM services for entities
Inheritance Hierarchy
SystemObject
  SanteDB.Persistence.MDM.Services.ResourcesMdmDataManager
    SanteDB.Persistence.MDM.Services.ResourcesMdmDataManagerTModel
      SanteDB.Persistence.MDM.Services.ResourcesMdmEntityDataManagerTModel

Namespace: SanteDB.Persistence.MDM.Services.Resources
Assembly: SanteDB.Persistence.MDM (in SanteDB.Persistence.MDM.dll) Version: 3.0.2081-alpha+a75c6ef344438c8f05e3aa0d0480396778be147b
Syntax
public class MdmEntityDataManager<TModel> : MdmDataManager<TModel>
where TModel : new(), Entity

Type Parameters

TModel

[Missing <typeparam name="TModel"/> documentation for "T:SanteDB.Persistence.MDM.Services.Resources.MdmEntityDataManager`1"]

The MdmEntityDataManagerTModel type exposes the following members.

Constructors
 NameDescription
Public methodMdmEntityDataManagerTModel Create entity data manager
Top
Methods
 NameDescription
Public methodAddManagedReferenceLink Add a managed reference link
(Inherited from MdmDataManagerTModel)
Public methodCreateLocalFor(IdentifiedData) Create a local for masterRecord.
(Overrides MdmDataManagerCreateLocalFor(IdentifiedData))
Public methodCreateLocalFor(TModel) Create a new local record for masterRecord
(Overrides MdmDataManagerTModelCreateLocalFor(TModel))
Public methodCreateMasterContainerForMasterEntity Create master container for the specified object
(Overrides MdmDataManagerCreateMasterContainerForMasterEntity(IAnnotatedResource))
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodEstablishMasterFor Establish master for the specified object
(Overrides MdmDataManagerTModelEstablishMasterFor(TModel))
Public methodExtractRelationships Extract relationships of note for the MDM layer
(Overrides MdmDataManagerTModelExtractRelationships(TModel))
Public methodFilterManagedReferenceLinks Get all managed reference links that are established
(Inherited from MdmDataManager)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetAllMdmAssociations Get all associations related to MDM
(Overrides MdmDataManagerGetAllMdmAssociations(Guid))
Public methodGetAllMdmCandidateLocals Get all candidate locals
(Overrides MdmDataManagerGetAllMdmCandidateLocals)
Public methodGetAssociatedLocals Gets the local associations (the locals) attached to the master key
(Overrides MdmDataManagerGetAssociatedLocals(Guid))
Public methodGetCandidateLocals Gets the candidate locals of a specified master
(Overrides MdmDataManagerGetCandidateLocals(Guid))
Public methodGetEstablishedCandidateMasters Get candidate master established for this local
(Overrides MdmDataManagerGetEstablishedCandidateMasters(Guid))
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetIgnoredCandidateLocals Get all candidates which should be ignored
(Overrides MdmDataManagerGetIgnoredCandidateLocals(Guid))
Public methodGetIgnoredMasters Get all ignored masters
(Overrides MdmDataManagerGetIgnoredMasters(Guid))
Public methodGetLocalFor Get local for specified object
(Overrides MdmDataManagerGetLocalFor(Guid, IPrincipal))
Public methodGetMasterFor(Guid) Get the master construct record for masterKey
(Overrides MdmDataManagerGetMasterFor(Guid))
Public methodGetMasterFor(TModel) Get master for the specified object
(Overrides MdmDataManagerTModelGetMasterFor(TModel))
Public methodGetMasterRelationshipFor Get the master record for the specified local record
(Inherited from MdmDataManager)
Public methodGetRaw Gets the raw object from the underlying persistence service identified by the key (whether it is MASTER ENTITY or LOCAL or SYNTH)
(Inherited from MdmDataManagerTModel)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsLocal Determine if the record is a local
(Overrides MdmDataManagerIsLocal(Guid))
Public methodIsMaster(Guid) Determine is the specified data is a master key
(Overrides MdmDataManagerIsMaster(Guid))
Public methodIsMaster(TModel) Determine if the data provided is a master
(Overrides MdmDataManagerTModelIsMaster(TModel))
Public methodIsOwner(Guid, IPrincipal) Determine if the local is owned by the principal
(Overrides MdmDataManagerIsOwner(Guid, IPrincipal))
Public methodIsOwner(TModel, IPrincipal) Return true if principal is the owner of data
(Overrides MdmDataManagerTModelIsOwner(TModel, IPrincipal))
Public methodIsRecordOfTruth Determine if the entity is already a ROT or wants to be
(Overrides MdmDataManagerTModelIsRecordOfTruth(TModel))
Public methodMdmGet Get the master
(Overrides MdmDataManagerMdmGet(Guid))
Public methodMdmQuery Perform the specified query against the underlying result set
(Overrides MdmDataManagerTModelMdmQuery(NameValueCollection, NameValueCollection, IPrincipal))
Public methodMdmTxDetectCandidates Given a master master - detect LOCALs which could be candidates
(Overrides MdmDataManagerMdmTxDetectCandidates(IdentifiedData, ListIdentifiedData))
Public methodMdmTxIgnoreCandidateMatch Create transaction instructions to ignore future matches between hostKey and ignoreKey
(Overrides MdmDataManagerMdmTxIgnoreCandidateMatch(Guid, Guid, IEnumerableIdentifiedData))
Public methodMdmTxMasterLink Perform necessary steps to link masterKey and localKey as a master
(Overrides MdmDataManagerMdmTxMasterLink(Guid, Guid, IEnumerableIdentifiedData, Boolean))
Public methodMdmTxMasterUnlink Unlink a previously established link
(Overrides MdmDataManagerMdmTxMasterUnlink(Guid, Guid, IEnumerableIdentifiedData))
Public methodMdmTxMatchMasters(IdentifiedData, ListIdentifiedData) Match masters
(Inherited from MdmDataManagerTModel)
Public methodMdmTxMatchMasters(TModel, IEnumerableIdentifiedData) Match masters
(Overrides MdmDataManagerTModelMdmTxMatchMasters(TModel, IEnumerableIdentifiedData))
Public methodMdmTxMergeMasters Create transaction instructiosn to merge victimKey into survivorKey
(Overrides MdmDataManagerMdmTxMergeMasters(Guid, Guid, IEnumerableIdentifiedData))
Public methodMdmTxObsolete Obsolete the specified object
(Overrides MdmDataManagerTModelMdmTxObsolete(TModel, IEnumerableIdentifiedData))
Public methodMdmTxSaveLocal Save local
(Overrides MdmDataManagerTModelMdmTxSaveLocal(TModel, IEnumerableIdentifiedData))
Public methodMdmTxSaveRecordOfTruth Save the record of truth
(Overrides MdmDataManagerTModelMdmTxSaveRecordOfTruth(TModel, IEnumerableIdentifiedData))
Public methodMdmTxUnIgnoreCandidateMatch Un-ignore an ignore link
(Overrides MdmDataManagerMdmTxUnIgnoreCandidateMatch(Guid, Guid, ListIdentifiedData))
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodPromoteRecordOfTruth Promote to record of truth
(Overrides MdmDataManagerTModelPromoteRecordOfTruth(TModel))
Public methodRefactorRelationships Refactor relationships
(Overrides MdmDataManagerRefactorRelationships(IEnumerableIdentifiedData, Guid, Guid))
Public methodRepointRelationshipsToLocals For any relationship where the local points to a MASTER which is not appropriate for MDM - remove
(Inherited from MdmDataManagerTModel)
Public methodResolveGoldenRecord Resolve the golden record for the forSource or if forSource is the golden record return it back
(Inherited from MdmDataManagerTModel)
Public methodResolveManagedRecord(IdentifiedData) When a data management pattern (like MDM) masks or performs specialized linking or synthesization in the database this method will allow callers to have the data provider synthesize that data.
(Inherited from MdmDataManagerTModel)
Public methodResolveManagedRecord(TModel) When a data management pattern (like MDM) masks or performs specialized linking or synthesization in the database this method will allow callers to have the data provider synthesize that data.
(Inherited from MdmDataManagerTModel)
Public methodResolveOwnedRecord(IdentifiedData, IPrincipal) 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)
(Inherited from MdmDataManagerTModel)
Public methodResolveOwnedRecord(TModel, IPrincipal) Get master for forSource or, if it is already a master or not MDM controlled return forSource
(Inherited from MdmDataManagerTModel)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodValidateMdmState Validate the MDM state
(Overrides MdmDataManagerTModelValidateMdmState(TModel))
Top
Events
 NameDescription
Public eventManagedLinkEstablished Fired when a managed link is established
(Inherited from MdmDataManager)
Public eventManagedLinkRemoved Fired when a managed link is removed
(Inherited from MdmDataManager)
Top
Fields
 NameDescription
Protected fieldm_adhocCache Ad-hoc cache
(Inherited from MdmDataManagerTModel)
Protected fieldm_underlyingTypePersistence Persistence service
(Inherited from MdmDataManagerTModel)
Top
Extension Methods
 NameDescription
Public Extension MethodConvertTReturn The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods)
Public Extension MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
See Also