DbEntityValidationResult DbEntityValidationResult DbEntityValidationResult Class

Definition

Represents validation results for single entity.

[System.Serializable]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", Justification="FxCop rule is wrong; Database is not two words.", MessageId="Db")]
public class DbEntityValidationResult
type DbEntityValidationResult = class
Public Class DbEntityValidationResult
Inheritance
DbEntityValidationResultDbEntityValidationResultDbEntityValidationResult
Attributes

Constructors

DbEntityValidationResult(DbEntityEntry, IEnumerable<DbValidationError>) DbEntityValidationResult(DbEntityEntry, IEnumerable<DbValidationError>) DbEntityValidationResult(DbEntityEntry, IEnumerable<DbValidationError>)

Creates an instance of DbEntityValidationResult class.

Properties

Entry Entry Entry

Gets an instance of DbEntityEntry the results applies to.

IsValid IsValid IsValid

Gets an indicator if the entity is valid.

ValidationErrors ValidationErrors ValidationErrors

Gets validation errors. Never null.

Applies to