1. QueryLoadConfiguration

Class QueryLoadConfiguration

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

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

Represents a loading configuration for querying ids or entities.

Inheritance
System.Object
QueryLoadConfiguration
Namespace: Stylelabs.M.Framework.Essentials.LoadConfigurations
Assembly: Stylelabs.M.Sdk.dll
Syntax
public class QueryLoadConfiguration : object, IQueryLoadConfiguration

Constructors

QueryLoadConfiguration()

Creates an empty load configuration. Loads no entities by default.

Declaration
public QueryLoadConfiguration()

QueryLoadConfiguration(IQueryLoadConfiguration)

Creates a copy of the load configuration.

Declaration
public QueryLoadConfiguration(IQueryLoadConfiguration configuration)
Parameters
TypeNameDescription
IQueryLoadConfigurationconfiguration

The load configuration.

QueryLoadConfiguration(ICultureLoadOption, IPropertyLoadOption, IRelationLoadOption)

Creates a new load configuration with specified loading options. Loads entities by default.

Declaration
public QueryLoadConfiguration(ICultureLoadOption cultureOption, IPropertyLoadOption propertyOption, IRelationLoadOption relationOption)
Parameters
TypeNameDescription
ICultureLoadOptioncultureOption

Culture load option.

IPropertyLoadOptionpropertyOption

Property load option.

IRelationLoadOptionrelationOption

Relation load option.

QueryLoadConfiguration(Boolean, ICultureLoadOption, IPropertyLoadOption, IRelationLoadOption)

Creates a new load configuration with specified loading options.

Declaration
public QueryLoadConfiguration(bool loadEntities, ICultureLoadOption cultureOption, IPropertyLoadOption propertyOption, IRelationLoadOption relationOption)
Parameters
TypeNameDescription
System.BooleanloadEntities

Load entities.

ICultureLoadOptioncultureOption

Culture load option.

IPropertyLoadOptionpropertyOption

Property load option.

IRelationLoadOptionrelationOption

Relation load option.

Properties

CultureLoadOption

Gets the culture load option.

Declaration
public ICultureLoadOption CultureLoadOption { get; set; }
Property Value
TypeDescription
ICultureLoadOption

Default

Gets the query result entities in default culture, with all properties and no relations.

Declaration
public static IQueryLoadConfiguration Default { get; }
Property Value

DefaultCultureFull

Gets the query result entities in default culture, with all properties and all relations.

Declaration
public static IQueryLoadConfiguration DefaultCultureFull { get; }
Property Value

Full

Gets the query result entities in all installed cultures, with all properties and all relations.

Declaration
public static IQueryLoadConfiguration Full { get; }
Property Value

Ids

The query result will only contain ids.

Declaration
public static IQueryLoadConfiguration Ids { get; }
Property Value

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
public bool LoadEntities { get; set; }
Property Value
TypeDescription
System.Boolean

Minimal

Only loads the base entity properties.

Declaration
public static IQueryLoadConfiguration Minimal { get; }
Property Value

PropertyLoadOption

Gets the property load option.

Declaration
public IPropertyLoadOption PropertyLoadOption { get; set; }
Property Value
TypeDescription
IPropertyLoadOption

RelationLoadOption

Gets the relation load option.

Declaration
public IRelationLoadOption RelationLoadOption { get; set; }
Property Value
TypeDescription
IRelationLoadOption

Implements

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