 | IBusinessRulesServiceTModelValidate(TModel) Method |
Called to validate the data provided
Namespace: SanteDB.Core.ServicesAssembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
SyntaxList<DetectedIssue> Validate(
TModel data
)
Function Validate (
data As TModel
) As List(Of DetectedIssue)
List<DetectedIssue^>^ Validate(
TModel data
)
abstract Validate :
data : 'TModel -> List<DetectedIssue> Parameters
- data TModel
- The data which is to be validated
Return Value
ListDetectedIssueA list of
DetectedIssue instances which represent the validation statements.
RemarksThis 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