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.
This commit is contained in:
parent
5584a82d8f
commit
420762a463
@ -31,6 +31,9 @@ public class RecAction
|
|||||||
[Column("ENDPOINT_AUTH_ID")]
|
[Column("ENDPOINT_AUTH_ID")]
|
||||||
public long? EndpointAuthId { get; set; }
|
public long? EndpointAuthId { get; set; }
|
||||||
|
|
||||||
|
[ForeignKey("EndpointAuthId")]
|
||||||
|
public EndpointAuth? EndpointAuth { get; set; }
|
||||||
|
|
||||||
[Column("ENDPOINT_PARAMS_ID")]
|
[Column("ENDPOINT_PARAMS_ID")]
|
||||||
public short? EndpointParamsId { get; set; }
|
public short? EndpointParamsId { get; set; }
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user