Show / Hide Table of Contents

Class DataContextQuery<T>

A data context query.

Inheritance
System.Object
DataContextQuery<T>
MongoQuery<T>
Implements
System.Linq.IOrderedQueryable<T>
System.Linq.IOrderedQueryable
System.Linq.IQueryable<T>
System.Collections.Generic.IEnumerable<T>
System.Linq.IQueryable
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Data.Linq
Assembly: Kephas.Data.dll
Syntax
public class DataContextQuery<T> : IOrderedQueryable<T>, IOrderedQueryable, IQueryable<T>, IEnumerable<T>, IQueryable, IEnumerable
Type Parameters
Name Description
T

The query element type.

Constructors

| Improve this Doc View Source

DataContextQuery(IQueryProvider, IQueryable<T>)

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

Declaration
public DataContextQuery(IQueryProvider queryProvider, IQueryable<T> nativeQuery)
Parameters
Type Name Description
System.Linq.IQueryProvider queryProvider

The query provider.

System.Linq.IQueryable<T> nativeQuery

The native query.

Properties

| Improve this Doc View Source

ElementType

Gets the type of the element(s) that are returned when the expression tree associated with this instance of System.Linq.IQueryable is executed.

Declaration
public Type ElementType { get; }
Property Value
Type Description
System.Type

A System.Type that represents the type of the element(s) that are returned when the expression tree associated with this object is executed.

| Improve this Doc View Source

Expression

Gets the expression tree that is associated with the instance of System.Linq.IQueryable.

Declaration
public Expression Expression { get; }
Property Value
Type Description
System.Linq.Expressions.Expression

The System.Linq.Expressions.Expression that is associated with this instance of System.Linq.IQueryable.

| Improve this Doc View Source

NativeQuery

Gets the native query.

Declaration
public virtual IQueryable<T> NativeQuery { get; }
Property Value
Type Description
System.Linq.IQueryable<T>
| Improve this Doc View Source

Provider

Gets the query provider that is associated with this data source.

Declaration
public IQueryProvider Provider { get; }
Property Value
Type Description
System.Linq.IQueryProvider

The System.Linq.IQueryProvider that is associated with this data source.

Methods

| Improve this Doc View Source

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration
public virtual IEnumerator<T> GetEnumerator()
Returns
Type Description
System.Collections.Generic.IEnumerator<T>

An enumerator that can be used to iterate through the collection.

Explicit Interface Implementations

| Improve this Doc View Source

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

An System.Collections.IEnumerator object that can be used to iterate through the collection.

Implements

System.Linq.IOrderedQueryable<T>
System.Linq.IOrderedQueryable
System.Linq.IQueryable<T>
System.Collections.Generic.IEnumerable<T>
System.Linq.IQueryable
System.Collections.IEnumerable

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
EnumerableExtensions.ForEach<T>(IEnumerable<T>, Action<T>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
QueryableHelper.LongCountAsync<T>(IQueryable<T>, CancellationToken)
QueryableHelper.LongCountAsync(IQueryable, CancellationToken)
QueryableHelper.CountAsync<T>(IQueryable<T>, CancellationToken)
QueryableHelper.CountAsync(IQueryable, CancellationToken)
QueryableHelper.SingleOrDefaultAsync<T>(IQueryable<T>, Expression<Func<T, Boolean>>, CancellationToken)
QueryableHelper.SingleOrDefaultAsync<T>(IQueryable<T>, CancellationToken)
QueryableHelper.SingleOrDefaultAsync(IQueryable, CancellationToken)
QueryableHelper.SingleAsync<T>(IQueryable<T>, Expression<Func<T, Boolean>>, CancellationToken)
QueryableHelper.SingleAsync<T>(IQueryable<T>, CancellationToken)
QueryableHelper.SingleAsync(IQueryable, CancellationToken)
QueryableHelper.FirstOrDefaultAsync<T>(IQueryable<T>, Expression<Func<T, Boolean>>, CancellationToken)
QueryableHelper.FirstOrDefaultAsync<T>(IQueryable<T>, CancellationToken)
QueryableHelper.FirstOrDefaultAsync(IQueryable, CancellationToken)
QueryableHelper.FirstAsync<T>(IQueryable<T>, Expression<Func<T, Boolean>>, CancellationToken)
QueryableHelper.FirstAsync<T>(IQueryable<T>, CancellationToken)
QueryableHelper.FirstAsync(IQueryable, CancellationToken)
QueryableHelper.AnyAsync<T>(IQueryable<T>, CancellationToken)
QueryableHelper.AnyAsync(IQueryable, CancellationToken)
QueryableHelper.ToListAsync<T>(IQueryable<T>, CancellationToken)
QueryableHelper.ToListAsync(IQueryable, CancellationToken)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX