Add SqlConnection navigation property to RecAction

Introduced a new `SqlConnection` property in the `RecAction` class, marked with the `[ForeignKey("SqlConnectionId")]` attribute. This establishes a foreign key relationship with the `SqlConnectionId` property, enabling ORM navigation between `RecAction` and the `Connection` entity.
This commit is contained in:
tekh 2025-12-01 14:08:27 +01:00
parent 420762a463
commit 86e599a102

View File

@ -40,6 +40,9 @@ public class RecAction
[Column("SQL_CONNECTION_ID")]
public short? SqlConnectionId { get; set; }
[ForeignKey("SqlConnectionId")]
public Connection? SqlConnection { get; set; }
[Column("TYPE")]
public string? Type { get; set; }