Class IEntityValidationServiceExtensions
Extension methods for IEntityValidationService.
public static class IEntityValidationServiceExtensions
- Inheritance
-
IEntityValidationServiceExtensions
Methods
- IsEntityValid<T, TInterface>(IEntityValidationService<T, TInterface>, T, ValidationResult)
Checks if the entity is valid based on the validation result.
- IsPrimaryKeysValidAndThrowException<T, TInterface>(IEntityValidationService<T, TInterface>, IPrimaryKey)
Checks if the primary keys are valid and throws an exception if they are not.