refactor: Beziehung zwischen „Object“ und „History“ hinzufügen.
This commit is contained in:
@@ -28,6 +28,5 @@ public class PObject
|
||||
[ForeignKey("ObjStateId")]
|
||||
public virtual PObjectState? State { get; set; }
|
||||
|
||||
[ForeignKey("ObjStateId")]
|
||||
public virtual IEnumerable<PObjectStateHist>? StateHistory { get; set; } = Array.Empty<PObjectStateHist>();
|
||||
public virtual IEnumerable<PObjectStateHist>? StateHistories { get; set; }
|
||||
}
|
||||
@@ -62,6 +62,4 @@ public class PObjectStateHist
|
||||
|
||||
[ForeignKey("StateId")]
|
||||
public virtual State? State1 { get; set; }
|
||||
|
||||
public virtual IEnumerable<PControlsTF>? TFControls { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user