Class EntityCopyOptions
Default implementation of IEntityCopyOptions.
Inheritance
Implements
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
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
public 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
public long? DestinationEntityId { get; set; }
Property Value
Type | Description |
---|---|
long |
PropertyCopyOptions
Gets or sets property copy options.
Declaration
public IList<IPropertyCopyOption> PropertyCopyOptions { get; set; }
Property Value
Type | Description |
---|---|
IList<>IPropertyCopyOption |
RelationCopyOptions
Gets or sets relation copy options.
Declaration
public 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
public IEntityCopyOptionsBuilder Builder()
Returns
Type | Description |
---|---|
IEntityCopyOptionsBuilder |
A instance of IEntityCopyOptionsBuilder. |