DevForce Help Reference
EntityQuery Class Members
Properties  Methods 


The following tables list the members exposed by EntityQuery.

Public Properties
 NameDescription
Public PropertyCommandTimeout Gets or sets the wait time in seconds before terminating the attempt to execute a command and generating an error.  
Public PropertyElementType The type of elements returned by the query.  
Public PropertyEntityManager Gets or sets the EntityManager to use when the query is run.  
Public PropertyEntitySetName Gets or sets the name of the Entity Data Model (EDM) entity set used by this query.  
Public PropertyExpressionSee System.Linq.IQueryable.  
Public PropertyIncludePaths Gets a collection of path strings in "Include" statements added to this query.  
Public PropertyIsDefaultEntitySet Returns whether the query is using the "default" entity set.  
Public PropertyIsExecuteQuery 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.  
Public PropertyIsNamedQuery Returns true if the query is a named query having a server query method.  
Public PropertyNamedQuery The named query, if any, that this query is based upon.  
Public PropertyNamedQueryMethod The named method, if any, that this query was based on.  
Public PropertyNamedQueryResultIsEnumerable Returns true if the query is an IQueryable.  
Public PropertyOriginalClientQuery The original query before being merged with any named query.  
Public PropertyParameters For use with Poco queries only. Otherwise closure variables should be used instead.  
Public PropertyQueryableType Gets the Entity type being queried.  
Public PropertyQueryStrategyGets or sets the QueryStrategy to use when executing this query.  
Public PropertyTag Gets or sets user-defined information regarding this query.  
Top
Protected Properties
 NameDescription
Protected PropertyInternalQueryStrategy Returns the internal query strategy for this query. May be different from the QueryStrategy during the execution of a cache query.  
Top
Public Methods
 NameDescription
Public MethodAddIncludePaths Create a new query with additional "Include" paths added.  
Public MethodAddParameterOverloaded.  For use with Poco queries only. Otherwise closure variables should be used instead.  
Public MethodAddToQueryCacheAdd this query to the QueryCache.  
Public MethodClone Create a deep copy of this query.  
Public Methodstatic (Shared in Visual Basic)CreateOverloaded.  Creates a strongly typed Entity{T}.  
Public MethodCreateFinder Internal use only.  
Public MethodEqualsSee System.Object.Equals(System.Object).  
Public MethodGetHashCodeServes as the default hash function.  
Public MethodGetType (Inherited from object)
Public MethodInQueryCacheGets whether this query is in the QueryCache.  
Public MethodRemoveIncludePaths Returns a new query with the specified "Include" paths removed.  
Public MethodRemoveParameter For use with Poco queries only. Otherwise closure variables should be used instead.  
Public MethodToStringReturns a string that represents the current object.  
Top
Protected Methods
 NameDescription
Protected MethodFinalize (Inherited from object)
Protected MethodMemberwiseClone (Inherited from object)
Protected MethodUpdateSettingsFrom Internal use only.  
Top
Extension Methods
 NameDescription
Public Extension MethodAll Determines whether every element of a sequence satisfies a condition.
Public Extension MethodAnyOverloaded.  Determines whether a sequence contains any elements.
Public Extension MethodAsScalarAsyncOverloaded. Converts an IEntityQuery{T} to an IEntityScalarQuery<T> so that the scalar query can be executed asynchronously.
Public Extension MethodCast<TResult> Converts the elements of an ITypedEntityQuery to the specified type.
Public Extension MethodContains Determines whether a sequence contains a specified element by using the default equality comparer.
Public Extension MethodCountOverloaded.  Returns the number of elements in a sequence.
Public Extension MethodDistinctOverloaded.  Returns distinct elements from a sequence.
Public Extension MethodExecuteOverloaded.  Execute the query and return untyped results.
Public Extension MethodExecuteAsyncOverloaded.  Execute the query asynchronously.
Public Extension MethodExecuteAsyncOverloaded.  Execute the query asynchronously.
Public Extension MethodFilterOverloaded.  Append the specified filter collection to the query.
Public Extension MethodFirstOrNullEntityOverloaded.  Executes the query and returns the first element of the sequence, or the appropriate NullEntity if no element is found.
Public Extension MethodGetIncludedEntityTypes Returns a list of all entity types, excluding Included types, referenced by the query.
Public Extension MethodGetReferencedEntityTypes Returns a list of all entity types referenced by the query.
Public Extension MethodGroupByOverloaded.  Groups the elements of a sequence according to a specified key selector function.
Public Extension MethodIncludeOverloaded.  Configures eager fetching for related entities in the specified query path.
Public Extension MethodOfType<TResult> Filters the elements of an IEntityQuery based on a specified type.
Public Extension MethodOrderBySelectorOverloaded. Sorts the elements of a sequence according to a IdeaBlade.Linq.SortSelector containing one or more sort criteria.
Public Extension MethodSelectOverloaded.  Projects each element of a sequence into a new form.
Public Extension MethodSelectManyOverloaded.  Projects each element of a sequence to an IEnumerable{T} and combines the resulting sequences into one sequence of type IQueryable{T}.
Public Extension MethodSkipOverloaded.  Bypasses a specified number of elements in a sequence and then returns the remaining elements.
Public Extension MethodTakeOverloaded.  Returns a specified number of contiguous elements from the start of a sequence.
Public Extension MethodWhereOverloaded.  Filters a sequence of values based on a predicate.
Public Extension MethodWithOverloaded.  Returns a clone of the query for the specified EntityManager.
Top
See Also

Reference

EntityQuery Class
IdeaBlade.EntityModel Namespace
EntityQueryExtensions Class

Send Feedback