Click or drag to resize

IBusinessRulesServiceTModelBeforeObsolete Method (TModel)

Called before obsolete occurs

Namespace:  SanteDB.Core.Services
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 2.2.1
Syntax
TModel BeforeObsolete(
	TModel data
)

Parameters

data
Type: TModel
The data which is about to be obsoleted

Return Value

Type: TModel
The data object to be passed to the persistence layer for obsoletion
Remarks
Implementers can use this method to change tags, states, extensions or notes on the object prior to the object being committed to the data persistence layer.
See Also