Skip to main content

CkMigrationTransformDto

Namespace: Meshmakers.Octo.ConstructionKit.Contracts.ModelCatalogs.DataTransferObjects

Transform configuration for CK migration

public class CkMigrationTransformDto

Inheritance Object → CkMigrationTransformDto

Properties​

Type​

Type of transformation

public CkMigrationTransformType Type { get; set; }

Property Value​

CkMigrationTransformType

TargetAttribute​

Target attribute name (for SetValue, Rename, Delete)

public string TargetAttribute { get; set; }

Property Value​

String

SourceAttribute​

Source attribute name (for Rename, Copy, WrapScalarInRecord)

public string SourceAttribute { get; set; }

Property Value​

String

Value​

Value to set (for SetValue)

public object Value { get; set; }

Property Value​

Object

ValueMapping​

Value mapping table (for MapValue)

public Dictionary<string, object> ValueMapping { get; set; }

Property Value​

Dictionary<String, Object>

NewCkTypeId​

New CK type ID (for ChangeCkType)

public string NewCkTypeId { get; set; }

Property Value​

String

TargetRecordCkRecordId​

CK record ID that wraps each scalar entry (for WrapScalarInRecord). Example: System.Identity/ClientUriEntry.

public string TargetRecordCkRecordId { get; set; }

Property Value​

String

RecordValueAttribute​

CK attribute id within the wrapper record that receives the original scalar value (for WrapScalarInRecord). Example: System.Identity/Uri.

public string RecordValueAttribute { get; set; }

Property Value​

String

RecordDefaults​

Literal default values for the remaining attributes on the wrapper record (for WrapScalarInRecord), keyed by CK attribute id. Attributes not listed here are left unset; the record's CK schema is responsible for any further defaulting.

public Dictionary<string, object> RecordDefaults { get; set; }

Property Value​

Dictionary<String, Object>

SourceAssociationRoleId​

Association role id to rename away from (for RenameAssociationRole). Example: System.Communication/Manages.

public string SourceAssociationRoleId { get; set; }

Property Value​

String

TargetAssociationRoleId​

Association role id to rename to (for RenameAssociationRole). Example: System.Communication/Hosts.

public string TargetAssociationRoleId { get; set; }

Property Value​

String

Constructors​

CkMigrationTransformDto()​

Caution​

Constructors of types with required members are not supported in this version of your compiler.


public CkMigrationTransformDto()