Mindscape LightSpeed - User Reference & API Documentation
OrderByAttribute Class
API ReferenceMindscape.LightSpeedOrderByAttribute
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.
Declaration Syntax
C#Visual Basic
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Field, AllowMultiple = false, 
	Inherited = true)]
public sealed class OrderByAttribute : Attribute
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Field, AllowMultiple := False,  _
	Inherited := True)> _
Public NotInheritable Class OrderByAttribute _
	Inherits Attribute
Members
All MembersConstructors



IconMemberDescription
OrderByAttribute(String)
Initializes a new instance of the OrderByAttribute class.

Inheritance Hierarchy
Object
Attribute
 OrderByAttribute

Assembly: Mindscape.LightSpeed (Module: Mindscape.LightSpeed) Version: 1.2.1393.0 (1.2.1393.0)