DevForce Help Reference
LongCount Method (EntityScalarAsyncExtensions)


Returns an Int64 that represents the total number of elements in a sequence.
Overload List
OverloadDescription
LongCount<TSource>(IEntityScalarQuery<TSource>) Returns an Int64 that represents the total number of elements in a sequence.  
LongCount<TSource>(IEntityScalarQuery<TSource>,CancellationToken)Returns an Int64 that represents the total number of elements in a sequence. Pass in a System.Threading.CancellationToken to cancel operation.  
LongCount<TSource>(IEntityScalarQuery<TSource>,Expression<Func<TSource,Boolean>>) Returns an Int64 that represents the number of elements in a sequence that satisfy a condition.  
LongCount<TSource>(IEntityScalarQuery<TSource>,Expression<Func<TSource,Boolean>>,CancellationToken)Returns an Int64 that represents the number of elements in a sequence that satisfy a condition. 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