1. FluentEntities

クラス FluentEntities

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

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

円滑な方法でエンティティへのアクセスを提供します。

継承
System.Object
FluentEntities
名前空間: Stylelabs.M.Sdk.Fluent.Wrappers
アセンブリ: Stylelabs.M.Sdk.Fluent.dll
構文
public class FluentEntities : object

コンストラクター

FluentEntities(IEntitiesClient, ITypedEntityFactory, IEntityLoadConfiguration)

FluentEntities クラスの新しいインスタンスを初期化します。

宣言
public FluentEntities(IEntitiesClient entitiesClient, ITypedEntityFactory typedEntityFactory, IEntityLoadConfiguration entityLoadConfiguration)
パラメーター
名前説明
IEntitiesCliententitiesClient

IEntitiesClient インスタンス。

ITypedEntityFactorytypedEntityFactory

ITypedEntityFactory インスタンス。

IEntityLoadConfigurationentityLoadConfiguration

IEntityLoadConfiguration

メソッド

Get(Int64)

指定された id を持つ FluentEntity インスタンスを取得します。

宣言
public FluentEntity Get(long id)
パラメーター
名前説明
System.Int64id

取得するエンティティの ID。

戻り値
説明
FluentEntity

エンティティ、またはエンティティが見つからなかった場合は null

Get(String)

指定された identifier を持つ FluentEntity インスタンスを取得します。

宣言
public FluentEntity Get(string identifier)
パラメーター
名前説明
System.Stringidentifier

取得するエンティティの識別子。

戻り値
説明
FluentEntity

エンティティ、またはエンティティが見つからなかった場合は null

Get<TTypedEntity>(Int64)

指定された id を持つ型指定されたエンティティ インスタンスを取得します。

宣言
public TTypedEntity Get<TTypedEntity>(long id)
where TTypedEntity : ITypedEntity
パラメーター
名前説明
System.Int64id

取得するエンティティの ID。

戻り値
説明
TTypedEntity

エンティティ、またはエンティティが見つからなかった場合は null

型パラメーター
名前説明
TTypedEntity

Get<TTypedEntity>(String)

指定された identifier を持つ型指定されたエンティティ インスタンスを取得します。

宣言
public TTypedEntity Get<TTypedEntity>(string identifier)
where TTypedEntity : ITypedEntity
パラメーター
名前説明
System.Stringidentifier

取得するエンティティの識別子。

戻り値
説明
TTypedEntity

エンティティ、またはエンティティが見つからなかった場合は null

型パラメーター
名前説明
TTypedEntity

GetByDefinition(String, Int32, Int32)

指定された定義のエンティティのクエリ。

宣言
public IEnumerable<FluentEntity> GetByDefinition(string definitionName, int skip = null, int take = null)
パラメーター
名前説明
System.StringdefinitionName

エンティティを取得するための定義の名前 (大文字と小文字は区別されません)。

System.Int32skip

指定された数のエンティティをスキップします。 値が指定されていない場合、スキップされるアイテムはありません。

System.Int32take

指定された数のエンティティのみを取り込みます。 値が指定されていない場合、既定の Take が使用されます。

戻り値
説明
IEnumerable<FluentEntity>

FluentEntity の (null 以外の) リスト。

GetMany(Int64[])

指定された ids を持つ複数の FluentEntity インスタンスを取得します。 結果の順序とサイズが入力と異なる場合があります (エンティティが存在しない場合)。

宣言
public IEnumerable<FluentEntity> GetMany(long[] ids)
パラメーター
名前説明
System.Int64[]ids

取得するエンティティの ID (複数)。

戻り値
説明
IEnumerable<FluentEntity>

FluentEntity の (null 以外の) リスト。

GetMany(String[])

指定された identifiers を持つ複数の FluentEntity インスタンスを取得します。 結果の順序とサイズが入力と異なる場合があります (エンティティが存在しない場合)。

宣言
public IEnumerable<FluentEntity> GetMany(string[] identifiers)
パラメーター
名前説明
System.String[]identifiers

取得するエンティティの識別子 (複数)。

戻り値
説明
IEnumerable<FluentEntity>

FluentEntity の (null 以外の) リスト。

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