Table of Contents

Method GetErrors

Namespace
Innova.Data.Entity
Assembly
Innova.Data.dll

GetErrors(string)

Gets the validation errors for a specified property or for the entire entity.

public IEnumerable GetErrors(string propertyName)

Parameters

propertyName string

The name of the property to retrieve validation errors for; or null or Empty, to retrieve entity-level errors.

Returns

IEnumerable

The validation errors for the property or entity.