Back to Devexpress

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

xpo-devexpress-dot-xpo-dot-xpquery-1-dot-deserialize-x28-devexpress-dot-xpo-dot-session-system-dot-string-x29.md

latest1.7 KB
Original Source

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

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

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

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

Parameters

NameTypeDescription
sessionSession

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

TypeDescription
XPQuery<T>

An instance of the XPQuery<T> class.

|

See Also

Serialize()

XPQuery<T> Class

XPQuery<T> Members

DevExpress.Xpo Namespace