Visual Basic (Declaration) | |
---|---|
Public Function AllInCache( _ Optional ByVal orderBy As Func(Of IQueryable(Of T),IOrderedQueryable(Of T)) _ ) As IEnumerable(Of T) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Repository(Of T) Dim orderBy As Func(Of IQueryable(Of T),IOrderedQueryable(Of T)) Dim value As IEnumerable(Of T) value = instance.AllInCache(orderBy) |
C# | |
---|---|
public IEnumerable<T> AllInCache( Func<IQueryable<T>,IOrderedQueryable<T>> orderBy ) |
C++/CLI | |
---|---|
public: IEnumerable<T^>^ AllInCache( Func<IQueryable<T^>^,IOrderedQueryable<T^>^>^ orderBy ) |
Parameters
- orderBy
- Optional sorting function to sort the returned list of entities.
Return Value
The list of retrieved entities.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