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

RepositoryExtensions.GetSinglePropertyPrimaryKeyProjectionProperty<TEntity, TProjection, TPrimaryKey>(IRepository<TEntity, TPrimaryKey>) Method

Namespace: DevExpress.Mvvm.DataModel

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

Declaration

public static Expression<Func<TProjection, TPrimaryKey>> GetSinglePropertyPrimaryKeyProjectionProperty<TEntity, TProjection, TPrimaryKey>(
    this IRepository<TEntity, TPrimaryKey> repository
)
    where TEntity : class

Parameters

Name Type
repository IRepository<TEntity, TPrimaryKey>

Type Parameters

Name
TEntity
TProjection
TPrimaryKey

Returns

Type
Expression<Func<TProjection, TPrimaryKey>>
See Also