Class DataContextQuery<T>
A data context query.
Implements
Inherited Members
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 SourceDataContextQuery(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 SourceElementType
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. |
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. |
NativeQuery
Gets the native query.
Declaration
public virtual IQueryable<T> NativeQuery { get; }
Property Value
Type | Description |
---|---|
System.Linq.IQueryable<T> |
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 SourceGetEnumerator()
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 SourceIEnumerable.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. |