Skip to main content

EntityTraits<TEntity, TPrimaryKey>.GetPrimaryKey Property

The function that returns the primary key value of a given entity.

Namespace: DevExpress.Mvvm.Utils

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

NuGet Package: DevExpress.Scaffolding.Core

Declaration

public Func<TEntity, TPrimaryKey> GetPrimaryKey { get; }

Property Value

Type
Func<TEntity, TPrimaryKey>
See Also