Skip to main content
.NET 8.0+

ObjectsByKeyQuery(XPClassInfo, ICollection) Constructor

In This Article

Initializes a new instance of the ObjectsByKeyQuery class with the persistent class’s metadata information about persistent objects, to include in the query and their key values.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

NuGet Package: DevExpress.Xpo

#Declaration

public ObjectsByKeyQuery(
    XPClassInfo classInfo,
    ICollection idCollection
)

#Parameters

Name Type Description
classInfo XPClassInfo

An XPClassInfo descendant providing the persistent class’s metadata.

idCollection ICollection

A collection of key property values.

See Also