Class Query
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
Describes a query for entities.
Inherited Members
Namespace: Stylelabs.M.Base.Querying
Assembly: Stylelabs.M.Sdk.dll
Syntax
Properties
EntityLoadOptions
Indicates if and how entities resulting entities should be loaded. By default, no entities will be loaded.
Declaration
Property Value
| Type | Description |
|---|---|
| EntityLoadOptions |
Filter
Declaration
Property Value
| Type | Description |
|---|---|
| QueryFilter |
ScrollTime
If specified, the query will return as , which can be used to walk through the set of results without having to use paging.
Declaration
Property Value
| Type | Description |
|---|---|
| System.Nullable<TimeSpan> |
Skip
The number of items to skip. If not specified, no items will be skipped.
Declaration
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Sorting
Indicates how the results should be sorted.
Declaration
Property Value
| Type | Description |
|---|---|
| IEnumerable<Sorting> |
Take
The number of items to take. If not specified, the underlying implementation will use a default value.
Declaration
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Methods
CreateEntitiesQuery(Func<QueryableEntities<IQueryableEntity>, IQueryable<IQueryableEntity>>)
Creates a Query from a linq expression.
The query has set to True, loading the resulting entities.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| Func<QueryableEntities<IQueryableEntity>, IQueryable<IQueryableEntity>> | query |
Creates the linq expression. |
Returns
CreateIdsQuery(Func<QueryableEntities<IQueryableEntity>, IQueryable<IQueryableEntity>>)
Creates a Query from a linq expression. Only returns the ids of the resulting entities.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| Func<QueryableEntities<IQueryableEntity>, IQueryable<IQueryableEntity>> | query |
Creates the linq expression. |
Returns
CreateQuery(Func<QueryableEntities<IQueryableEntity>, IQueryable<IQueryableEntity>>)
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| Func<QueryableEntities<IQueryableEntity>, IQueryable<IQueryableEntity>> | query |
Returns
| Type | Description |
|---|---|
| Query |