feat(ReadProfile): Unterstützung für das bedingte Laden von Profilobjekten hinzugefügt
- Flag „IncludeObject” in ReadProfile-Anfrage eingeführt - IProfileObjRepository in ReadProfileHandler eingefügt - Handler aktualisiert, um Profilobjekte zu laden, wenn IncludeObject wahr ist
This commit is contained in:
@@ -26,5 +26,5 @@ public class Profile
|
||||
public string? BackColor { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public IEnumerable<ProfileObject>? Objects;
|
||||
public IEnumerable<ProfileObject>? Objects { get; set; }
|
||||
}
|
||||
@@ -5,10 +5,10 @@ namespace WorkFlow.Domain.Entities;
|
||||
public class ProfileObject
|
||||
{
|
||||
[Column("ObjStateID")]
|
||||
public int? ObjStateId { get; set; }
|
||||
public long? ObjStateId { get; set; }
|
||||
|
||||
[Column("ObjectID")]
|
||||
public int? ObjectId { get; set; }
|
||||
public long? Id { get; set; }
|
||||
|
||||
[Column("Headline1")]
|
||||
public string? Headline1 { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user