Skip to main content
.NET 6.0+

XPQuery(XPDictionary, Boolean) Constructor

Creates an instance of the XPQuery<T> class with specified settings.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public XPQuery(
    XPDictionary dictionary,
    bool inTransaction
)

Parameters

Name Type Description
dictionary XPDictionary

The XPDictionary class descendant’s instance, which provides metadata on persistent objects in a data store.

inTransaction Boolean

true to enable the InTransaction mode; otherwise, false.

Remarks

To create an InTransaction XPQuery<T> object based on an existing XPQuery<T> instance, call its XPQuery<T>.InTransaction method.

See Also