Add RootAction navigation property to RecActionView

Introduced a new nullable `RootAction` property in the `RecActionView` class. This property is decorated with the `[ForeignKey("Id")]` attribute, establishing a foreign key relationship with the `Id` property. This change enables the `RecActionView` entity to reference an optional `RecAction` entity, enhancing the data model and supporting entity relationships.
This commit is contained in:
tekh 2025-12-04 14:32:36 +01:00
parent 5ee3ca2d99
commit 74f4d06031

View File

@ -17,6 +17,9 @@ public class RecActionView
[Column("ACTION_ID")]
public required long Id { get; set; }
[ForeignKey("Id")]
public RecAction? RootAction { get; set; }
[Column("PROFILE_ID")]
public long? ProfileId { get; set; }