From 6eac64278434f5bd0d56c47437c3bb73790a5c5e Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 1 Dec 2025 14:06:24 +0100 Subject: [PATCH] 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`. --- src/ReC.Domain/Entities/RecAction.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ReC.Domain/Entities/RecAction.cs b/src/ReC.Domain/Entities/RecAction.cs index 74914f6..28f44b2 100644 --- a/src/ReC.Domain/Entities/RecAction.cs +++ b/src/ReC.Domain/Entities/RecAction.cs @@ -13,6 +13,9 @@ public class RecAction [Column("PROFILE_ID")] public long? ProfileId { get; set; } + [ForeignKey("ProfileId")] + public Profile? Profile { get; set; } + [Column("ACTIVE")] public bool? Active { get; set; }