mirror of
https://github.com/DevExpress/netcore-winforms-demos.git
synced 2026-01-06 16:57:06 +00:00
Add Outlook Inspired and Stock Market demos
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
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 {
|
||||
/// <summary>
|
||||
/// The base interface for view models representing a single entity.
|
||||
/// </summary>
|
||||
/// <typeparam name="TEntity">An entity type.</typeparam>
|
||||
/// <typeparam name="TPrimaryKey">An entity primary key type.</typeparam>
|
||||
public interface ISingleObjectViewModel<TEntity, TPrimaryKey> {
|
||||
|
||||
/// <summary>
|
||||
/// The entity represented by a view model.
|
||||
/// </summary>
|
||||
TEntity Entity { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The entity primary key value.
|
||||
/// </summary>
|
||||
TPrimaryKey PrimaryKey { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user