using System; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Linq.Expressions; using DevExpress.Mvvm; using DevExpress.Mvvm.POCO; using DevExpress.Mvvm.DataAnnotations; using DevExpress.DevAV.Common.Utils; using DevExpress.Mvvm.DataModel; namespace DevExpress.DevAV.Common.ViewModel { /// /// The base interface for view models representing a single entity. /// /// An entity type. /// An entity primary key type. public interface ISingleObjectViewModel { /// /// The entity represented by a view model. /// TEntity Entity { get; } /// /// The entity primary key value. /// TPrimaryKey PrimaryKey { get; } } }