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
TThe type of the entity.
TEntityInterfaceThe 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.