SingleResult Class

Definition

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

public abstract class SingleResult
type SingleResult = class
Public MustInherit Class SingleResult
Inheritance
SingleResult
Derived

Constructors

SingleResult(IQueryable)

Initializes a new instance of the SingleResult class.

Properties

Queryable

The IQueryable containing zero or one entities.

Methods

Create<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.

Applies to