Skip to main content

CkCompiledModelRoot

Namespace: Meshmakers.Octo.ConstructionKit.Contracts.DataTransferObjects

The root object of the compiled version of a CK model.

public class CkCompiledModelRoot : CkModelRootBase

Inheritance Object → CkModelPropertiesDto → CkModelRootBase → CkCompiledModelRoot

Fields​

CkCompiledModelSchemaUri​

The URI of the schema for the compiled CK model.

public static string CkCompiledModelSchemaUri;

Properties​

SchemaUri​

The URI of the schema for the compiled CK model used for serialization.

public string SchemaUri { get; }

Property Value​

String

Dependencies​

Gets or sets the dependencies of the model.

public List<CkModelId> Dependencies { get; set; }

Property Value​

List<CkModelId>

Migrations​

Gets or sets the inline migration data for this compiled model. When present, allows any service to run CK model migrations without needing the CK model NuGet package as a reference.

public CkCompiledMigrationDataDto Migrations { get; set; }

Property Value​

CkCompiledMigrationDataDto

Types​

Returns types of the model

public List<CkCompiledTypeDto> Types { get; set; }

Property Value​

List<CkCompiledTypeDto>

AssociationRoles​

Returns associations of the model

public List<CkAssociationRoleDto> AssociationRoles { get; set; }

Property Value​

List<CkAssociationRoleDto>

Attributes​

Returns attributes of the model

public List<CkAttributeDto> Attributes { get; set; }

Property Value​

List<CkAttributeDto>

Records​

Returns records of the model that are used for complex attributes

public List<CkRecordDto> Records { get; set; }

Property Value​

List<CkRecordDto>

Enums​

Returns enums of the model used for enum attributes

public List<CkEnumDto> Enums { get; set; }

Property Value​

List<CkEnumDto>

ModelId​

Gets or sets the model id.

public CkModelId ModelId { get; set; }

Property Value​

CkModelId

Description​

An optional description of the model

public string Description { get; set; }

Property Value​

String

Constructors​

CkCompiledModelRoot()​

public CkCompiledModelRoot()