1. Stylelabs.M.Sdk.Models.Content

Class RelationCopyOption

Default implementation of IRelationCopyOption.

Inheritance

object

RelationCopyOption

Implements

IRelationCopyOption

Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsContent

Assembly: Stylelabs.M.Sdk.dll

Syntax

public class RelationCopyOption : IRelationCopyOption

Constructors

RelationCopyOption(string, RelationCopyMethod, IEntityCopyOptions)

Initializes a new instance of the RelationCopyOption class.

Declaration

public RelationCopyOption(string name, RelationCopyMethod method, IEntityCopyOptions relatedCopyOptions = null)

Parameters

TypeNameDescription
stringnameThe name of the relation.
RelationCopyMethodmethodThe copy method.
IEntityCopyOptionsrelatedCopyOptionsThe related copy options.

Properties

Method

Gets or sets copy method name.

Declaration

public RelationCopyMethod Method { get; set; }

Property Value

TypeDescription
RelationCopyMethod

Name

Gets or sets relation name.

Declaration

public string Name { get; set; }

Property Value

TypeDescription
string

RelatedCopyOptions

Gets or sets copy options of related entities.

Declaration

public IEntityCopyOptions RelatedCopyOptions { get; set; }

Property Value

TypeDescription
IEntityCopyOptions

Implements

IRelationCopyOption

If you have suggestions for improving this article, let us know!