Gets or sets the view to be used as the query source. If null or empty, the default name (obtained from the class name or Table attribute) is used.

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

Syntax

C#
public string ViewName { get; set; }
Visual Basic (Declaration)
Public Property ViewName As String

Remarks

This allows the same entity type to be materialized from multiple different views (for example, Order entities from AllOrders, OverdueOrders or RecentOrders).

See Also