Method ValidateByDefaultRuleset
- Namespace
 - Innova.Data.Validation
 
- Assembly
 - Innova.Data.dll
 
ValidateByDefaultRuleset<T>(T, string)
Validates the specified entity using the default validation rule set and the specified property name.
Task<ValidationResult> ValidateByDefaultRuleset<T>(T entity, string propertyName = null)
Parameters
entityTThe entity to be validated.
propertyNamestringThe name of the property to be validated.
Returns
- Task<ValidationResult>
 The validation result.
Type Parameters
TThe type of the entity to be validated.