Skip to main content

IRepository<TEntity, TPrimaryKey>.GetPrimaryKeyExpression Property

Gets the lambda-expression that returns the entity primary key.

Namespace: DevExpress.Mvvm.DataModel

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

NuGet Package: DevExpress.Scaffolding.Core

Declaration

Expression<Func<TEntity, TPrimaryKey>> GetPrimaryKeyExpression { get; }

Property Value

Type Description
Expression<Func<TEntity, TPrimaryKey>>

The lambda-expression that returns the entity primary key.

See Also