1. EntityLoadConfiguration

クラス EntityLoadConfiguration

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

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

エンティティの読み込み用の読み込み設定を 表します。

継承
System.Object
EntityLoadConfiguration
名前空間: Stylelabs.M.Framework.Essentials.LoadConfigurations
アセンブリ: Stylelabs.M.Sdk.dll
構文
public class EntityLoadConfiguration : object, IEntityLoadConfiguration

コンストラクター

EntityLoadConfiguration()

空の読み込み設定を作成します。

宣言
public EntityLoadConfiguration()

EntityLoadConfiguration(ICultureLoadOption, IPropertyLoadOption, IRelationLoadOption)

指定された読み込みオプションを使用して、新しい読み込み設定を作成します。

宣言
public EntityLoadConfiguration(ICultureLoadOption cultureOption, IPropertyLoadOption propertyOption, IRelationLoadOption relationOption)
パラメーター
名前説明
ICultureLoadOptioncultureOption

カルチャ読み込みオプション。

IPropertyLoadOptionpropertyOption

プロパティ読み込みオプション。

IRelationLoadOptionrelationOption

リレーション読み込みオプション。

プロパティ

CultureLoadOption

カルチャ読み込みオプションを取得します。

宣言
public ICultureLoadOption CultureLoadOption { get; set; }
プロパティ値

Default

既定のカルチャ、すべてのプロパティあり、リレーションなしで、エンティティを取得します。

宣言
public static IEntityLoadConfiguration Default { get; }
プロパティ値

DefaultCultureFull

既定のカルチャ、すべてのプロパティ、すべてのリレーションありでエンティティを取得します。

宣言
public static IEntityLoadConfiguration DefaultCultureFull { get; }
プロパティ値

Full

インストールされたすべてのカルチャ、すべてのプロパティ、すべてのリレーションありでエンティティを取得します。

宣言
public static IEntityLoadConfiguration Full { get; }
プロパティ値

Minimal

システム エンティティのプロパティのみを読み込みます。

宣言
public static IEntityLoadConfiguration Minimal { get; }
プロパティ値

PropertyLoadOption

プロパティ読み込みオプションを取得します。

宣言
public IPropertyLoadOption PropertyLoadOption { get; set; }
プロパティ値

RelationLoadOption

リレーション読み込みオプションを取得します。

宣言
public IRelationLoadOption RelationLoadOption { get; set; }
プロパティ値

メソッド

Builder()

現在の IEntityLoadConfiguration から IEntityLoadConfigurationBuilder を作成します。 ビルダーは、現在の IEntityLoadConfiguration の構成を拡張または上書きできます。

宣言
public IEntityLoadConfigurationBuilder Builder()
戻り値

DeepClone()

このインスタンスのディープ クローンを作成します。

宣言
public IEntityLoadConfiguration DeepClone()
戻り値

DeepEquals(IEntityLoadConfiguration)

IEntityLoadConfiguration のこのインスタンスが other と等しいかどうかをチェックします。

宣言
public bool DeepEquals(IEntityLoadConfiguration other)
パラメーター
名前説明
IEntityLoadConfigurationother
戻り値
説明
System.Boolean

インスタンスが等しい場合は langword_csharp_True。それ以外の場合は langword_csharp_False

実装

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