Class QueryExtensions
Extensions for Query.
Inheritance
object
QueryExtensions
Namespace: StylelabsStylelabs.MSdkExtensions
Assembly: Stylelabs.M.Sdk.dll
Syntax
Methods
Copy(Query)
Creates a shallow copy of a query.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| Query | query | The query to copy. |
Returns
| Type | Description |
|---|---|
| Query | A shallow copy of the query. |
MakeSureEntitiesAreLoaded(Query)
Makes sure that the query is configured to load entities. If it isn't the case, it will reset to Default.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| Query | query | The query. |
MakeSureOnlyIdsAreLoaded(Query)
Makes sure that the query is configured to load ids. If it isn't the case, it will reset to Ids.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| Query | query | The query. |
Validate(Query)
Validates that the query object is valid. Otherwise it will throw.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| Query | query | The query. |
If you have suggestions for improving this article, let us know!