From 420762a46366cf7523b703fa5511f1303852ade6 Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 1 Dec 2025 14:07:43 +0100 Subject: [PATCH] Add EndpointAuth navigation property to RecAction The RecAction class in RecAction.cs now includes a new navigation property, EndpointAuth, which is linked to the EndpointAuthId column via the [ForeignKey] attribute. This enhances the entity relationship by associating the EndpointAuthId property with the EndpointAuth entity. --- 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 375c25f..c932a56 100644 --- a/src/ReC.Domain/Entities/RecAction.cs +++ b/src/ReC.Domain/Entities/RecAction.cs @@ -31,6 +31,9 @@ public class RecAction [Column("ENDPOINT_AUTH_ID")] public long? EndpointAuthId { get; set; } + [ForeignKey("EndpointAuthId")] + public EndpointAuth? EndpointAuth { get; set; } + [Column("ENDPOINT_PARAMS_ID")] public short? EndpointParamsId { get; set; }