Click or drag to resize

AdoRelationshipValidationProviderTrim Method

Trim the specified object from the database

Namespace: SanteDB.Persistence.Data.Services
Assembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntax
public void Trim(
	DataContext context,
	DateTimeOffset oldVersionCutoff,
	DateTimeOffset deletedCutoff,
	IAuditBuilder auditBuilder
)

Parameters

context  DataContext
The data context on which the trim process is running
oldVersionCutoff  DateTimeOffset
The date/time of a historical version where the version should be removed
deletedCutoff  DateTimeOffset
The date/time whereby a logically deleted resource needs to be purged
auditBuilder  IAuditBuilder
The audit build so the trimming process can audit the logical or perminent removal

Implements

IAdoTrimProviderTrim(DataContext, DateTimeOffset, DateTimeOffset, IAuditBuilder)
See Also