Represents a query specification that may be submitted to the Repository.
| C# | Visual Basic |
public sealed class Query
Public NotInheritable Class Query
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| Query()()() |
Initializes a new instance of the Query class.
| |
| Query(Type) |
Initializes a new instance of the Query class.
| |
| Query(QueryExpression) |
Initializes a new instance of the Query class.
| |
| Query(Type, QueryExpression) |
Initializes a new instance of the Query class.
| |
| AggregateName |
Gets or sets the name of the aggregate used to control
the scope of the returned object graph.
| |
| BuildSql(Boolean) |
Builds the SQL that will be generated by this query. Requires that the
EntityType property has been explicitly set.
| |
| EntityType |
Gets or sets the type of the entity.
| |
| Equals(Object) | (Overrides Object.Equals(Object).) | |
| GetHashCode()()() |
Serves as a hash function for a particular type. GetHashCode()()() is suitable
for use in hashing algorithms and data structures like a hash table.
(Overrides Object.GetHashCode()()().) | |
| Identifier |
Gets or sets an identifier used when querying for a single object by id.
| |
| IdentifiersOnly |
When true, the query will select object identifiers instead of complete entities.
This parameter is only applicable when using Find<(Of <(TList>)>)(Query, TList).
| |
| IncludeDeleted |
When using soft delete, setting this property to true causes objects marked
as deleted to also be returned.
| |
| Order |
Gets or sets the order.
| |
| Page |
Gets or sets the page.
| |
| Projection |
A collection of field names representing a projection. A projection query returns
only a subset of fields of an entity.
| |
| QueryExpression |
Gets or sets a QueryExpression.
|
| Object | |
| Query | |