1. EntityLoadConfiguration

Class EntityLoadConfiguration

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

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

Represents a loading configuration for loading entities.

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

Constructors

EntityLoadConfiguration()

Creates an empty load configuration.

Declaration
public EntityLoadConfiguration()

EntityLoadConfiguration(ICultureLoadOption, IPropertyLoadOption, IRelationLoadOption)

Creates a new load configuration with specified loading options.

Declaration
public EntityLoadConfiguration(ICultureLoadOption cultureOption, IPropertyLoadOption propertyOption, IRelationLoadOption relationOption)
Parameters
TypeNameDescription
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 entity in the default culture, with all properties and no relations.

Declaration
public static IEntityLoadConfiguration Default { get; }
Property Value

DefaultCultureFull

Gets the entity in default culture, with all properties and all relations.

Declaration
public static IEntityLoadConfiguration DefaultCultureFull { get; }
Property Value

Full

Gets the entity in all installed cultures, with all properties and all relations.

Declaration
public static IEntityLoadConfiguration Full { get; }
Property Value

Minimal

Only loads the system entity properties.

Declaration
public static IEntityLoadConfiguration 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

Methods

Builder()

Creates a IEntityLoadConfigurationBuilder from the current IEntityLoadConfiguration. The builder can extend or overwrite the configuration of the current IEntityLoadConfiguration.

Declaration
public IEntityLoadConfigurationBuilder Builder()
Returns

DeepClone()

Creates a deep clone of this instance.

Declaration
public IEntityLoadConfiguration DeepClone()
Returns

DeepEquals(IEntityLoadConfiguration)

Checks if this instance of IEntityLoadConfiguration is equal to other.

Declaration
public bool DeepEquals(IEntityLoadConfiguration other)
Parameters
TypeNameDescription
IEntityLoadConfigurationother
Returns
TypeDescription
System.Boolean

langword_csharp_True if the instances are equal; otherwise langword_csharp_False.

Implements

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