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,5 +1,6 @@

using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
namespace Entidades
{
@@ -8,13 +9,15 @@ namespace Entidades
public int IdPresupuesto { get; set; }
public double MontoCUPropuesto { get; set; }
[NotMapped]
public string NombreDelProducto {
get
{
return Producto.Nombre;
}
}
[NotMapped]
public double Subtotal {
get
{