update modello dati x prodItem child
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using EgwCoreLib.Lux.Data.DbModel.Production;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using static EgwCoreLib.Lux.Core.Enums;
|
||||
|
||||
@@ -129,7 +130,7 @@ namespace EgwCoreLib.Lux.Data.DbModel.Sales
|
||||
[NotMapped]
|
||||
public double NumProdItems
|
||||
{
|
||||
get => OrderRowNav?.Sum(x => x.ProdItemQty) ?? 0;
|
||||
get => OrderRowNav?.Sum(x => x.ProdItemQtyTot) ?? 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -190,5 +191,6 @@ namespace EgwCoreLib.Lux.Data.DbModel.Sales
|
||||
/// Navigazione alle righe ordine
|
||||
/// </summary>
|
||||
public virtual ICollection<OrderRowModel> OrderRowNav { get; set; } = new List<OrderRowModel>();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user