Share via


DataServiceExtensions Class

Definition

public static class DataServiceExtensions
type DataServiceExtensions = class
Public Module DataServiceExtensions
Inheritance
DataServiceExtensions

Methods

CountDistinct<TSource,TTarget>(IEnumerable<TSource>, Func<TSource,TTarget>)

Returns the distinct count of elements in a sequence after applying the projection function to each element.

CountDistinct<TSource,TTarget>(IQueryable<TSource>, Expression<Func<TSource,TTarget>>)

Returns the distinct count of elements in a sequence after applying the projection function to each element.

Applies to