IRecordMergingService{T}

IRecordMergingService<T> in assembly SanteDB.Core.Api version 3.0.1980.0

Summary

Represents a service which appropriately merges / unmerges records

Events

Event
Type
Description

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

Implementations

SimResourceInterceptor<TModel> - (SanteDB.Core.Api)

Single Instance Mode Handler

Description

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

MdmEntityMerger<TEntity> - (SanteDB.Persistence.MDM)

An MDM merger that operates on Entities

Description

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

MdmResourceMerger<TModel> - (SanteDB.Persistence.MDM)

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; } ```

References

Last updated