HiLang Property
| Definition | Expression |
There can be a single property, or several properties separated by commas. Each property can optionally include parameters. There can be a single parameter, or several separated by commas. The most common property is @Versioned, that indicates that an unlimited number of versions can be stored within a Hiperspace together with an “AsAt” timestamp. Properties included in the generated code. For example, the following property indicates that the element includes the Entity Framework annotation and is versioned in Hiperspace.
@Table ( "t_object" ), Versioned
is generated (in C#) as
[Table ( "t_object" ), Versioned]
Properties are used to pass property information to the generated code, and internally within HiLang to convey additional information. @Table ( "t_object" )
is an Entity Framework property for relational mapping, while Versioned in a HiLang property:
Special Properties░░ | Notes░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ |
---|---|
Versioned | The entity has multiple versions, and includes an AsAt extension property that is added to the stored key |
VectorSpace | The Entity / Aspect / Segment includes a Vector property used for Nearest search for AI queries |
CubeFact | The Entity / Aspect / Segment includes an additional Name_Fact table for aggregation of of measures by dimension |
CubeMeasure | The Ley / Value / Extension property should be included in an aggregate Name_Fact table |
CubeDimension | The Entity / Aspect / Segment is a Dimension for a Fact Table |
DeltaIUndex | The Entity / Aspect / Segment has an index on the 'AsAt' extension property that optimizes search when the DeltaFrom is used to limit the view of a SubSpace to changes since Timestamp |
Once | The extension property value is cached for use by multiple functions |