DevForce Help Reference
Average Method (EntityScalarAsyncExtensions)


Computes the average of a sequence of numeric values.
Overload List
OverloadDescription
Average(IEntityScalarQuery) Computes the average of a sequence of numeric values.  
Average(IEntityScalarQuery,CancellationToken)Computes the average of a sequence of numeric values. Pass in a System.Threading.CancellationToken to cancel operation.  
Average<TSource>(IEntityScalarQuery<TSource>) Computes the average of a sequence of numeric values.  
Average<TSource>(IEntityScalarQuery<TSource>,CancellationToken)Computes the average of a sequence of numeric values. Pass in a System.Threading.CancellationToken to cancel operation.  
Average(IEntityScalarQuery,IProjectionSelector) Computes the average of a sequence of numeric values that is obtained by invoking a projection function on each element of the input sequence.  
Average(IEntityScalarQuery,IProjectionSelector,CancellationToken)Computes the average of a sequence of numeric values that is obtained by invoking a projection function on each element of the input sequence. Pass in a System.Threading.CancellationToken to cancel operation.  
Average<TSource,TResult>(IEntityScalarQuery<TSource>,Expression<Func<TSource,TResult>>) Computes the average of a sequence of numeric values that is obtained by invoking a projection function on each element of the input sequence.  
Average<TSource,TResult>(IEntityScalarQuery<TSource>,Expression<Func<TSource,TResult>>,CancellationToken)Computes the average of a sequence of numeric values that is obtained by invoking a projection function on each element of the input sequence. Pass in a System.Threading.CancellationToken to cancel operation.  
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EntityScalarAsyncExtensions Class
EntityScalarAsyncExtensions Members

Send Feedback