OK edit classe liste

This commit is contained in:
Samuele Locatelli
2025-09-18 16:53:22 +02:00
parent 67d672a5ff
commit 184d536bb0
12 changed files with 390 additions and 179 deletions
+13 -1
View File
@@ -20,7 +20,19 @@ namespace EgwCoreLib.Lux.Data.DbModel
/// Descrizione
/// </summary>
public string Description { get; set; } = "";
/// <summary>
/// Numero Item compresi
/// </summary>
[NotMapped]
public int NumChild
{
get => GenValNav?.Count ?? 0;
}
/// <summary>
/// Navigazione alle righe dei valori associati
/// </summary>
public virtual ICollection<GenValueModel> GenValNav { get; set; } = new List<GenValueModel>();
}
}