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

IRepository<TEntity, TPrimaryKey>.Add(TEntity) Method

Marks the given entity as Added such that it will be commited to the store when IUnitOfWork.SaveChanges is called.

Namespace: DevExpress.Mvvm.DataModel

Assembly: DevExpress.Mvvm.v19.1.DataModel.dll

Declaration

void Add(
    TEntity entity
)

Parameters

Name Type Description
entity TEntity

The entity to add.

See Also