Skip to main content

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

Returns the state of the given entity.

Namespace: DevExpress.Mvvm.DataModel

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

NuGet Package: DevExpress.Scaffolding.Core

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