Class BaseEntity<TSource>
Represents a base entity that provides functionality for tracking changes, validation, and property binding, implementing multiple interfaces to support these behaviors.
public abstract class BaseEntity<TSource> : BaseEntity, INotifyPropertyChanged, INotifyPropertyChanging, IEntityValidation, IEntityTrack, INotifyDataErrorInfo, IEntityWithKey<TSource> where TSource : class
Type Parameters
TSource
The type of the source entity.
- Inheritance
-
BaseEntity<TSource>
- Implements
-
IEntityWithKey<TSource>
- Extension Methods
Methods
- GetKeys()
Gets the primary keys of the entity.
- SetPropertyAndValidate<T>(ref T, T, Action, string)
Sets the property value and performs validation.
- SetPropertyAndValidate<T>(ref T, T, string)
Sets the property value and performs validation.