Interface IEntityCopyOptions
Represents options for copying an entity.
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsContent
Assembly: Stylelabs.M.Sdk.dll
Syntax
public interface IEntityCopyOptionsProperties
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
| Type | Description |
|---|---|
| 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
| Type | Description |
|---|---|
| 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
| Type | Description |
|---|---|
| long |
PropertyCopyOptions
Gets or sets property copy options.
Declaration
IList<IPropertyCopyOption> PropertyCopyOptions { get; set; }Property Value
| Type | Description |
|---|---|
| IList<>IPropertyCopyOption |
RelationCopyOptions
Gets or sets relation copy options.
Declaration
IList<IRelationCopyOption> RelationCopyOptions { get; set; }Property Value
| Type | Description |
|---|---|
| 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
| Type | Description |
|---|---|
| IEntityCopyOptionsBuilder |
A instance of IEntityCopyOptionsBuilder. |