Skip to main content
.NET Framework 4.6.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.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