Skip to main content

ExpressionHelper.GetKeyPropertyValues(Object) Method

If value is a Tuple, this method collects its items into an array of objects. For other types it creates an array of objects with the value being its only element.

Namespace: DevExpress.Mvvm.Utils

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

NuGet Package: DevExpress.Scaffolding.Core

Declaration

public static object[] GetKeyPropertyValues(
    object value
)

Parameters

Name Type Description
value Object

An object from which an array of objects is created. It it supposed to be a primary key value.

Returns

Type
Object[]
See Also