Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SingleResult<T> Class

 

Represents an IQueryable<T> containing zero or one entities. Use together with an [EnableQuery] from the System.Web.Http.OData or System.Web.OData namespace.

Namespace:   System.Web.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)

System::Object
  System.Web.Http::SingleResult
    System.Web.Http::SingleResult<T>

generic<typename T>
[TypeForwardedFromAttribute("System.Web.Http.OData, Version=5.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
public ref class SingleResult sealed : SingleResult

Type Parameters

T

The type of the data in the data source.

NameDescription
System_CAPS_pubmethodSingleResult<T>(IQueryable<T>^)

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

NameDescription
System_CAPS_pubpropertyQueryable

The IQueryable<T> containing zero or one entities.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: