Udostępnij za pośrednictwem


TableUtils.ApplyDeletedFilter<TData> Method

Definition

Applies the filter on deleted records if includeDeleted is true.

public static System.Linq.IQueryable<TData> ApplyDeletedFilter<TData> (System.Linq.IQueryable<TData> query, bool includeDeleted) where TData : class, Microsoft.Azure.Mobile.Server.Tables.ITableData;
static member ApplyDeletedFilter : System.Linq.IQueryable<'Data (requires 'Data : null and 'Data :> Microsoft.Azure.Mobile.Server.Tables.ITableData)> * bool -> System.Linq.IQueryable<'Data (requires 'Data : null and 'Data :> Microsoft.Azure.Mobile.Server.Tables.ITableData)> (requires 'Data : null and 'Data :> Microsoft.Azure.Mobile.Server.Tables.ITableData)
Public Shared Function ApplyDeletedFilter(Of TData As {Class, ITableData}) (query As IQueryable(Of TData), includeDeleted As Boolean) As IQueryable(Of TData)

Type Parameters

TData

The type of data

Parameters

query
IQueryable<TData>

The query to filter

includeDeleted
Boolean

Whether filer is set

Returns

IQueryable<TData>

Applies to