SingleResult<T> Class

Definition

Represents an IQueryable<T> containing zero or one entities. Use together with an [EnableQuery].

public sealed class SingleResult<T> : Microsoft.AspNet.OData.SingleResult
type SingleResult<'T> = class
    inherit SingleResult
Public NotInheritable Class SingleResult(Of T)
Inherits SingleResult

Type Parameters

T

The type of the data in the data source.

Inheritance
SingleResult<T>

Constructors

SingleResult<T>(IQueryable<T>)

Initializes a new instance of the SingleResult<T> class.

Properties

Queryable

The IQueryable<T> containing zero or one entities.

Applies to