1. RelationSpecification

クラス RelationSpecification

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

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

リレーションを指定します。

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

コンストラクター

RelationSpecification()

既定の仕様を作成します。

宣言
public RelationSpecification()

RelationSpecification(IRelationSpecification)

指定された仕様のコピーを作成します。

宣言
public RelationSpecification(IRelationSpecification spec)
パラメーター
名前説明
IRelationSpecificationspec

リレーション指定。

RelationSpecification(String, Nullable<RelationRole>)

指定された name と任意の role を使用して RelationSpecification の新しいインスタンスを作成します。

宣言
public RelationSpecification(string name, RelationRole? role = null)
パラメーター
名前説明
System.Stringname
System.Nullable<RelationRole>role

プロパティ

Name

リレーションの名前 (大文字と小文字は区別されません)。

宣言
public string Name { get; set; }
プロパティ値
説明
System.String

Role

リレーションが自己参照の場合、どのロールを読み込むか。 null の場合、両方が 2 つの別個の リレーション オブジェクトに読み込まれます。

宣言
public RelationRole? Role { get; set; }
プロパティ値
説明
System.Nullable<RelationRole>

メソッド

DeepClone()

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

宣言
public IRelationSpecification DeepClone()
戻り値

Equals(Object)

宣言
public override bool Equals(object obj)
パラメーター
名前説明
System.Objectobj
戻り値
説明
System.Boolean

GetHashCode()

宣言
public override int GetHashCode()
戻り値
説明
System.Int32

実装

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