Click or drag to resize

IBusinessRulesServiceTModelValidate(TModel) Method

Called to validate the data provided

Namespace: SanteDB.Core.Services
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
List<DetectedIssue> Validate(
	TModel data
)

Parameters

data  TModel
The data which is to be validated

Return Value

ListDetectedIssue
A list of DetectedIssue instances which represent the validation statements.
Remarks
This method is used to raise DetectedIssue information statements based on custom validation logic provided. For example, implementers can use this method to validate sufficient stock exists to perform an operation, to validate that an action is safe, etc.
See Also