Compartilhar via


IQueryResults<TEntity> Interface

Definition

Represents the result after executing a query.

public interface IQueryResults<out TEntity> : System.Collections.Generic.IEnumerable<out TEntity>
type IQueryResults<'Entity> = interface
    interface seq<'Entity>
    interface IEnumerable
Public Interface IQueryResults(Of Out TEntity)
Implements IEnumerable(Of Out TEntity)

Type Parameters

TEntity

The entity type

This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
Derived
Implements

Properties

ItemType

Get the result item type.

Version

Gets the data version of the result.

Extension Methods

EmptyIfNull<T>(IEnumerable<T>)

Return this enumeration in case it is not null. In case it is null return empty enumeration.

Applies to