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:
parent
ffc96efd98
commit
6eac642784
@ -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; }
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user