When applied to a field, maps a property name to that field so that the property name can be used in Entity.Attribute expressions or LINQ queries instead of the private field name.

Namespace:  Mindscape.LightSpeed
Assembly:  Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
[AttributeUsageAttribute(AttributeTargets.Field, AllowMultiple = true, Inherited = false)]
public sealed class QueryPropertyAttribute : Attribute
Visual Basic (Declaration)
<AttributeUsageAttribute(AttributeTargets.Field, AllowMultiple := True, Inherited := False)> _
Public NotInheritable Class QueryPropertyAttribute _
	Inherits Attribute

Inheritance Hierarchy

System..::.Object
  System..::.Attribute
    Mindscape.LightSpeed..::.QueryPropertyAttribute

See Also