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

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

Returns the state of the given entity.

Namespace: DevExpress.Mvvm.DataModel

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

Declaration

EntityState GetState(
    TEntity entity
)

Parameters

Name Type Description
entity TEntity

An entity to get the state from.

Returns

Type Description
EntityState

The state of the given entity.

See Also