Click or drag to resize

IDataSourceSupportsViews Property

Gets a value indicating whether the data source supports data views.

Namespace:  Aloe.SystemFrameworks.Domain.DataAccess
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
bool SupportsViews { get; }

Property Value

Type: Boolean
true if this supports data views; otherwise, false.
Remarks

Views contain calculated data, which is redundant with the data in the base tables.

When it supports them, the data source is usually capable of calculating the view contents much faster than a domain rebuild method.

Upon request for a data from a repository, based on a view, the support option is checked. If the data source does support the view, its contents are obtained from the data source. Otherwise, its contents are built using a domain method.

See Also