1. QueryLoadConfiguration

クラス QueryLoadConfiguration

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

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

ID またはエンティティのクエリ用の読み込み設定を 表します。

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

コンストラクター

QueryLoadConfiguration()

空の読み込み設定を作成します。 既定でエンティティを読み込みません。

宣言
public QueryLoadConfiguration()

QueryLoadConfiguration(IQueryLoadConfiguration)

読み込み設定のコピーを作成します。

宣言
public QueryLoadConfiguration(IQueryLoadConfiguration configuration)
パラメーター
名前説明
IQueryLoadConfigurationconfiguration

読み込み設定。

QueryLoadConfiguration(ICultureLoadOption, IPropertyLoadOption, IRelationLoadOption)

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

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

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

IPropertyLoadOptionpropertyOption

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

IRelationLoadOptionrelationOption

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

QueryLoadConfiguration(Boolean, ICultureLoadOption, IPropertyLoadOption, IRelationLoadOption)

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

宣言
public QueryLoadConfiguration(bool loadEntities, ICultureLoadOption cultureOption, IPropertyLoadOption propertyOption, IRelationLoadOption relationOption)
パラメーター
名前説明
System.BooleanloadEntities

エンティティを読み込みます。

ICultureLoadOptioncultureOption

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

IPropertyLoadOptionpropertyOption

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

IRelationLoadOptionrelationOption

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

プロパティ

CultureLoadOption

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

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

Default

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

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

DefaultCultureFull

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

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

Full

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

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

Ids

クエリ結果には ID のみが含まれます。

宣言
public static IQueryLoadConfiguration Ids { get; }
プロパティ値

LoadEntities

エンティティまたは ID を返す必要があるかどうかを指定する値を取得します。 false の場合、エンティティは読み込まれず、読み込みオプションは 無視されます。

宣言
public bool LoadEntities { get; set; }
プロパティ値
説明
System.Boolean

Minimal

基本のエンティティのプロパティのみを読み込みます。

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

PropertyLoadOption

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

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

RelationLoadOption

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

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

実装

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