Resource Patching Provider

IPatchService in assembly SanteDB.Core.Api version 3.0.1980.0

Summary

Represents a patch service which can calculate and apply patches

Operations

Operation
Response/Return
Input/Parameter
Description

Diff

Patch

IdentifiedData existing IdentifiedData updated String[] ignoreProperties

Performs a DIFF and creates the related patch which can be used to update to

Patch

IdentifiedData

Patch patch IdentifiedData data Boolean force

Apples the specified onto returning the updated object

Test

Boolean

Patch patch IdentifiedData target

Tests that the patch can be applied on the specified object

Implementations

Basic Patching Service - (SanteDB.Core.Api)

Represents a simple patch service which can calculate patches and apply them

Service Registration

...
<section xsi:type="ApplicationServiceContextConfigurationSection" threadPoolSize="4">
	<serviceProviders>
		...
		<add type="SanteDB.Core.Services.Impl.SimplePatchService, SanteDB.Core.Api, Version=3.0.1980.0, Culture=neutral, PublicKeyToken=null" />
		...
	</serviceProviders>

Example Implementation

References

Last updated

Was this helpful?