Class RepositoryViewModel<TEntity>
- Namespace
- HeBianGu.General.WpfControlLib
- Assembly
- HeBianGu.General.WpfControlLib.dll
直接对接模型的仓储基类
public class RepositoryViewModel<TEntity> : RepositoryViewModelBase<SelectViewModel<TEntity>, TEntity>, INotifyPropertyChanged, IRepositoryViewModel<TEntity>, IRepositoryViewModelBase<TEntity>, IRepositoryViewModel where TEntity : StringEntityBase, new()
Type Parameters
TEntity
- Inheritance
-
RepositoryViewModelBase<SelectViewModel<TEntity>, TEntity>RepositoryViewModel<TEntity>
- Implements
-
IRepositoryViewModel<TEntity>IRepositoryViewModelBase<TEntity>
- Derived
- Inherited Members
- Extension Methods
Methods
Add(params TEntity[])
public override Task Add(params TEntity[] ms)
Parameters
ms
TEntity[]
Returns
RefreshData(params string[])
public override void RefreshData(params string[] includes)
Parameters
includes
string[]