Class EntityQueryExtensions
EntityQuery extension methods.
Inheritance
Namespace: Telerik.Windows.Controls.DomainServices
Assembly: Telerik.Windows.Controls.DomainServices.dll
Syntax
public static class EntityQueryExtensions : Object
Methods
IncludeTotalCount<TEntity>(EntityQuery<TEntity>, Boolean)
Includes total count for an EntityQuery.
Declaration
public static EntityQuery<TEntity> IncludeTotalCount<TEntity>(this EntityQuery<TEntity> source, bool includeTotalCount)
where TEntity : Entity
Parameters
System.ServiceModel.DomainServices.Client.EntityQuery<TEntity>
source
|
System.Boolean
includeTotalCount
|
Returns
System.ServiceModel.DomainServices.Client.EntityQuery<TEntity>
|
Type Parameters
TEntity
|
Sort<TEntity>(EntityQuery<TEntity>, IEnumerable<ISortDescriptor>)
Sorts a EntityQuery using the specified sort descriptors.
Declaration
public static EntityQuery<TEntity> Sort<TEntity>(this EntityQuery<TEntity> source, IEnumerable<ISortDescriptor> sortDescriptors)
where TEntity : Entity
Parameters
System.ServiceModel.DomainServices.Client.EntityQuery<TEntity>
source
A sequence of values to sort. |
System.Collections.Generic.IEnumerable<ISortDescriptor>
sortDescriptors
The sort descriptors used for sorting. |
Returns
System.ServiceModel.DomainServices.Client.EntityQuery<TEntity>
|
Type Parameters
TEntity
|
Where<TEntity>(EntityQuery<TEntity>, IEnumerable<IFilterDescriptor>)
Filters a EntityQuery using the specified filter descriptors.
Declaration
public static EntityQuery<TEntity> Where<TEntity>(this EntityQuery<TEntity> source, IEnumerable<IFilterDescriptor> filterDescriptors)
where TEntity : Entity
Parameters
System.ServiceModel.DomainServices.Client.EntityQuery<TEntity>
source
The source. |
System.Collections.Generic.IEnumerable<IFilterDescriptor>
filterDescriptors
The filter descriptors. |
Returns
System.ServiceModel.DomainServices.Client.EntityQuery<TEntity>
|
Type Parameters
TEntity
|