IRecordMergingService{T}
Last updated
Last updated
IRecordMergingService<T>
in assembly SanteDB.Core.Api version 3.0.1980.0
Represents a service which appropriately merges / unmerges records
Event | Type | Description |
---|---|---|
Single Instance Mode Handler
This class binds to startup and enables the listening and merging of records based on the record matcher
This service implementation is abstract or is a generic definition. It is intended to be implemented or constructed at runtime from other services and cannot be used directly
An MDM merger that operates on Entities
This class exists to allow callers to interact with the operations in the underlying infrastructure.
This service implementation is abstract or is a generic definition. It is intended to be implemented or constructed at runtime from other services and cannot be used directly
An implementation of a IRecordMergeService for an MDM controlled resource
This service implementation is abstract or is a generic definition. It is intended to be implemented or constructed at runtime from other services and cannot be used directly
# Example Implementation ```csharp /// Example Implementation using SanteDB.Core.Services; /// Other usings here public class MyRecordMergingService : SanteDB.Core.Services.IRecordMergingService { public String ServiceName => "My own IRecordMergingService`1 service"; ////// Fired prior to a merge occurring ///public event EventHandler> Merging; ////// Fired after a merge has occurred ///public event EventHandler> Merged; ////// Fired prior to a merge occurring ///public event EventHandler> UnMerging; ////// Fired after a merge has occurred ///public event EventHandler> UnMerged; } ```
Merging
EventHandler<DataMergingEventArgs<T>>
Fired prior to a merge occurring
Merged
EventHandler<DataMergeEventArgs<T>>
Fired after a merge has occurred
UnMerging
EventHandler<DataMergingEventArgs<T>>
Fired prior to a merge occurring
UnMerged
EventHandler<DataMergeEventArgs<T>>
Fired after a merge has occurred