SingleResult Class

Represents an IQueryable containing zero or one entities.

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public MustInherit Class SingleResult
'Usage
Dim instance As SingleResult
public abstract class SingleResult
public ref class SingleResult abstract
[<AbstractClassAttribute>]
type SingleResult =  class end
public abstract class SingleResult

The SingleResult type exposes the following members.

Constructors

  Name Description
Protected method SingleResult Initializes a new instance of the SingleResult class.

Top

Properties

  Name Description
Public property Queryable The IQueryable containing zero or one entities.

Top

Methods

  Name Description
Public methodStatic member Create<T> Creates a <see cref="T:System.Web.Http.SingleResult`1" /> from an <see cref="T:System.Linq.IQueryable`1" />.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

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

See Also

Reference

System.Web.Http Namespace