.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

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.v20.2.dll

Declaration

public virtual IQueryable<T> GetObjectsQuery<T>(
    bool inTransaction = false
)
Public Overridable Function GetObjectsQuery(Of T)(
    inTransaction As Boolean = False
) As IQueryable(Of T)

Optional Parameters

Name Type Default Description
inTransaction 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<T><T> object that provides functionality to evaluate queries against a specific business object type.

Remarks

This method is overridden in XPObjectSpace, EFObjectSpace and NonPersistentObjectSpace classes:

See Also