You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Performs a subsequent ordering of the elements in a sequence in ascending order according to a key.
1150
+
/// </summary>
1151
+
/// <typeparam name="TSource">The type of the elements of source.</typeparam>
1152
+
/// <param name="source">A sequence of values to order.</param>
1153
+
/// <param name="ordering">An expression string to indicate values to order by.</param>
1154
+
/// <param name="args">An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings.</param>
1155
+
/// <returns>A <see cref="IOrderedQueryable{T}"/> whose elements are sorted according to the specified <paramref name="ordering"/>.</returns>
1156
+
/// <example>
1157
+
/// <code>
1158
+
/// <![CDATA[
1159
+
/// var result = queryable.OrderBy<User>("LastName");
1160
+
/// var resultSingle = result.ThenBy<User>("NumberProperty");
1161
+
/// var resultSingleDescending = result.ThenBy<User>("NumberProperty DESC");
1162
+
/// var resultMultiple = result.ThenBy<User>("NumberProperty, StringProperty");
/// Performs a subsequent ordering of the elements in a sequence in ascending order according to a key.
1173
+
/// </summary>
1174
+
/// <param name="source">A sequence of values to order.</param>
1175
+
/// <param name="ordering">An expression string to indicate values to order by.</param>
1176
+
/// <param name="args">An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings.</param>
1177
+
/// <returns>A <see cref="IQueryable"/> whose elements are sorted according to the specified <paramref name="ordering"/>.</returns>
1178
+
/// <example>
1179
+
/// <code>
1180
+
/// var result = queryable.OrderBy("LastName");
1181
+
/// var resultSingle = result.OrderBy("NumberProperty");
1182
+
/// var resultSingleDescending = result.OrderBy("NumberProperty DESC");
1183
+
/// var resultMultiple = result.OrderBy("NumberProperty, StringProperty DESC");
0 commit comments