1. QueryExtensions

Class QueryExtensions

Version:
日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

Extensions for Query.

Inheritance
System.Object
QueryExtensions
Namespace: Stylelabs.M.Sdk.Extensions
Assembly: Stylelabs.M.Sdk.dll
Syntax
public static class QueryExtensions : object

Methods

Copy(Query)

Creates a shallow copy of a query.

Declaration
public static Query Copy(this Query query)
Parameters
TypeNameDescription
Queryquery

The query to copy.

Returns
TypeDescription
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
public static void MakeSureEntitiesAreLoaded(this Query query)
Parameters
TypeNameDescription
Queryquery

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
public static void MakeSureOnlyIdsAreLoaded(this Query query)
Parameters
TypeNameDescription
Queryquery

The query.

Validate(Query)

Validates that the query object is valid. Otherwise it will throw.

Declaration
public static void Validate(this Query query)
Parameters
TypeNameDescription
Queryquery

The query.

この記事を改善するための提案がある場合は、 お知らせください!