Table of Contents

Method ValidateResult

Namespace
Innova.Data.Validation
Assembly
Innova.Data.dll

ValidateResult<T>(ValidationResult, T)

Validates the validation result and throws a ValidationException if the result is not valid.

public static void ValidateResult<T>(this ValidationResult validationResult, T entity) where T : class

Parameters

validationResult ValidationResult

The validation result.

entity T

The entity.

Type Parameters

T

The type of the entity.