Method AddPropertyToIgnore
- Namespace
- Innova.Data.Validation
- Assembly
- Innova.Data.dll
AddPropertyToIgnore<TProperty>(Expression<Func<T, TProperty>>)
Adds the specified property to the list of properties to ignore during validation.
protected void AddPropertyToIgnore<TProperty>(Expression<Func<T, TProperty>> expression)
Parameters
expressionExpression<Func<T, TProperty>>The expression representing the property.
Type Parameters
TPropertyThe type of the property.
AddPropertyToIgnore(string)
Adds the specified property to the list of properties to ignore during validation.
protected void AddPropertyToIgnore(string propertyName)
Parameters
propertyNamestringThe name of the property.