---
title: "Class EntityCopyOptions"
slug: "sdk--stylelabs.m.sdk.models.content.entitycopyoptions"
abstract: ""
---
# Class EntityCopyOptions

Default implementation of [IEntityCopyOptions](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.models.content.ientitycopyoptions.html).

## Inheritance

object

EntityCopyOptions

## Implements

[IEntityCopyOptions](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.models.content.ientitycopyoptions.html)

## Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsContent

## Assembly: Stylelabs.M.Sdk.dll

## Syntax

```csharp
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

```csharp
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

```csharp
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

```csharp
public long? DestinationEntityId { get; set; }
```

#### Property Value

| Type | Description |
| --- | --- |
| long |  |

### PropertyCopyOptions

Gets or sets property copy options.

#### Declaration

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

#### Property Value

| Type | Description |
| --- | --- |
| IList<>[IPropertyCopyOption](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.models.content.ipropertycopyoption.html) |  |

### RelationCopyOptions

Gets or sets relation copy options.

#### Declaration

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

#### Property Value

| Type | Description |
| --- | --- |
| IList<>[IRelationCopyOption](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.models.content.irelationcopyoption.html) |  |

## Methods

### Builder()

Creates a [IEntityCopyOptionsBuilder](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.models.content.ientitycopyoptionsbuilder.html) from the current [IEntityCopyOptions](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.models.content.ientitycopyoptions.html). The builder can extend or overwrite the configuration of the current [IEntityCopyOptions](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.models.content.ientitycopyoptions.html).

#### Declaration

```csharp
public IEntityCopyOptionsBuilder Builder()
```

#### Returns

| Type | Description |
| --- | --- |
| [IEntityCopyOptionsBuilder](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.models.content.ientitycopyoptionsbuilder.html) | A instance of [IEntityCopyOptionsBuilder](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.models.content.ientitycopyoptionsbuilder.html). |

### Implements

[IEntityCopyOptions](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.models.content.ientitycopyoptions.html)
