Skip to main content
.NET Framework 4.5.2+

XPQuery<T>.Deserialize(Session, String) Method

Creates an instance of the XPQuery<T> class from its string representation.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public static XPQuery<T> Deserialize(
    Session session,
    string data
)

Parameters

Name Type Description
session Session

The Session class instance which is used to retrieve persistent objects in LINQ queries.

data String

The string representation of the query, obtained via the XPQueryBase.Serialize method.

Returns

Type Description
XPQuery<T>

An instance of the XPQuery<T> class.

See Also