Cocktail Help Reference
FindAsync Method
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > IRepository<T> Interface : FindAsync Method



Glossary Item Box

Retrieves one or more entities matching the provided expression with the repository's default query strategy.

Overload List

OverloadDescription
FindAsync(Expression<Func<T,Boolean>>,Func<IQueryable<T>,IOrderedQueryable<T>>,String,Action<IEnumerable<T>>,Action<Exception>)Retrieves one or more entities matching the provided expression with the repository's default query strategy.  
FindAsync<TResult>(Func<IQueryable<T>,IQueryable<TResult>>,Expression<Func<T,Boolean>>,Func<IQueryable<TResult>,IOrderedQueryable<TResult>>,Action<IEnumerable<TResult>>,Action<Exception>)Retrieves one or more entities matching the provided expression with the repository's default query strategy and projects the results into a different shape using the selector parameter.  
FindAsync(Func<IQueryable<T>,IQueryable>,Expression<Func<T,Boolean>>,Func<IQueryable,IOrderedQueryable>,Action<IEnumerable>,Action<Exception>)Retrieves one or more entities matching the provided expression with the repository's default query strategy and projects the results into a different shape using the selector parameter.  

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.