Method IsPropertyIgnored
- Namespace
- Innova.Data.Validation
- Assembly
- Innova.Data.dll
IsPropertyIgnored<TProperty>(Expression<Func<T, TProperty>>)
Determines whether the specified property is ignored during validation.
protected bool IsPropertyIgnored<TProperty>(Expression<Func<T, TProperty>> expression)Parameters
- expressionExpression<Func<T, TProperty>>
- The expression representing the property. 
Returns
- bool
- trueif the property is ignored; otherwise,- false.
Type Parameters
- TProperty
- The type of the property. 
IsPropertyIgnored(string)
Determines whether the specified property is ignored during validation.
protected bool IsPropertyIgnored(string name)Parameters
- namestring
- The name of the property. 
Returns
- bool
- trueif the property is ignored; otherwise,- false.