Data Access has been discontinued. Please refer to this page for more information.

ResultTypeAttribute

This article is relevant to entity models that utilize the deprecated Visual Studio integration of Telerik Data Access. The current documentation of the Data Access framework is available here.

Use this attribute to specify each type of result for functions having various result types.

The ResultTypeAttribute type exposes the following members:

  • CLRType - gets or sets the clr type of the result.
  • ReturnType - gets or sets the type of result that will be returned by the function. The values for this property are predefined in the ReturnTypeEnumeration, which exposes the following fields:
    • Scalar - returns a single scalar value.
    • Projection - returns a projection.
    • SingleResultSet - returns a single result set.
    • MultipleResultSet - returns a multiple result set.