CkModelRootBase
Namespace: Meshmakers.Octo.ConstructionKit.Contracts.DataTransferObjects
Defines the common properties of a CK model root
public abstract class CkModelRootBase : CkModelPropertiesDto
Inheritance Object → CkModelPropertiesDto → CkModelRootBase
Properties
Types
Returns types of the model
public List<CkCompiledTypeDto> Types { get; set; }
Property Value
AssociationRoles
Returns associations of the model
public List<CkAssociationRoleDto> AssociationRoles { get; set; }
Property Value
Attributes
Returns attributes of the model
public List<CkAttributeDto> Attributes { get; set; }
Property Value
Records
Returns records of the model that are used for complex attributes
public List<CkRecordDto> Records { get; set; }
Property Value
Enums
Returns enums of the model used for enum attributes
public List<CkEnumDto> Enums { get; set; }
Property Value
Interfaces
CK v2: returns the interfaces of the model. null when the model declares none.
public List<CkInterfaceDto> Interfaces { get; set; }
Property Value
ModelId
Gets or sets the model id.
public CkModelId ModelId { get; set; }
Property Value
Description
An optional description of the model
public string Description { get; set; }
Property Value
CkLanguage
CK v2: the CK language version of the model. null (omitted) means 1. Version 2 enables
interfaces, implements, attribute access, methods, visibility,
derivable (whose default it changes to Model) and targetCkInterfaceId. A model with a version above CkModelPropertiesDto.MaxSupportedCkLanguage is rejected
(message 91).
public Nullable<int> CkLanguage { get; set; }
Property Value
EffectiveCkLanguage
The effective CK language version (CkModelPropertiesDto.CkLanguage or 1).
public int EffectiveCkLanguage { get; }