Interface IEntityValidationService<T, TEntityInterface>
Represents a service for validating entities of type TEntityInterface
.
public interface IEntityValidationService<T, TEntityInterface> : IEntityValidatorService where T : class where TEntityInterface : class
Type Parameters
T
The type of the entity.
TEntityInterface
The interface implemented by the entity.
- Extension Methods
Methods
- IsPrimaryKeysValid(IPrimaryKey)
Checks if the primary keys of the specified entity are valid.
- Validate(TEntityInterface, ValidationRuleSetEnum, CancellationToken)
Validates the specified entity using the specified validation rule set.