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

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

Declaration

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

Parameters

Name Type Description
inTransaction Boolean

This parameter has no effect in NonPersistentObjectSpace. It is added only to provide compatibility with IObjectSpace.GetObjectsQuery<T>.

Parameters

Name Type Description
inTransaction Boolean

This parameter has no effect in NonPersistentObjectSpace. It is added only to provide compatibility with IObjectSpace.GetObjectsQuery<T>.

Parameters

Name Type Description
inTransaction Boolean

This parameter has no effect in NonPersistentObjectSpace. It is added only to provide compatibility with IObjectSpace.GetObjectsQuery<T>.

Returns

Type Description
IQueryable<T>

An IQueryable<T> object that provides functionality to evaluate queries against a specific business object type.

Returns

Type Description
IQueryable<T>

An IQueryable<T> object that provides functionality to evaluate queries against a specific business object type.

Returns

Type Description
IQueryable<T>

An IQueryable<T> object that provides functionality to evaluate queries against a specific business object type.

Type Parameters

Name Description
T

Type Parameters

Name Description
T

Type Parameters

Name Description
T

Remarks

The GetObjectsQuery<T> method casts the collection of objects created in the NonPersistentObjectSpace.ObjectsGetting event to IQueryable<T> and returns the result.

See Also