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 Class

 

Represents an IQueryable 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>

[TypeForwardedFromAttribute("System.Web.Http.OData, Version=5.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
public ref class SingleResult abstract 

NameDescription
System_CAPS_protmethodSingleResult(IQueryable^)

Initializes a new instance of the SingleResult class.

NameDescription
System_CAPS_pubpropertyQueryable

The IQueryable containing zero or one entities.

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

Creates a SingleResult<T> from an IQueryable<T>. A helper method to instantiate a SingleResult<T> object without having to explicitly specify the type T.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(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: