Skip to main content

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

Changes the state of the specified entity to EntityState.Modified if changes are not automatically tracked by the implementation.

Namespace: DevExpress.Mvvm.DataModel

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

NuGet Package: DevExpress.Scaffolding.Core

Declaration

void Update(
    TEntity entity
)

Parameters

Name Type Description
entity TEntity

An entity which state should be updated.

See Also