Back to Devexpress

XPQuery<T> Members

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

latest7.6 KB
Original Source

XPQuery<T> Members

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

Constructors

NameDescription
XPQuery(IDataLayer)Initializes a new instance of the XPQuery<T> class with specified settings.
XPQuery(XPDictionary, Boolean)Creates an instance of the XPQuery<T> class with specified settings.
XPQuery(XPDictionary)Creates an instance of the XPQuery<T> class with the specified settings.
XPQuery(Session, Boolean)Creates an instance of the XPQuery<T> class with specified settings.
XPQuery(Session)Creates an instance of the XPQuery<T> class with the specified settings.

Fields

NameDescription
SuppressNonPersistentPropertiesCheck staticInherited from XPQueryBase.

Properties

NameDescription
DictionaryGets or sets the XPDictionary class descendant’s instance which provides metadata on persistent objects in a data store. Inherited from XPQueryBase.
SessionGets or sets the session that is used to retrieve persistent objects in queries. Inherited from XPQueryBase.

Methods

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

DevExpress.Xpo Namespace