Skip to main content
A newer version of this page is available. .

SingleObjectViewModelBase<TEntity, TPrimaryKey, TUnitOfWork>.Entity Property

An entity represented by this view model.

Namespace: DevExpress.Mvvm.ViewModel

Assembly: DevExpress.Mvvm.v20.2.ViewModel.dll

NuGet Packages: DevExpress.Scaffolding.Core, DevExpress.WindowsDesktop.Mvvm.ViewModel

Declaration

public virtual TEntity Entity { get; protected set; }

Property Value

Type
TEntity

Remarks

Since SingleObjectViewModelBase is a POCO view model, this property will raise INotifyPropertyChanged.PropertyEvent when modified so it can be used as a binding source in views.

See Also