Determines the default ORDER BY clause applied when querying. This attribute
can be applied to either an Entity<(Of <(TId>)>) class or an
EntityCollection<(Of <(TEntity>)>) one-to-many association field.
When defined at the class level the specified ordering becomes the default
ordering used when retrieving the associated class.
When defined at the association level the specified ordering is applied only
when loading that particular association.
Namespace:
Mindscape.LightSpeedAssembly: Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)
Syntax
C# |
---|
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Field, AllowMultiple = false, Inherited = true)] public sealed class OrderByAttribute : Attribute |
Visual Basic (Declaration) |
---|
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Field, AllowMultiple := False, _ Inherited := True)> _ Public NotInheritable Class OrderByAttribute _ Inherits Attribute |