añadido Context de entity y correjidos algunos temas de las entidades

This commit is contained in:
2024-08-14 00:26:42 -03:00
parent 1d23af8e93
commit 3f526d09d6
27 changed files with 302 additions and 33 deletions

View File

@@ -1,4 +1,5 @@
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Security.Cryptography.X509Certificates;
namespace Entidades
@@ -27,6 +28,7 @@ namespace Entidades
return detalles.AsReadOnly();
}
[NotMapped]
public double MontoTotal
{
get
@@ -34,6 +36,7 @@ namespace Entidades
return detalles.Sum(x => x.SubTotal);
}
}
[NotMapped]
public string NombreProveedor
{
get