Table of Contents

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

expression Expression<Func<T, TProperty>>

The expression representing the property.

Type Parameters

TProperty

The 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

propertyName string

The name of the property.