Class XPQueryBase
- Namespace
- DevExpress.Xpo
- Assembly
- DevExpress.Xpo.v24.1.dll
Serves as the base class for the XPQuery<T> class. Intended for internal use.
public abstract class XPQueryBase : IPersistentValueExtractor
- Inheritance
-
XPQueryBase
- Implements
- Derived
-
XPQuery<T>
- Inherited Members
Constructors
XPQueryBase(IDataLayer, Type)
protected XPQueryBase(IDataLayer layer, Type type)
Parameters
layer
IDataLayertype
Type
XPQueryBase(XPDictionary, string)
protected XPQueryBase(XPDictionary dictionary, string data)
Parameters
dictionary
XPDictionarydata
string
XPQueryBase(XPDictionary, Type, bool)
protected XPQueryBase(XPDictionary dictionary, Type type, bool inTransaction)
Parameters
dictionary
XPDictionarytype
TypeinTransaction
bool
XPQueryBase(Session, IDataLayer, XPDictionary)
protected XPQueryBase(Session session, IDataLayer dataLayer, XPDictionary dictionary)
Parameters
session
SessiondataLayer
IDataLayerdictionary
XPDictionary
XPQueryBase(Session, IDataLayer, XPDictionary, string)
protected XPQueryBase(Session session, IDataLayer dataLayer, XPDictionary dictionary, string data)
Parameters
session
SessiondataLayer
IDataLayerdictionary
XPDictionarydata
string
XPQueryBase(Session, Type, bool)
protected XPQueryBase(Session session, Type type, bool inTransaction)
Parameters
XPQueryBase(XPQueryBase)
protected XPQueryBase(XPQueryBase baseQuery)
Parameters
baseQuery
XPQueryBase
XPQueryBase(XPQueryBase, CustomCriteriaCollection)
protected XPQueryBase(XPQueryBase baseQuery, CustomCriteriaCollection customCriteriaCollection)
Parameters
baseQuery
XPQueryBasecustomCriteriaCollection
CustomCriteriaCollection
XPQueryBase(XPQueryBase, bool?, bool?)
protected XPQueryBase(XPQueryBase baseQuery, bool? inTransaction = null, bool? withDeleted = null)
Parameters
baseQuery
XPQueryBaseinTransaction
bool?withDeleted
bool?
Fields
SuppressNonPersistentPropertiesCheck
public static bool SuppressNonPersistentPropertiesCheck
Field Value
Properties
DataLayer
protected IDataLayer DataLayer { get; }
Property Value
Dictionary
Gets or sets the XPDictionary class descendant’s instance which provides metadata on persistent objects in a data store.
public XPDictionary Dictionary { get; }
Property Value
- XPDictionary
The XPDictionary class descendant’s instance.
ObjectClassInfo
protected XPClassInfo ObjectClassInfo { get; }
Property Value
Session
Gets or sets the session that is used to retrieve persistent objects in queries.
public Session Session { get; set; }
Property Value
Methods
Assign(XPQueryBase)
protected void Assign(XPQueryBase prev)
Parameters
prev
XPQueryBase
Call(MethodCallExpression, XPQueryBase)
protected void Call(MethodCallExpression call, XPQueryBase prev)
Parameters
call
MethodCallExpressionprev
XPQueryBase
CanIntersect()
protected bool CanIntersect()
Returns
CloneCore()
protected abstract object CloneCore()
Returns
DivePropertyName(Stack<XPClassInfo>, ref string, ref XPClassInfo, bool)
protected void DivePropertyName(Stack<XPClassInfo> classInfoStack, ref string propertyName, ref XPClassInfo classInfo, bool throwOnEmptyStack = true)
Parameters
classInfoStack
Stack<XPClassInfo>propertyName
stringclassInfo
XPClassInfothrowOnEmptyStack
bool
Enumerate(Type)
protected ICollection Enumerate(Type type)
Parameters
type
Type
Returns
Execute(Expression)
protected object Execute(Expression expression)
Parameters
expression
Expression
Returns
ExecuteAsync(Expression, CancellationToken)
protected Task<object> ExecuteAsync(Expression expression, CancellationToken cancellationToken = default)
Parameters
expression
ExpressioncancellationToken
CancellationToken
Returns
IsNull(object)
protected static bool IsNull(object val)
Parameters
val
object
Returns
Serialize()
Converts the current XPQueryBase class instance to string representation.
public string Serialize()
Returns
- string
A string value that represents the query.