BaseObjectSpace.GetObjectsQuery<T>(Boolean) Method
Gets a queryable data structure that provides functionality to evaluate queries against a specific business object type.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
public virtual IQueryable<T> GetObjectsQuery<T>(
bool inTransaction = false
)
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
in |
Boolean | False | true, if querying a data store for objects includes all in-memory changes into query results; otherwise, false. Has effect in XPO only. |
#Type Parameters
Name |
---|
T |
#Returns
Type | Description |
---|---|
IQueryable<T> | An IQueryable |
#Remarks
This method is overridden in XPObjectSpace, EFCoreObjectSpace and NonPersistentObjectSpace classes:
- XPObjectSpace.GetObjectsQuery<T>
- EFCoreObjectSpace.GetObjectsQuery<T>
- NonPersistentObjectSpace.GetObjectsQuery<T>
#Implements
See Also