Class QueryLoadConfiguration
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
Represents a loading configuration for querying ids or entities.
Inheritance
Implements
Namespace: Stylelabs.M.Framework.Essentials.LoadConfigurations
Assembly: Stylelabs.M.Sdk.dll
Syntax
Constructors
QueryLoadConfiguration()
Creates an empty load configuration. Loads no entities by default.
Declaration
QueryLoadConfiguration(IQueryLoadConfiguration)
Creates a copy of the load configuration.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IQueryLoadConfiguration | configuration |
The load configuration. |
QueryLoadConfiguration(ICultureLoadOption, IPropertyLoadOption, IRelationLoadOption)
Creates a new load configuration with specified loading options. Loads entities by default.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| ICultureLoadOption | cultureOption |
Culture load option. |
| IPropertyLoadOption | propertyOption |
Property load option. |
| IRelationLoadOption | relationOption |
Relation load option. |
QueryLoadConfiguration(Boolean, ICultureLoadOption, IPropertyLoadOption, IRelationLoadOption)
Creates a new load configuration with specified loading options.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | loadEntities |
Load entities. |
| ICultureLoadOption | cultureOption |
Culture load option. |
| IPropertyLoadOption | propertyOption |
Property load option. |
| IRelationLoadOption | relationOption |
Relation load option. |
Properties
CultureLoadOption
Gets the culture load option.
Declaration
Property Value
| Type | Description |
|---|---|
| ICultureLoadOption |
Default
Gets the query result entities in default culture, with all properties and no relations.
Declaration
Property Value
| Type | Description |
|---|---|
| IQueryLoadConfiguration |
DefaultCultureFull
Gets the query result entities in default culture, with all properties and all relations.
Declaration
Property Value
| Type | Description |
|---|---|
| IQueryLoadConfiguration |
Full
Gets the query result entities in all installed cultures, with all properties and all relations.
Declaration
Property Value
| Type | Description |
|---|---|
| IQueryLoadConfiguration |
Ids
The query result will only contain ids.
Declaration
Property Value
| Type | Description |
|---|---|
| IQueryLoadConfiguration |
LoadEntities
Gets a value specifying whether entities or ids need to be returned. If false, no entities will be loaded, and the load options will be ignored.
Declaration
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Minimal
Only loads the base entity properties.
Declaration
Property Value
| Type | Description |
|---|---|
| IQueryLoadConfiguration |
PropertyLoadOption
Gets the property load option.
Declaration
Property Value
| Type | Description |
|---|---|
| IPropertyLoadOption |
RelationLoadOption
Gets the relation load option.
Declaration
Property Value
| Type | Description |
|---|---|
| IRelationLoadOption |