Class RelationSpecification
Version:
日本語翻訳に関する免責事項
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
Specifies a relation.
Inheritance
System.Object
RelationSpecification
Implements
Namespace: Stylelabs.M.Framework.Essentials.LoadOptions
Assembly: Stylelabs.M.Sdk.dll
Syntax
Constructors
RelationSpecification()
Creates a default specification.
Declaration
RelationSpecification(IRelationSpecification)
Creates a copy of the specified specification.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IRelationSpecification | spec |
Relation specification. |
RelationSpecification(String, Nullable<RelationRole>)
Creates a new instance of RelationSpecification with a specified name and optional role.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | |
| System.Nullable<RelationRole> | role |
Properties
Name
Name of the relation (case insensitive).
Declaration
Property Value
| Type | Description |
|---|---|
| System.String |
Role
If the relation is self-referencing, which role to load. If it is null, both will be loaded into two separate relation objects.
Declaration
Property Value
| Type | Description |
|---|---|
| System.Nullable<RelationRole> |
Methods
DeepClone()
Creates a deep clone of this instance.
Declaration
Returns
| Type | Description |
|---|---|
| IRelationSpecification |
Equals(Object)
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | obj |
Returns
| Type | Description |
|---|---|
| System.Boolean |
GetHashCode()
Declaration
Returns
| Type | Description |
|---|---|
| System.Int32 |