| IBusinessRulesServiceTModelValidate Method (TModel) |
Called to validate the data provided
Namespace:
SanteDB.Core.Services
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax List<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
- Type: TModel
The data which is to be validated
Return Value
Type:
ListDetectedIssueA 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