empezé a hacer cosas con el dbcontext, termine la clase de repositorio y añadi/implemente los skeleton de varios repositorios

This commit is contained in:
2024-08-14 02:27:25 -03:00
parent 3f526d09d6
commit 062c1e1693
12 changed files with 435 additions and 47 deletions

View File

@@ -3,8 +3,40 @@ using Entidades;
namespace Modelo
{
public sealed class RepositorioOrdenDeCompra : IRepositorio<OrdenDeCompra>
public sealed class RepositorioOrdenDeCompra : Repositorio<OrdenDeCompra>
{
private Context context;
public RepositorioOrdenDeCompra(Context context)
{
this.context = context;
}
public override IEnumerable<OrdenDeCompra> Listar()
{
throw new NotImplementedException();
}
public override OrdenDeCompra ObtenerPorId(int Tid)
{
throw new NotImplementedException();
}
public override void Add(OrdenDeCompra t)
{
throw new NotImplementedException();
}
public override void Del(OrdenDeCompra t)
{
throw new NotImplementedException();
}
public override void Mod(OrdenDeCompra t)
{
throw new NotImplementedException();
}
}
}