XPQuery(Session, Boolean) Constructor
Creates an instance of the XPQuery<T> class with specified settings.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
Parameters
Name | Type | Description |
---|---|---|
session | Session | A Session class instance which is used to retrieve persistent objects in LINQ queries. |
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