1. Stylelabs.M.Sdk.Models.Content

Class EntityCopyOptions

Default implementation of IEntityCopyOptions.

Inheritance

object

EntityCopyOptions

Implements

IEntityCopyOptions

Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsContent

Assembly: Stylelabs.M.Sdk.dll

Syntax

public class EntityCopyOptions : IEntityCopyOptions

Properties

CopyProfileId

Gets or sets identifier of a copy profile that could be used for copying of an entity if relation and/or property options are not specified.

Declaration

public long? CopyProfileId { get; set; }

Property Value

TypeDescription
long

CopyProfileIdentifier

Gets or sets identifier of a copy profile that could be used for copying of an entity if relation and/or property options are not specified.

Declaration

public string CopyProfileIdentifier { get; set; }

Property Value

TypeDescription
string

DestinationEntityId

Gets or sets id of an entity that will be updated by copying values from an original entity.

Declaration

public long? DestinationEntityId { get; set; }

Property Value

TypeDescription
long

PropertyCopyOptions

Gets or sets property copy options.

Declaration

public IList<IPropertyCopyOption> PropertyCopyOptions { get; set; }

Property Value

TypeDescription
IList<>IPropertyCopyOption

RelationCopyOptions

Gets or sets relation copy options.

Declaration

public IList<IRelationCopyOption> RelationCopyOptions { get; set; }

Property Value

TypeDescription
IList<>IRelationCopyOption

Methods

Builder()

Creates a IEntityCopyOptionsBuilder from the current IEntityCopyOptions. The builder can extend or overwrite the configuration of the current IEntityCopyOptions.

Declaration

public IEntityCopyOptionsBuilder Builder()

Returns

Implements

IEntityCopyOptions

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