Share via


SingleResult<T>(IQueryable<T>) Constructor

Definition

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

public SingleResult (System.Linq.IQueryable<T> queryable);
new Microsoft.AspNet.OData.SingleResult<'T> : System.Linq.IQueryable<'T> -> Microsoft.AspNet.OData.SingleResult<'T>
Public Sub New (queryable As IQueryable(Of T))

Parameters

queryable
IQueryable<T>

The IQueryable<T> containing zero or one entities.

Applies to