añadido Context de entity y correjidos algunos temas de las entidades
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user