Table of Contents

Class BaseEntity

Namespace
Innova.Data.Entity
Assembly
Innova.Data.dll
public abstract class BaseEntity : BindableObject, INotifyPropertyChanged, INotifyPropertyChanging, IEntityValidation, IEntityTrack, INotifyDataErrorInfo
Inheritance
BaseEntity
Implements
Derived
Extension Methods

Properties

EntityValidator

Gets or sets the validator responsible for validating the entity.

HasChanges

Gets a value indicating whether the entity has any changes.

HasErrors

Gets a value that indicates whether the entity has validation errors.

TrackChanges

Gets or sets a value indicating whether changes to the entity should be tracked.

Methods

GetErrors(string)

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

SetValidationResult(string)

Sets the validation result for the specified property.

ValidateEntity()

Validates the entity asynchronously.

Events

ErrorsChanged

Occurs when the validation errors have changed for a property or for the entire entity.