Class RelationCopyOption
Version: 3.2
Default implementation of IRelationCopyOption.
Inheritance
object
RelationCopyOption
Implements
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsContent
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public class RelationCopyOption : IRelationCopyOptionConstructors
RelationCopyOption(string, RelationCopyMethod, IEntityCopyOptions)
Initializes a new instance of the RelationCopyOption class.
Declaration
RequestResponse
public RelationCopyOption(string name, RelationCopyMethod method, IEntityCopyOptions relatedCopyOptions = null)Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
The name of the relation. |
| RelationCopyMethod | method |
The copy method. |
| IEntityCopyOptions | relatedCopyOptions |
The related copy options. |
Properties
Method
Gets or sets copy method name.
Declaration
RequestResponse
public RelationCopyMethod Method { get; set; }Property Value
| Type | Description |
|---|---|
| RelationCopyMethod |
Name
Gets or sets relation name.
Declaration
RequestResponse
public string Name { get; set; }Property Value
| Type | Description |
|---|---|
| string |
RelatedCopyOptions
Gets or sets copy options of related entities.
Declaration
RequestResponse
public IEntityCopyOptions RelatedCopyOptions { get; set; }Property Value
| Type | Description |
|---|---|
| IEntityCopyOptions |