Skip to main content
.NET Framework 4.6.2+

XPQuery<T> Members

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

Constructors

Name Description
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

Name Description
SuppressNonPersistentPropertiesCheck static Inherited from XPQueryBase.

Properties

Name Description
Dictionary Gets or sets the XPDictionary class descendant’s instance which provides metadata on persistent objects in a data store. Inherited from XPQueryBase.
Session Gets or sets the session that is used to retrieve persistent objects in queries. Inherited from XPQueryBase.

Methods

Name Description
Clone() Clones the current query.
Deserialize(IDataLayer, String) static
Deserialize(XPDictionary, String) static Creates an instance of the XPQuery<T> class from its string representation.
Deserialize(Session, String) static Creates an instance of the XPQuery<T> class from its string representation.
Equals(Object, Object) static Determines 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() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines 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) static Intended for internal use.
TransformExpression(Session, Expression<Func<T, Boolean>>) static Converts 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