1. Stylelabs.M.Sdk.Models.Content

Interface IEntityCopyOptions

Represents options for copying an entity.

Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsContent

Assembly: Stylelabs.M.Sdk.dll

Syntax

public interface 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

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

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

long? DestinationEntityId { get; set; }

Property Value

TypeDescription
long

PropertyCopyOptions

Gets or sets property copy options.

Declaration

IList<IPropertyCopyOption> PropertyCopyOptions { get; set; }

Property Value

TypeDescription
IList<>IPropertyCopyOption

RelationCopyOptions

Gets or sets relation copy options.

Declaration

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

IEntityCopyOptionsBuilder Builder()

Returns

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