Click or drag to resize

RGDataContextBaseSelectValueTResultType Method

Limits the query results to only the property specified in the projection.

Namespace:  Recrovit.RecroGridFramework.Data
Assembly:  Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 1.7.3
Syntax
C#
public virtual IQueryable<TResultType> SelectValue<TResultType>(
	RGQuery query,
	string projection
)

Parameters

query
Type: Recrovit.RecroGridFramework.DataRGQuery
The query.
projection
Type: SystemString
The projection list.

Type Parameters

TResultType
The type of the ObjectQuery returned by the SelectValue``1(String, ObjectParameter) method.

Return Value

Type: IQueryableTResultType
A new IQueryableT instance of a type compatible with the specific projection. The returned IQueryableT is equivalent to the original instance with SELECT VALUE applied.
See Also