Add navigation property for Profile in RecAction

Introduced a `Profile` navigation property to the `RecAction` class, annotated with `[ForeignKey("ProfileId")]`. This establishes a foreign key relationship between the `ProfileId` property and the `Profile` entity, enabling ORM navigation between `RecAction` and `Profile`.
This commit is contained in:
tekh 2025-12-01 14:06:24 +01:00
parent ffc96efd98
commit 6eac642784

View File

@ -13,6 +13,9 @@ public class RecAction
[Column("PROFILE_ID")] [Column("PROFILE_ID")]
public long? ProfileId { get; set; } public long? ProfileId { get; set; }
[ForeignKey("ProfileId")]
public Profile? Profile { get; set; }
[Column("ACTIVE")] [Column("ACTIVE")]
public bool? Active { get; set; } public bool? Active { get; set; }