añadido Context de entity y correjidos algunos temas de las entidades
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System.Collections.ObjectModel;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
@@ -10,16 +11,6 @@ namespace Entidades
|
||||
public double Precio { get; set; }
|
||||
public bool Habilitado { get; set; }
|
||||
public bool EsPerecedero { get; set; }
|
||||
[Browsable(false)]
|
||||
public Categoria Categoria { get; set; }
|
||||
|
||||
public string Cartegoria_
|
||||
{
|
||||
get
|
||||
{
|
||||
return Categoria.Descripcion;
|
||||
}
|
||||
}
|
||||
|
||||
private List<Proveedor> proveedores = new List<Proveedor>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user