Method AccountExists
- Namespace
- Innova.Data.Validation
- Assembly
- Innova.Data.dll
AccountExists<T>(IRuleBuilder<T, string>)
Specifies a custom validator for the AccountExists rule.
public static IRuleBuilderOptions<T, string> AccountExists<T>(this IRuleBuilder<T, string> ruleBuilder)
Parameters
ruleBuilder
IRuleBuilder<T, string>The rule builder.
Returns
- IRuleBuilderOptions<T, string>
The rule builder options.
Type Parameters
T
The type of the object being validated.