Mdm |
public abstract class MdmDataManager<TModel> : MdmDataManager, IDataManagedLinkProvider<TModel>, IDataManagedLinkProvider where TModel : IdentifiedData, IHasTypeConcept, IHasClassConcept, IHasRelationships, ITaggable
[Missing <typeparam name="TModel"/> documentation for "T:SanteDB.Persistence.MDM.Services.Resources.MdmDataManager`1"]
The MdmDataManagerTModel type exposes the following members.
| Name | Description | |
|---|---|---|
| AddManagedReferenceLink | Add a managed reference link | |
| CreateLocalFor(IdentifiedData) |
Create a local for masterRecord.
(Inherited from MdmDataManager) | |
| CreateLocalFor(TModel) | Create local for the specified principal | |
| CreateMasterContainerForMasterEntity |
Get a MDM Master for the specified local key
(Inherited from MdmDataManager) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| EstablishMasterFor | Create a new master for the local | |
| ExtractRelationships | Extracts the transactional components which might be in store and return them | |
| FilterManagedReferenceLinks |
Get all managed reference links that are established
(Inherited from MdmDataManager) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetAllMdmAssociations |
Get all MDM associations for this local
(Inherited from MdmDataManager) | |
| GetAllMdmCandidateLocals |
Get all MDM candidate locals regardless of where they are attached
(Inherited from MdmDataManager) | |
| GetAssociatedLocals |
Gets all local associations between masterKey and its master
(Inherited from MdmDataManager) | |
| GetCandidateLocals |
Get all candidate associations between masterKey (Inherited from MdmDataManager) | |
| GetEstablishedCandidateMasters |
Get all associations for which this is a candidate to another master
(Inherited from MdmDataManager) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetIgnoredCandidateLocals |
Get ignore associations
(Inherited from MdmDataManager) | |
| GetIgnoredMasters |
Get ignore associations
(Inherited from MdmDataManager) | |
| GetLocalFor |
Get the local for masterKey owned by principal (Inherited from MdmDataManager) | |
| GetMasterFor(Guid) |
Get a MDM Master for the specified local key
(Inherited from MdmDataManager) | |
| GetMasterFor(TModel) | Get the master for the specified local | |
| GetMasterRelationshipFor |
Get the master record for the specified local record
(Inherited from MdmDataManager) | |
| GetRaw | Gets the raw object from the underlying persistence service identified by the key (whether it is MASTER ENTITY or LOCAL or SYNTH) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| IsLocal |
Determine if the object is a local
(Inherited from MdmDataManager) | |
| IsMaster(Guid) |
Determine if the object is a master
(Inherited from MdmDataManager) | |
| IsMaster(TModel) | Determine if the object is a master | |
| IsOwner(Guid, IPrincipal) |
Determine if principal is the owner of localKey (Inherited from MdmDataManager) | |
| IsOwner(TModel, IPrincipal) | Ensures that principal has access to a local data | |
| IsRecordOfTruth | Determine if the record is a ROT | |
| MdmGet |
Get the master entity
(Inherited from MdmDataManager) | |
| MdmQuery | Synthesize the query | |
| MdmTxDetectCandidates |
Given a MASTER detect LOCALS which might be candidates
(Inherited from MdmDataManager) | |
| MdmTxIgnoreCandidateMatch |
Create transaction instructions to ignore candidate matches
(Inherited from MdmDataManager) | |
| MdmTxMasterLink |
Create transaction instructions to establish MDM master link
(Inherited from MdmDataManager) | |
| MdmTxMasterUnlink |
Create transaction instructions to unlink a master
(Inherited from MdmDataManager) | |
| MdmTxMatchMasters(IdentifiedData, ListIdentifiedData) |
Match masters
(Overrides MdmDataManagerMdmTxMatchMasters(IdentifiedData, ListIdentifiedData)) | |
| MdmTxMatchMasters(TModel, IEnumerableIdentifiedData) | Create transaction instructions which update local to match all masters | |
| MdmTxMergeMasters |
Merge two master records together
(Inherited from MdmDataManager) | |
| MdmTxObsolete | Perform an MDM obsolete operation | |
| MdmTxSaveLocal | Create transaction instructions which update the data as a local | |
| MdmTxSaveRecordOfTruth | Create a transaction instructions which update data to be the ROT | |
| MdmTxUnIgnoreCandidateMatch |
Un-ignore a candidiate match
(Inherited from MdmDataManager) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| PromoteRecordOfTruth | Converts the local to a ROT local | |
| RefactorRelationships |
Refactor relationships
(Inherited from MdmDataManager) | |
| RepointRelationshipsToLocals | For any relationship where the local points to a MASTER which is not appropriate for MDM - remove | |
| ResolveGoldenRecord |
Resolve the golden record for the forSource or if forSource is the golden record return it back
(Overrides MdmDataManagerResolveGoldenRecord(IdentifiedData)) | |
| ResolveManagedRecord(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.
(Overrides MdmDataManagerResolveManagedRecord(IdentifiedData)) | |
| ResolveManagedRecord(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. | |
| ResolveOwnedRecord(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)
(Overrides MdmDataManagerResolveOwnedRecord(IdentifiedData, IPrincipal)) | |
| ResolveOwnedRecord(TModel, IPrincipal) | Get master for forSource or, if it is already a master or not MDM controlled return forSource | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| ValidateMdmState | Validate the MDM state |
| Name | Description | |
|---|---|---|
| ManagedLinkEstablished |
Fired when a managed link is established
(Inherited from MdmDataManager) | |
| ManagedLinkRemoved |
Fired when a managed link is removed
(Inherited from MdmDataManager) |
| Name | Description | |
|---|---|---|
| m_adhocCache | Ad-hoc cache | |
| m_underlyingTypePersistence | Persistence service |
| Name | Description | |
|---|---|---|
| ConvertTReturn |
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) | |
| WithControl |
With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions) |