Specifies that soft-deleted entities should be included in a query.

Namespace:  Mindscape.LightSpeed.Linq
Assembly:  Mindscape.LightSpeed.Linq (in Mindscape.LightSpeed.Linq.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
public static IQueryable<T> IncludeDeleted<T>(
	IQueryable<T> source
)
Visual Basic (Declaration)
Public Shared Function IncludeDeleted(Of T) ( _
	source As IQueryable(Of T) _
) As IQueryable(Of T)

Parameters

source
Type: System.Linq..::.IQueryable<(Of <(T>)>)
An IQueryable<(Of <(T>)>) in which to include deleted items.

Type Parameters

T
The type of the elements of source.

Return Value

An IQueryable<(Of <(T>)>) which will perform the same query, but with soft-deleted entities included.

See Also