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
Dependencies
Gets or sets the dependencies of the model.
public List<CkModelId> Dependencies { get; set; }
Property Value
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
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
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
Constructors
CkCompiledModelRoot()
public CkCompiledModelRoot()