Click or drag to resize
ExtensionMethodsApplyFieldOrderingTField Method
Applies the fieldordering to the enumerable specified. It first sorts on FieldIndex ascending, and then on name, ascending.

Namespace: SD.LLBLGen.Pro.ApplicationCore
Assembly: SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.0.0.0 (5.0.0)
Syntax
public static IEnumerable<TField> ApplyFieldOrdering<TField>(
	this IEnumerable<TField> toOrder
)
where TField : IFieldElementCore

Parameters

toOrder
Type: System.Collections.GenericIEnumerableTField

Type Parameters

TField

Return Value

Type: IEnumerableTField
the fields in the order FieldIndex ascending, Name ascending, or null if toOrder is null

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableTField. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also