.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

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

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.2.dll

Declaration

public static XPQuery<T> Deserialize(
    Session session,
    string data
)
Public Shared Function Deserialize(
    session As Session,
    data As String
) As XPQuery(Of T)

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