Skip to main content
A newer version of this page is available. .
.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.v19.2.dll

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