Recupero los cambios perdidos en el commit 14f1488e44
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -14,7 +14,7 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Controladora")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("Controladora")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+a51fd9d7fc6575ce0615b09f31ebd14895307fc7")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+5d29abefe62c39b8605b3bc85b3dcc035f95704c")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("Controladora")]
|
[assembly: System.Reflection.AssemblyProductAttribute("Controladora")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("Controladora")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("Controladora")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
dae38231cf55e2df0f40d2c6e59e8af0d07a717475dbbb841870d6989f984229
|
72883d016e7a9fccb0c4aeb9322dc9617d270a24ecd28877ff31bdfa5c7e2559
|
||||||
|
|||||||
@@ -10,3 +10,6 @@ C:\Users\Nacho\Desktop\verdadero\Controladora\obj\Debug\net6.0\Controladora.dll
|
|||||||
C:\Users\Nacho\Desktop\verdadero\Controladora\obj\Debug\net6.0\refint\Controladora.dll
|
C:\Users\Nacho\Desktop\verdadero\Controladora\obj\Debug\net6.0\refint\Controladora.dll
|
||||||
C:\Users\Nacho\Desktop\verdadero\Controladora\obj\Debug\net6.0\Controladora.pdb
|
C:\Users\Nacho\Desktop\verdadero\Controladora\obj\Debug\net6.0\Controladora.pdb
|
||||||
C:\Users\Nacho\Desktop\verdadero\Controladora\obj\Debug\net6.0\ref\Controladora.dll
|
C:\Users\Nacho\Desktop\verdadero\Controladora\obj\Debug\net6.0\ref\Controladora.dll
|
||||||
|
C:\Users\Nacho\Desktop\Final\Controladora\obj\Debug\net6.0\Controladora.dll
|
||||||
|
C:\Users\Nacho\Desktop\Final\Controladora\obj\Debug\net6.0\refint\Controladora.dll
|
||||||
|
C:\Users\Nacho\Desktop\Final\Controladora\obj\Debug\net6.0\Controladora.pdb
|
||||||
|
|||||||
13
Repos/Modelo/Modelo.csproj
Normal file
13
Repos/Modelo/Modelo.csproj
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\Entidades\Entidades.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
67
Repos/Modelo/RepositorioCategoria.cs
Normal file
67
Repos/Modelo/RepositorioCategoria.cs
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
using System.Runtime;
|
||||||
|
using Entidades;
|
||||||
|
|
||||||
|
namespace Modelo
|
||||||
|
{
|
||||||
|
public sealed class RepositorioCategoria : RepositorioSingleton<Categoria, RepositorioCategoria>
|
||||||
|
{
|
||||||
|
override public bool Add(Categoria t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
//commit
|
||||||
|
try
|
||||||
|
{
|
||||||
|
almacen.Add(t);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Mod(Categoria t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var categoriaAModificar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (categoriaAModificar != null)
|
||||||
|
{
|
||||||
|
categoriaAModificar = t;
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Del(Categoria t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var categoriaAEliminar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (categoriaAEliminar != null)
|
||||||
|
{
|
||||||
|
almacen.Remove(categoriaAEliminar);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
69
Repos/Modelo/RepositorioClientes.cs
Normal file
69
Repos/Modelo/RepositorioClientes.cs
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
using System.Runtime;
|
||||||
|
using Entidades;
|
||||||
|
|
||||||
|
namespace Modelo
|
||||||
|
{
|
||||||
|
public sealed class RepositorioClientes : RepositorioSingleton<Cliente, RepositorioClientes>
|
||||||
|
{
|
||||||
|
override public bool Add(Cliente t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
almacen.Add(t);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Mod(Cliente t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var clienteAModificar = almacen.Find(x => x.Cuit == t.Cuit);
|
||||||
|
if (clienteAModificar != null)
|
||||||
|
{
|
||||||
|
clienteAModificar = t;
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Del(Cliente t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var clienteAEliminar = almacen.Find(x => x.Cuit == t.Cuit);
|
||||||
|
if (clienteAEliminar != null)
|
||||||
|
{
|
||||||
|
almacen.Remove(clienteAEliminar);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
73
Repos/Modelo/RepositorioFactura.cs
Normal file
73
Repos/Modelo/RepositorioFactura.cs
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Runtime;
|
||||||
|
using Entidades;
|
||||||
|
|
||||||
|
namespace Modelo
|
||||||
|
{
|
||||||
|
public sealed class RepositorioFactura : RepositorioSingleton<Factura, RepositorioFactura>
|
||||||
|
{
|
||||||
|
override public bool Add(Factura t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
almacen.Add(t);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Mod(Factura t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var facturaAModificar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (facturaAModificar != null)
|
||||||
|
{
|
||||||
|
facturaAModificar = t;
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Del(Factura t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var facturaAEliminar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (facturaAEliminar != null)
|
||||||
|
{
|
||||||
|
almacen.Remove(facturaAEliminar);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ReadOnlyCollection<DetalleFactura> MostrarDetalles(Factura factura)
|
||||||
|
{
|
||||||
|
return factura.MostrarDetalles();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
67
Repos/Modelo/RepositorioLote.cs
Normal file
67
Repos/Modelo/RepositorioLote.cs
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
using System.Runtime;
|
||||||
|
using Entidades;
|
||||||
|
|
||||||
|
namespace Modelo
|
||||||
|
{
|
||||||
|
public sealed class RepositorioLote : RepositorioSingleton<Lote, RepositorioLote>
|
||||||
|
{
|
||||||
|
override public bool Add(Lote t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
almacen.Add(t);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Mod(Lote t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var loteAModificar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (loteAModificar != null)
|
||||||
|
{
|
||||||
|
loteAModificar = t;
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Del(Lote t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var loteAEliminar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (loteAEliminar != null)
|
||||||
|
{
|
||||||
|
almacen.Remove(loteAEliminar);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
73
Repos/Modelo/RepositorioOrdenDeCompra.cs
Normal file
73
Repos/Modelo/RepositorioOrdenDeCompra.cs
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Runtime;
|
||||||
|
using Entidades;
|
||||||
|
|
||||||
|
namespace Modelo
|
||||||
|
{
|
||||||
|
public sealed class RepositorioOrdenDeCompra : RepositorioSingleton<OrdenDeCompra, RepositorioOrdenDeCompra>
|
||||||
|
{
|
||||||
|
override public bool Add(OrdenDeCompra t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
almacen.Add(t);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Mod(OrdenDeCompra t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var ordenAModificar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (ordenAModificar != null)
|
||||||
|
{
|
||||||
|
ordenAModificar = t;
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Del(OrdenDeCompra t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var ordenAEliminar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (ordenAEliminar != null)
|
||||||
|
{
|
||||||
|
almacen.Remove(ordenAEliminar);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ReadOnlyCollection<DetalleOrdenDeCompra> MostrarDetalles(OrdenDeCompra orden)
|
||||||
|
{
|
||||||
|
return orden.MostrarDetalles();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
73
Repos/Modelo/RepositorioPedidoDePresupuesto.cs
Normal file
73
Repos/Modelo/RepositorioPedidoDePresupuesto.cs
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Runtime;
|
||||||
|
using Entidades;
|
||||||
|
|
||||||
|
namespace Modelo
|
||||||
|
{
|
||||||
|
public sealed class RepositorioPedidoDePresupuesto : RepositorioSingleton<PedidoDePresupuesto, RepositorioPedidoDePresupuesto>
|
||||||
|
{
|
||||||
|
override public bool Add(PedidoDePresupuesto t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
almacen.Add(t);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Mod(PedidoDePresupuesto t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var pedidoAModificar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (pedidoAModificar != null)
|
||||||
|
{
|
||||||
|
pedidoAModificar = t;
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Del(PedidoDePresupuesto t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var pedidoAEliminar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (pedidoAEliminar != null)
|
||||||
|
{
|
||||||
|
almacen.Remove(pedidoAEliminar);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ReadOnlyCollection<DetallePedido> MostrarDetalles(PedidoDePresupuesto pedido)
|
||||||
|
{
|
||||||
|
return pedido.MostrarDetalles();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
75
Repos/Modelo/RepositorioPresupuesto.cs
Normal file
75
Repos/Modelo/RepositorioPresupuesto.cs
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Runtime;
|
||||||
|
using Entidades;
|
||||||
|
|
||||||
|
namespace Modelo
|
||||||
|
{
|
||||||
|
public sealed class RepositorioPresupuesto : RepositorioSingleton<Presupuesto, RepositorioPresupuesto>
|
||||||
|
{
|
||||||
|
override public bool Add(Presupuesto t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
almacen.Add(t);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Mod(Presupuesto t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var presupuestoAModificar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (presupuestoAModificar != null)
|
||||||
|
{
|
||||||
|
|
||||||
|
presupuestoAModificar = t;
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Del(Presupuesto t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var presupuestoAEliminar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (presupuestoAEliminar != null)
|
||||||
|
{
|
||||||
|
almacen.Remove(presupuestoAEliminar);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public ReadOnlyCollection<DetallePresupuesto> MostrarDetalles(Presupuesto presupuesto)
|
||||||
|
{
|
||||||
|
return presupuesto.MostrarDetalles();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
62
Repos/Modelo/RepositorioProductos.cs
Normal file
62
Repos/Modelo/RepositorioProductos.cs
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
using System.Runtime;
|
||||||
|
using Entidades;
|
||||||
|
|
||||||
|
namespace Modelo
|
||||||
|
{
|
||||||
|
public sealed class RepositorioProductos : RepositorioSingleton<Producto, RepositorioProductos>
|
||||||
|
{
|
||||||
|
override public bool Add(Producto t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
almacen.Add(t);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Mod(Producto t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var AModificar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
AModificar = t;
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Del(Producto t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var AEliminar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (AEliminar == null) return ret;
|
||||||
|
almacen.Remove(AEliminar);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
67
Repos/Modelo/RepositorioProveedor.cs
Normal file
67
Repos/Modelo/RepositorioProveedor.cs
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
using System.Runtime;
|
||||||
|
using Entidades;
|
||||||
|
|
||||||
|
namespace Modelo
|
||||||
|
{
|
||||||
|
public sealed class RepositorioProveedor : RepositorioSingleton<Proveedor, RepositorioProveedor>
|
||||||
|
{
|
||||||
|
override public bool Add(Proveedor t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
almacen.Add(t);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Mod(Proveedor t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var proveedorAModificar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (proveedorAModificar != null)
|
||||||
|
{
|
||||||
|
proveedorAModificar = t;
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Del(Proveedor t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var proveedorAEliminar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (proveedorAEliminar != null)
|
||||||
|
{
|
||||||
|
almacen.Remove(proveedorAEliminar);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
80
Repos/Modelo/RepositorioRemito.cs
Normal file
80
Repos/Modelo/RepositorioRemito.cs
Normal file
@@ -0,0 +1,80 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Runtime;
|
||||||
|
using Entidades;
|
||||||
|
|
||||||
|
namespace Modelo
|
||||||
|
{
|
||||||
|
public sealed class RepositorioRemito : RepositorioSingleton<Remito, RepositorioRemito>
|
||||||
|
{
|
||||||
|
|
||||||
|
override public bool Add(Remito t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
almacen.Add(t);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
override public bool Mod(Remito t)
|
||||||
|
{
|
||||||
|
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var remitoAModificar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (remitoAModificar != null)
|
||||||
|
{
|
||||||
|
|
||||||
|
remitoAModificar = t;
|
||||||
|
ret = true;
|
||||||
|
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
override public bool Del(Remito t)
|
||||||
|
{
|
||||||
|
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var RemitoAEliminar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (RemitoAEliminar != null)
|
||||||
|
{
|
||||||
|
almacen.Remove(RemitoAEliminar);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public ReadOnlyCollection<Lote> MostrarLotes(Remito remito)
|
||||||
|
{
|
||||||
|
return remito.MostrarLotes();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
37
Repos/Modelo/RepositorioSingleton.cs
Normal file
37
Repos/Modelo/RepositorioSingleton.cs
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Modelo
|
||||||
|
{
|
||||||
|
public abstract class RepositorioSingleton<T, J>
|
||||||
|
where J : new()
|
||||||
|
{
|
||||||
|
|
||||||
|
protected List<T> almacen;
|
||||||
|
|
||||||
|
//es protected para que solo se pueda llamar desde
|
||||||
|
//las clases que implementen a esta clase
|
||||||
|
protected RepositorioSingleton() {
|
||||||
|
almacen = new List<T>();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Singleton thread-safe por si quiero usar "Parallel"
|
||||||
|
private static J instance = new J();
|
||||||
|
public static J Instance
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return instance;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Añade objetos al almacen
|
||||||
|
abstract public bool Add(T t);
|
||||||
|
|
||||||
|
// Modifica objetos del almacen
|
||||||
|
abstract public bool Mod(T t);
|
||||||
|
|
||||||
|
// Elimina objetos del almacen
|
||||||
|
abstract public bool Del(T t);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")]
|
||||||
23
Repos/Modelo/obj/Debug/net6.0/Modelo.AssemblyInfo.cs
Normal file
23
Repos/Modelo/obj/Debug/net6.0/Modelo.AssemblyInfo.cs
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// Este código fue generado por una herramienta.
|
||||||
|
// Versión de runtime:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
|
||||||
|
// se vuelve a generar el código.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
|
||||||
|
[assembly: System.Reflection.AssemblyCompanyAttribute("Modelo")]
|
||||||
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+bc4cbf98b694fea6cb9a1180800c286a8c9baceb")]
|
||||||
|
[assembly: System.Reflection.AssemblyProductAttribute("Modelo")]
|
||||||
|
[assembly: System.Reflection.AssemblyTitleAttribute("Modelo")]
|
||||||
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|
||||||
|
// Generado por la clase WriteCodeFragment de MSBuild.
|
||||||
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
e8d52fba3acd089aa4e5bd467c5b234fd3f59031a10de52f1b6621464b430c5d
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
is_global = true
|
||||||
|
build_property.TargetFramework = net6.0
|
||||||
|
build_property.TargetPlatformMinVersion =
|
||||||
|
build_property.UsingMicrosoftNETSdkWeb =
|
||||||
|
build_property.ProjectTypeGuids =
|
||||||
|
build_property.InvariantGlobalization =
|
||||||
|
build_property.PlatformNeutralAssembly =
|
||||||
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
|
build_property.RootNamespace = Modelo
|
||||||
|
build_property.ProjectDir = C:\Users\Nacho\Desktop\Final\Modelo\
|
||||||
|
build_property.EnableComHosting =
|
||||||
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||||
8
Repos/Modelo/obj/Debug/net6.0/Modelo.GlobalUsings.g.cs
Normal file
8
Repos/Modelo/obj/Debug/net6.0/Modelo.GlobalUsings.g.cs
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
// <auto-generated/>
|
||||||
|
global using global::System;
|
||||||
|
global using global::System.Collections.Generic;
|
||||||
|
global using global::System.IO;
|
||||||
|
global using global::System.Linq;
|
||||||
|
global using global::System.Net.Http;
|
||||||
|
global using global::System.Threading;
|
||||||
|
global using global::System.Threading.Tasks;
|
||||||
BIN
Repos/Modelo/obj/Debug/net6.0/Modelo.assets.cache
Normal file
BIN
Repos/Modelo/obj/Debug/net6.0/Modelo.assets.cache
Normal file
Binary file not shown.
132
Repos/Modelo/obj/Modelo.csproj.nuget.dgspec.json
Normal file
132
Repos/Modelo/obj/Modelo.csproj.nuget.dgspec.json
Normal file
@@ -0,0 +1,132 @@
|
|||||||
|
{
|
||||||
|
"format": 1,
|
||||||
|
"restore": {
|
||||||
|
"C:\\Users\\Nacho\\Desktop\\Final\\Modelo\\Modelo.csproj": {}
|
||||||
|
},
|
||||||
|
"projects": {
|
||||||
|
"C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj",
|
||||||
|
"projectName": "Entidades",
|
||||||
|
"projectPath": "C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj",
|
||||||
|
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
||||||
|
"outputPath": "C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\obj\\",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"configFilePaths": [
|
||||||
|
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net6.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net6.0": {
|
||||||
|
"targetAlias": "net6.0",
|
||||||
|
"projectReferences": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"restoreAuditProperties": {
|
||||||
|
"enableAudit": "true",
|
||||||
|
"auditLevel": "low",
|
||||||
|
"auditMode": "direct"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net6.0": {
|
||||||
|
"targetAlias": "net6.0",
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.202\\RuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"C:\\Users\\Nacho\\Desktop\\Final\\Modelo\\Modelo.csproj": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "C:\\Users\\Nacho\\Desktop\\Final\\Modelo\\Modelo.csproj",
|
||||||
|
"projectName": "Modelo",
|
||||||
|
"projectPath": "C:\\Users\\Nacho\\Desktop\\Final\\Modelo\\Modelo.csproj",
|
||||||
|
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
||||||
|
"outputPath": "C:\\Users\\Nacho\\Desktop\\Final\\Modelo\\obj\\",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"configFilePaths": [
|
||||||
|
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net6.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net6.0": {
|
||||||
|
"targetAlias": "net6.0",
|
||||||
|
"projectReferences": {
|
||||||
|
"C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj": {
|
||||||
|
"projectPath": "C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"restoreAuditProperties": {
|
||||||
|
"enableAudit": "true",
|
||||||
|
"auditLevel": "low",
|
||||||
|
"auditMode": "direct"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net6.0": {
|
||||||
|
"targetAlias": "net6.0",
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.202\\RuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
15
Repos/Modelo/obj/Modelo.csproj.nuget.g.props
Normal file
15
Repos/Modelo/obj/Modelo.csproj.nuget.g.props
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||||
|
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||||
|
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||||
|
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||||
|
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Nacho\.nuget\packages\</NuGetPackageFolders>
|
||||||
|
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||||
|
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.9.2</NuGetToolVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<SourceRoot Include="C:\Users\Nacho\.nuget\packages\" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
2
Repos/Modelo/obj/Modelo.csproj.nuget.g.targets
Normal file
2
Repos/Modelo/obj/Modelo.csproj.nuget.g.targets
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")]
|
||||||
23
Repos/Modelo/obj/Release/net6.0/Modelo.AssemblyInfo.cs
Normal file
23
Repos/Modelo/obj/Release/net6.0/Modelo.AssemblyInfo.cs
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
|
||||||
|
[assembly: System.Reflection.AssemblyCompanyAttribute("Modelo")]
|
||||||
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
||||||
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||||
|
[assembly: System.Reflection.AssemblyProductAttribute("Modelo")]
|
||||||
|
[assembly: System.Reflection.AssemblyTitleAttribute("Modelo")]
|
||||||
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|
||||||
|
// Generated by the MSBuild WriteCodeFragment class.
|
||||||
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
62b2a3bcc43d28f54304e0bcd7e2b7d409425118
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
is_global = true
|
||||||
|
build_property.TargetFramework = net6.0
|
||||||
|
build_property.TargetPlatformMinVersion =
|
||||||
|
build_property.UsingMicrosoftNETSdkWeb =
|
||||||
|
build_property.ProjectTypeGuids =
|
||||||
|
build_property.InvariantGlobalization =
|
||||||
|
build_property.PlatformNeutralAssembly =
|
||||||
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
|
build_property.RootNamespace = Modelo
|
||||||
|
build_property.ProjectDir = C:\Users\fedpo\Source\Repos\Final_OOP\Modelo\
|
||||||
8
Repos/Modelo/obj/Release/net6.0/Modelo.GlobalUsings.g.cs
Normal file
8
Repos/Modelo/obj/Release/net6.0/Modelo.GlobalUsings.g.cs
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
// <auto-generated/>
|
||||||
|
global using global::System;
|
||||||
|
global using global::System.Collections.Generic;
|
||||||
|
global using global::System.IO;
|
||||||
|
global using global::System.Linq;
|
||||||
|
global using global::System.Net.Http;
|
||||||
|
global using global::System.Threading;
|
||||||
|
global using global::System.Threading.Tasks;
|
||||||
BIN
Repos/Modelo/obj/Release/net6.0/Modelo.assets.cache
Normal file
BIN
Repos/Modelo/obj/Release/net6.0/Modelo.assets.cache
Normal file
Binary file not shown.
Binary file not shown.
96
Repos/Modelo/obj/project.assets.json
Normal file
96
Repos/Modelo/obj/project.assets.json
Normal file
@@ -0,0 +1,96 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"targets": {
|
||||||
|
"net6.0": {
|
||||||
|
"Entidades/1.0.0": {
|
||||||
|
"type": "project",
|
||||||
|
"framework": ".NETCoreApp,Version=v6.0",
|
||||||
|
"compile": {
|
||||||
|
"bin/placeholder/Entidades.dll": {}
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"bin/placeholder/Entidades.dll": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"libraries": {
|
||||||
|
"Entidades/1.0.0": {
|
||||||
|
"type": "project",
|
||||||
|
"path": "../Entidades/Entidades.csproj",
|
||||||
|
"msbuildProject": "../Entidades/Entidades.csproj"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"projectFileDependencyGroups": {
|
||||||
|
"net6.0": [
|
||||||
|
"Entidades >= 1.0.0"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"packageFolders": {
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\": {}
|
||||||
|
},
|
||||||
|
"project": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "C:\\Users\\Nacho\\Desktop\\Final\\Modelo\\Modelo.csproj",
|
||||||
|
"projectName": "Modelo",
|
||||||
|
"projectPath": "C:\\Users\\Nacho\\Desktop\\Final\\Modelo\\Modelo.csproj",
|
||||||
|
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
||||||
|
"outputPath": "C:\\Users\\Nacho\\Desktop\\Final\\Modelo\\obj\\",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"configFilePaths": [
|
||||||
|
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net6.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net6.0": {
|
||||||
|
"targetAlias": "net6.0",
|
||||||
|
"projectReferences": {
|
||||||
|
"C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj": {
|
||||||
|
"projectPath": "C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"restoreAuditProperties": {
|
||||||
|
"enableAudit": "true",
|
||||||
|
"auditLevel": "low",
|
||||||
|
"auditMode": "direct"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net6.0": {
|
||||||
|
"targetAlias": "net6.0",
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.202\\RuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
8
Repos/Modelo/obj/project.nuget.cache
Normal file
8
Repos/Modelo/obj/project.nuget.cache
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"version": 2,
|
||||||
|
"dgSpecHash": "T12qmRj5Q9rvsNY7xEFXm3MUiD/DlNMsnkrwj708Ox38z6CidLP3fTzwdB3PJvsKuH9BlXCvzreylK2Srxz2KA==",
|
||||||
|
"success": true,
|
||||||
|
"projectFilePath": "C:\\Users\\Nacho\\Desktop\\Final\\Modelo\\Modelo.csproj",
|
||||||
|
"expectedPackageFiles": [],
|
||||||
|
"logs": []
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user