IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace : EntityQuery Class |
The following tables list the members exposed by EntityQuery.
Name | Description | |
---|---|---|
CommandTimeout | Gets or sets the wait time in seconds before terminating the attempt to execute a command and generating an error. | |
ElementType | The type of elements returned by the query. | |
EntityManager | Gets or sets the EntityManager to use when the query is run. | |
EntitySetName | Gets or sets the name of the Entity Data Model (EDM) entity set used by this query. | |
Expression | See System.Linq.IQueryable. | |
IncludePaths | Gets a collection of path strings in "Include" statements added to this query. | |
IsDefaultEntitySet | Returns whether the query is using the "default" entity set. | |
IsExecuteQuery | Gets whether the query can be executed immediately (e.g., the query ends with a call to First(), Single(), Last(), ElementAt() or performs an aggregation). Internal use only. | |
IsNamedQuery | Returns true if the query is a named query having a server query method. | |
NamedQuery | The named query, if any, that this query is based upon. | |
NamedQueryMethod | The named method, if any, that this query was based on. | |
NamedQueryResultIsEnumerable | Returns true if the query is an IQueryable. | |
OriginalClientQuery | The original query before being merged with any named query. | |
Parameters | For use with Poco queries only. Otherwise closure variables should be used instead. | |
QueryableType | Gets the Entity type being queried. | |
QueryStrategy | Gets or sets the QueryStrategy to use when executing this query. | |
Tag | Gets or sets user-defined information regarding this query. |
Name | Description | |
---|---|---|
InternalQueryStrategy | Returns the internal query strategy for this query. May be different from the QueryStrategy during the execution of a cache query. |
Name | Description | |
---|---|---|
AddIncludePaths | Create a new query with additional "Include" paths added. | |
AddParameter | Overloaded. For use with Poco queries only. Otherwise closure variables should be used instead. | |
AddToQueryCache | Add this query to the QueryCache. | |
Clone | Create a deep copy of this query. | |
Create | Overloaded. Creates a strongly typed Entity{T}. | |
CreateFinder | Internal use only. | |
Equals | See System.Object.Equals(System.Object). | |
GetHashCode | Serves as the default hash function. | |
GetType | (Inherited from object) | |
InQueryCache | Gets whether this query is in the QueryCache. | |
RemoveIncludePaths | Returns a new query with the specified "Include" paths removed. | |
RemoveParameter | For use with Poco queries only. Otherwise closure variables should be used instead. | |
ToString | Returns a string that represents the current object. |
Name | Description | |
---|---|---|
Finalize | (Inherited from object) | |
MemberwiseClone | (Inherited from object) | |
UpdateSettingsFrom | Internal use only. |
Name | Description | |
---|---|---|
All | Determines whether every element of a sequence satisfies a condition. | |
Any | Overloaded. Determines whether a sequence contains any elements. | |
AsScalarAsync | Overloaded. Converts an IEntityQuery{T} to an IEntityScalarQuery<T> so that the scalar query can be executed asynchronously. | |
Cast<TResult> | Converts the elements of an ITypedEntityQuery to the specified type. | |
Contains | Determines whether a sequence contains a specified element by using the default equality comparer. | |
Count | Overloaded. Returns the number of elements in a sequence. | |
Distinct | Overloaded. Returns distinct elements from a sequence. | |
Execute | Overloaded. Execute the query and return untyped results. | |
ExecuteAsync | Overloaded. Execute the query asynchronously. | |
ExecuteAsync | Overloaded. Execute the query asynchronously. | |
Filter | Overloaded. Append the specified filter collection to the query. | |
FirstOrNullEntity | Overloaded. Executes the query and returns the first element of the sequence, or the appropriate NullEntity if no element is found. | |
GetIncludedEntityTypes | Returns a list of all entity types, excluding Included types, referenced by the query. | |
GetReferencedEntityTypes | Returns a list of all entity types referenced by the query. | |
GroupBy | Overloaded. Groups the elements of a sequence according to a specified key selector function. | |
Include | Overloaded. Configures eager fetching for related entities in the specified query path. | |
OfType<TResult> | Filters the elements of an IEntityQuery based on a specified type. | |
OrderBySelector | Overloaded. Sorts the elements of a sequence according to a IdeaBlade.Linq.SortSelector containing one or more sort criteria. | |
Select | Overloaded. Projects each element of a sequence into a new form. | |
SelectMany | Overloaded. Projects each element of a sequence to an IEnumerable{T} and combines the resulting sequences into one sequence of type IQueryable{T}. | |
Skip | Overloaded. Bypasses a specified number of elements in a sequence and then returns the remaining elements. | |
Take | Overloaded. Returns a specified number of contiguous elements from the start of a sequence. | |
Where | Overloaded. Filters a sequence of values based on a predicate. | |
With | Overloaded. Returns a clone of the query for the specified EntityManager. |