IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityQueryExtensions Class > OrderByDescending Method : OrderByDescending<TSource,TKey>(IEntityQuery<TSource>,Expression<Func<TSource,TKey>>,IComparer<TKey>) Method |
'Declaration
<ExtensionAttribute()> Public Overloads Shared Function OrderByDescending (Of TSource,TKey)( _ ByVal source As IEntityQuery(Of TSource), _ ByVal keySelector As Expression(Of Func(Of TSource,TKey)), _ ByVal comparer As IComparer(Of TKey) _ ) As IEntityQuery(Of TSource)
'Usage
Dim source As IEntityQuery(Of TSource) Dim keySelector As Expression(Of Func(Of TSource,TKey)) Dim comparer As IComparer(Of TKey) Dim value As IEntityQuery(Of TSource) value = EntityQueryExtensions.OrderByDescending(Of TSource, TKey)(source, keySelector, comparer)
[Extension()] public static IEntityQuery<TSource> OrderByDescending<TSource,TKey>( IEntityQuery<TSource> source, Expression<Func<TSource,TKey>> keySelector, IComparer<TKey> comparer )
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