NonPersistentObjectSpace.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
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
in |
Boolean | False | This parameter has no effect in Non |
#Type Parameters
Name |
---|
T |
#Returns
Type | Description |
---|---|
IQueryable<T> | An IQueryable |
#Remarks
If the CustomGetObjectsQuery event is handled and its Queryable argument is not empty, GetObjectsQuery<T> casts the Queryable query to IQueryable<T> and returns the result. Otherwise, the GetObjectsQuery<T> method casts the collection of objects created in the NonPersistentObjectSpace.ObjectsGetting event to IQueryable<T> and returns the result.