Class RelationLoadOption
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
Specifies which relations to load.
Inheritance
Namespace: Stylelabs.M.Framework.Essentials.LoadOptions
Assembly: Stylelabs.M.Sdk.dll
Syntax
Constructors
RelationLoadOption()
Creates an empty relation load option. Defaults to None.
Declaration
RelationLoadOption(IEnumerable<RelationSpecification>)
Creates a relation load option that loads specified relations.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<RelationSpecification> | specs |
Relation specifications. |
RelationLoadOption(IEnumerable<String>)
Creates a relation load option that loads specified relations.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<System.String> | relationNames |
Relation names. |
RelationLoadOption(LoadOption)
Creates a relation load option with specified load option.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| LoadOption | loadOption |
RelationLoadOption(RelationSpecification[])
Creates a relation load option that loads specified relations.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| RelationSpecification[] | specs |
Relation specifications. |
RelationLoadOption(String[])
Creates a relation load option that loads specified relations.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| System.String[] | relationNames |
Relation names. |
Properties
All
Loads all relations.
Declaration
Property Value
| Type | Description |
|---|---|
| IRelationLoadOption |
LoadOption
Gets the load option.
Declaration
Property Value
| Type | Description |
|---|---|
| LoadOption |
None
Loads no relations.
Declaration
Property Value
| Type | Description |
|---|---|
| IRelationLoadOption |
Relations
Gets a list of relations that need to be loaded. This is only useful when LoadOption is Custom.
Declaration
Property Value
| Type | Description |
|---|---|
| IRelationSpecification[] |
Methods
DeepClone()
Creates a deep clone of this instance.
Declaration
Returns
| Type | Description |
|---|---|
| IRelationLoadOption |
DeepEquals(IRelationLoadOption)
Checks if this instance of IRelationLoadOption is equal to other.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IRelationLoadOption | other |
Returns
| Type | Description |
|---|---|
| System.Boolean |
langword_csharp_True if the instances are equal; otherwise langword_csharp_False. |