DevForce Help Reference
First Method (EntityScalarAsyncExtensions)


Returns the first element in the sequence.
Overload List
OverloadDescription
First(IEntityScalarQuery) Returns the first element in the sequence.  
First(IEntityScalarQuery,CancellationToken)Returns the first element in the sequence. Pass in a System.Threading.CancellationToken to cancel operation.  
First<TResult>(IEntityScalarQuery<TResult>) Returns the first element in the sequence.  
First<TResult>(IEntityScalarQuery<TResult>,CancellationToken)Returns the first element in the sequence. Pass in a System.Threading.CancellationToken to cancel operation.  
First(IEntityScalarQuery,IPredicateDescription) Returns the first element in the sequence that satisfies the specified condition.  
First(IEntityScalarQuery,IPredicateDescription,CancellationToken)Returns the first element in the sequence that satisfies the specified condition. Pass in a System.Threading.CancellationToken to cancel operation.  
First<TResult>(IEntityScalarQuery<TResult>,Expression<Func<TResult,Boolean>>) Returns the first element in the sequence that satisfies the specified condition.  
First<TResult>(IEntityScalarQuery<TResult>,Expression<Func<TResult,Boolean>>,CancellationToken)Returns the first element in the sequence that satisfies the specified 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