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
TargetAttribute
Target attribute name (for SetValue, Rename, Delete)
public string TargetAttribute { get; set; }
Property Value
SourceAttribute
Source attribute name (for Rename, Copy, WrapScalarInRecord)
public string SourceAttribute { get; set; }
Property Value
Value
Value to set (for SetValue)
public object Value { get; set; }
Property Value
ValueMapping
Value mapping table (for MapValue)
public Dictionary<string, object> ValueMapping { get; set; }
Property Value
NewCkTypeId
New CK type ID (for ChangeCkType)
public string NewCkTypeId { get; set; }
Property Value
TargetRecordCkRecordId
CK record ID that wraps each scalar entry (for WrapScalarInRecord).
Example: System.Identity/ClientUriEntry.
public string TargetRecordCkRecordId { get; set; }
Property Value
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
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
SourceAssociationRoleId
Association role id to rename away from (for RenameAssociationRole).
Example: System.Communication/Manages.
public string SourceAssociationRoleId { get; set; }
Property Value
TargetAssociationRoleId
Association role id to rename to (for RenameAssociationRole).
Example: System.Communication/Hosts.
public string TargetAssociationRoleId { get; set; }
Property Value
Constructors
CkMigrationTransformDto()
Caution
Constructors of types with required members are not supported in this version of your compiler.
public CkMigrationTransformDto()