Back to Devexpress

XPQuery<T> Methods

xpo-devexpress-dot-xpo-dot-xpquery-1-dot-underscore-methods.md

latest5.7 KB
Original Source

XPQuery<T> Methods

A query that allows the construction of LINQ queries for persistent objects.

NameDescription
Clone()Clones the current query.
Deserialize(IDataLayer, String) static
Deserialize(XPDictionary, String) staticCreates an instance of the XPQuery<T> class from its string representation.
Deserialize(Session, String) staticCreates an instance of the XPQuery<T> class from its string representation.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
ExecuteAsync<S>(Expression, CancellationToken)
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
InTransaction()Creates an InTransaction instance of an XPQuery<T> based on the current XPQuery<T> instance.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
Serialize()Converts the current XPQueryBase class instance to string representation. Inherited from XPQueryBase.
ToString()Returns a string that represents the current object. Inherited from Object.
TransformExpression(XPDictionary, Expression<Func<T, Boolean>>, CustomCriteriaCollection) static
TransformExpression(Session, Expression<Func<T, Boolean>>, CustomCriteriaCollection) staticIntended for internal use.
TransformExpression(Session, Expression<Func<T, Boolean>>) staticConverts a lambda expression into an instance of the CriteriaOperator class descendant.
TransformExpression(Expression<Func<T, Boolean>>, CustomCriteriaCollection)Intended for internal use.
TransformExpression(Expression<Func<T, Boolean>>)Converts a lambda expression into an instance of the CriteriaOperator class descendant.
WithCustomCriteria(CustomCriteriaCollection)Intended for internal use.
WithCustomCriteria(ICustomCriteriaOperatorQueryable)Intended for internal use.
WithDeleted()Creates an XPQuery<T> based on the current XPQuery<T> instance. The new query retrieves objects specified by the original query and also selects objects marked as deleted that match that query.

See Also

XPQuery<T> Class

XPQuery<T> Members

DevExpress.Xpo Namespace