Compare commits
22 Commits
4139a58f6e
...
Vista
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f2457d4eaa | ||
| cefd645974 | |||
| 9bf517e851 | |||
| ab0a1185d4 | |||
| 57e1d4526e | |||
| 18ee45927a | |||
| 721c770fcd | |||
| ed59d68c8e | |||
| d72741b43e | |||
| 1baf2d9351 | |||
|
|
8ad9dc6e8b | ||
| 04704c4cc9 | |||
| 58d732320f | |||
| f51929c23d | |||
| abfd18e86f | |||
| 13ce2d317c | |||
| 56ec4226da | |||
| 82fc7a09c6 | |||
| aaa7f39a42 | |||
| 9f04a9c0af | |||
| c40f19e7c7 | |||
| 32bad7f9ac |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.vs/slnx.sqlite
BIN
.vs/slnx.sqlite
Binary file not shown.
@@ -11,4 +11,9 @@
|
|||||||
<PackageReference Include="webhookSharp" Version="1.0.0" />
|
<PackageReference Include="webhookSharp" Version="1.0.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\Modelo\Modelo.csproj" />
|
||||||
|
<ProjectReference Include="..\Entidades\Entidades.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -1,8 +1,11 @@
|
|||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using Modelo;
|
||||||
|
|
||||||
namespace Controladora
|
namespace Controladora
|
||||||
{
|
{
|
||||||
public abstract class ControladoraBase<T, J>
|
public abstract class ControladoraBase<T /*Tipo de Dato*/ ,
|
||||||
|
J /*Singleton*/>
|
||||||
where J : new()
|
where J : new()
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -17,6 +20,7 @@ namespace Controladora
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Lista los contenidos del repositorio
|
// Lista los contenidos del repositorio
|
||||||
abstract public ReadOnlyCollection<T> Listar();
|
abstract public ReadOnlyCollection<T> Listar();
|
||||||
|
|
||||||
@@ -28,6 +32,5 @@ namespace Controladora
|
|||||||
|
|
||||||
// Recibe mensajes para eliminar
|
// Recibe mensajes para eliminar
|
||||||
abstract public string Eliminar(T t);
|
abstract public string Eliminar(T t);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
42
Controladora/ControladoraCategorias.cs
Normal file
42
Controladora/ControladoraCategorias.cs
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using Entidades;
|
||||||
|
using Modelo;
|
||||||
|
|
||||||
|
namespace Controladora
|
||||||
|
{
|
||||||
|
class ControladoraCategorias : ControladoraBase<Categoria, ControladoraCategorias>
|
||||||
|
{
|
||||||
|
public override string Añadir(Categoria t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Categoria es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioCategoria.Instance.Add(t)) ?
|
||||||
|
$"El Categoria {t.Descripcion} se cargo correctamente":
|
||||||
|
$"Fallo la carga del Categoria {t.Descripcion}";
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Eliminar(Categoria t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Categoria es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioCategoria.Instance.Del(t)) ?
|
||||||
|
$"El Categoria {t.Descripcion} se Elimino correctamente":
|
||||||
|
$"Fallo la Eliminacion del Categoria {t.Descripcion}";
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Modificar(Categoria t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Categoria es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioCategoria.Instance.Mod(t)) ?
|
||||||
|
$"El Categoria {t.Descripcion} se Modifico correctamente":
|
||||||
|
$"Fallo la Modificacion del Categoria {t.Descripcion}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override ReadOnlyCollection<Categoria> Listar()
|
||||||
|
{
|
||||||
|
return RepositorioCategoria.Instance.Listar();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
41
Controladora/ControladoraClientes.cs
Normal file
41
Controladora/ControladoraClientes.cs
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using Entidades;
|
||||||
|
using Modelo;
|
||||||
|
|
||||||
|
namespace Controladora
|
||||||
|
{
|
||||||
|
class ControladoraClientes : ControladoraBase<Cliente, ControladoraClientes>
|
||||||
|
{
|
||||||
|
public override string Añadir(Cliente t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Cliente es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioClientes.Instance.Add(t)) ?
|
||||||
|
$"El Cliente {t.Nombre} se cargo correctamente":
|
||||||
|
$"Fallo la carga del Cliente {t.Nombre}";
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Eliminar(Cliente t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Cliente es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioClientes.Instance.Del(t)) ?
|
||||||
|
$"El Cliente {t.Nombre} se Elimino correctamente":
|
||||||
|
$"Fallo la Eliminacion del Cliente {t.Nombre}";
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Modificar(Cliente t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Cliente es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioClientes.Instance.Mod(t)) ?
|
||||||
|
$"El Cliente {t.Nombre} se Modifico correctamente":
|
||||||
|
$"Fallo la Modificacion del Cliente {t.Nombre}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override ReadOnlyCollection<Cliente> Listar()
|
||||||
|
{
|
||||||
|
return RepositorioClientes.Instance.Listar();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
41
Controladora/ControladoraFacturas.cs
Normal file
41
Controladora/ControladoraFacturas.cs
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using Entidades;
|
||||||
|
using Modelo;
|
||||||
|
|
||||||
|
namespace Controladora
|
||||||
|
{
|
||||||
|
class ControladoraFacturas : ControladoraBase<Factura, ControladoraFacturas>
|
||||||
|
{
|
||||||
|
public override string Añadir(Factura t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Factura es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioFactura.Instance.Add(t)) ?
|
||||||
|
$"El Factura {t.Id} se cargo correctamente":
|
||||||
|
$"Fallo la carga del Factura {t.Id}";
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Eliminar(Factura t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Factura es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioFactura.Instance.Del(t)) ?
|
||||||
|
$"El Factura {t.Id} se Elimino correctamente":
|
||||||
|
$"Fallo la Eliminacion del Factura {t.Id}";
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Modificar(Factura t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Factura es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioFactura.Instance.Mod(t)) ?
|
||||||
|
$"El Factura {t.Id} se Modifico correctamente":
|
||||||
|
$"Fallo la Modificacion del Factura {t.Id}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override ReadOnlyCollection<Factura> Listar()
|
||||||
|
{
|
||||||
|
return RepositorioFactura.Instance.Listar();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
42
Controladora/ControladoraOrdenesDeCompra.cs
Normal file
42
Controladora/ControladoraOrdenesDeCompra.cs
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using Entidades;
|
||||||
|
using Modelo;
|
||||||
|
|
||||||
|
namespace Controladora
|
||||||
|
{
|
||||||
|
class ControladoraOrdenDeCompras : ControladoraBase<OrdenDeCompra, ControladoraOrdenDeCompras>
|
||||||
|
{
|
||||||
|
public override string Añadir(OrdenDeCompra t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El OrdenDeCompra es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioOrdenDeCompra.Instance.Add(t)) ?
|
||||||
|
$"El OrdenDeCompra {t.Id} se cargo correctamente":
|
||||||
|
$"Fallo la carga del OrdenDeCompra {t.Id}";
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Eliminar(OrdenDeCompra t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El OrdenDeCompra es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioOrdenDeCompra.Instance.Del(t)) ?
|
||||||
|
$"El OrdenDeCompra {t.Id} se Elimino correctamente":
|
||||||
|
$"Fallo la Eliminacion del OrdenDeCompra {t.Id}";
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Modificar(OrdenDeCompra t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El OrdenDeCompra es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioOrdenDeCompra.Instance.Mod(t)) ?
|
||||||
|
$"El OrdenDeCompra {t.Id} se Modifico correctamente":
|
||||||
|
$"Fallo la Modificacion del OrdenDeCompra {t.Id}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override ReadOnlyCollection<OrdenDeCompra> Listar()
|
||||||
|
{
|
||||||
|
return RepositorioOrdenDeCompra.Instance.Listar();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
42
Controladora/ControladoraPedidoPresupuesto.cs
Normal file
42
Controladora/ControladoraPedidoPresupuesto.cs
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using Entidades;
|
||||||
|
using Modelo;
|
||||||
|
|
||||||
|
namespace Controladora
|
||||||
|
{
|
||||||
|
class ControladoraPedidoDePresupuestos : ControladoraBase<PedidoDePresupuesto, ControladoraPedidoDePresupuestos>
|
||||||
|
{
|
||||||
|
public override string Añadir(PedidoDePresupuesto t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El PedidoDePresupuesto es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioPedidoDePresupuesto.Instance.Add(t)) ?
|
||||||
|
$"El PedidoDePresupuesto {t.Id} se cargo correctamente":
|
||||||
|
$"Fallo la carga del PedidoDePresupuesto {t.Id}";
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Eliminar(PedidoDePresupuesto t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El PedidoDePresupuesto es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioPedidoDePresupuesto.Instance.Del(t)) ?
|
||||||
|
$"El PedidoDePresupuesto {t.Id} se Elimino correctamente":
|
||||||
|
$"Fallo la Eliminacion del PedidoDePresupuesto {t.Id}";
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Modificar(PedidoDePresupuesto t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El PedidoDePresupuesto es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioPedidoDePresupuesto.Instance.Mod(t)) ?
|
||||||
|
$"El PedidoDePresupuesto {t.Id} se Modifico correctamente":
|
||||||
|
$"Fallo la Modificacion del PedidoDePresupuesto {t.Id}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override ReadOnlyCollection<PedidoDePresupuesto> Listar()
|
||||||
|
{
|
||||||
|
return RepositorioPedidoDePresupuesto.Instance.Listar();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
41
Controladora/ControladoraPresupuestos.cs
Normal file
41
Controladora/ControladoraPresupuestos.cs
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using Entidades;
|
||||||
|
using Modelo;
|
||||||
|
|
||||||
|
namespace Controladora
|
||||||
|
{
|
||||||
|
class ControladoraPresupuestos : ControladoraBase<Presupuesto, ControladoraPresupuestos>
|
||||||
|
{
|
||||||
|
public override string Añadir(Presupuesto t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Presupuesto es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioPresupuesto.Instance.Add(t)) ?
|
||||||
|
$"El Presupuesto {t.Id} se cargo correctamente":
|
||||||
|
$"Fallo la carga del Presupuesto {t.Id}";
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Eliminar(Presupuesto t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Presupuesto es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioPresupuesto.Instance.Del(t)) ?
|
||||||
|
$"El Presupuesto {t.Id} se Elimino correctamente":
|
||||||
|
$"Fallo la Eliminacion del Presupuesto {t.Id}";
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Modificar(Presupuesto t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Presupuesto es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioPresupuesto.Instance.Mod(t)) ?
|
||||||
|
$"El Presupuesto {t.Id} se Modifico correctamente":
|
||||||
|
$"Fallo la Modificacion del Presupuesto {t.Id}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override ReadOnlyCollection<Presupuesto> Listar()
|
||||||
|
{
|
||||||
|
return RepositorioPresupuesto.Instance.Listar();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
41
Controladora/ControladoraProductos.cs
Normal file
41
Controladora/ControladoraProductos.cs
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using Entidades;
|
||||||
|
using Modelo;
|
||||||
|
|
||||||
|
namespace Controladora
|
||||||
|
{
|
||||||
|
class ControladoraProductos : ControladoraBase<Producto, ControladoraProductos>
|
||||||
|
{
|
||||||
|
public override string Añadir(Producto t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Producto es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioProductos.Instance.Add(t)) ?
|
||||||
|
$"El Producto {t.Nombre} se cargo correctamente":
|
||||||
|
$"Fallo la carga del Producto {t.Nombre}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Eliminar(Producto t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Producto es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioProductos.Instance.Del(t)) ?
|
||||||
|
$"El Producto {t.Nombre} se Elimino correctamente":
|
||||||
|
$"Fallo la Eliminacion del Producto {t.Nombre}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Modificar(Producto t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Producto es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioProductos.Instance.Mod(t)) ?
|
||||||
|
$"El Producto {t.Nombre} se Modifico correctamente":
|
||||||
|
$"Fallo la Modificacion del Producto {t.Nombre}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override ReadOnlyCollection<Producto> Listar()
|
||||||
|
{
|
||||||
|
return RepositorioProductos.Instance.Listar();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
41
Controladora/ControladoraProveedores.cs
Normal file
41
Controladora/ControladoraProveedores.cs
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using Entidades;
|
||||||
|
using Modelo;
|
||||||
|
|
||||||
|
namespace Controladora
|
||||||
|
{
|
||||||
|
class ControladoraProveedores : ControladoraBase<Proveedor, ControladoraProveedores>
|
||||||
|
{
|
||||||
|
public override string Añadir(Proveedor t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Proveedor es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioProveedor.Instance.Add(t)) ?
|
||||||
|
$"El Proveedor {t.Nombre} se cargo correctamente":
|
||||||
|
$"Fallo la carga del Proveedor {t.Nombre}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Eliminar(Proveedor t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Proveedor es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioProveedor.Instance.Del(t)) ?
|
||||||
|
$"El Proveedor {t.Nombre} se Elimino correctamente":
|
||||||
|
$"Fallo la Eliminacion del Proveedor {t.Nombre}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Modificar(Proveedor t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Proveedor es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioProveedor.Instance.Mod(t)) ?
|
||||||
|
$"El Proveedor {t.Nombre} se Modifico correctamente":
|
||||||
|
$"Fallo la Modificacion del Proveedor {t.Nombre}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override ReadOnlyCollection<Proveedor> Listar()
|
||||||
|
{
|
||||||
|
return RepositorioProveedor.Instance.Listar();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
43
Controladora/ControladoraRemito.cs
Normal file
43
Controladora/ControladoraRemito.cs
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using Entidades;
|
||||||
|
using Modelo;
|
||||||
|
|
||||||
|
namespace Controladora
|
||||||
|
{
|
||||||
|
class ControladoraRemito : ControladoraBase<Remito, ControladoraRemito>
|
||||||
|
{
|
||||||
|
public override ReadOnlyCollection<Remito> Listar()
|
||||||
|
{
|
||||||
|
return RepositorioRemito.Instance.Listar();
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Añadir(Remito t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Remito es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioRemito.Instance.Add(t)) ?
|
||||||
|
$"El remito {t.Id} se cargo correctamente":
|
||||||
|
$"Fallo la carga del remito {t.Id}";
|
||||||
|
|
||||||
|
}
|
||||||
|
override public string Modificar(Remito t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Remito es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioRemito.Instance.Add(t)) ?
|
||||||
|
$"El remito {t.Id} se cargo correctamente":
|
||||||
|
$"Fallo la carga del remito {t.Id}";
|
||||||
|
|
||||||
|
}
|
||||||
|
override public string Eliminar(Remito t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Remito es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioRemito.Instance.Add(t)) ?
|
||||||
|
$"El remito {t.Id} se cargo correctamente":
|
||||||
|
$"Fallo la carga del remito {t.Id}";
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
@@ -1,17 +1,17 @@
|
|||||||
{
|
{
|
||||||
"format": 1,
|
"format": 1,
|
||||||
"restore": {
|
"restore": {
|
||||||
"C:\\Users\\Nacho\\Desktop\\Final\\Controladora\\Controladora.csproj": {}
|
"C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Controladora\\Controladora.csproj": {}
|
||||||
},
|
},
|
||||||
"projects": {
|
"projects": {
|
||||||
"C:\\Users\\Nacho\\Desktop\\Final\\Controladora\\Controladora.csproj": {
|
"C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Controladora\\Controladora.csproj": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "C:\\Users\\Nacho\\Desktop\\Final\\Controladora\\Controladora.csproj",
|
"projectUniqueName": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Controladora\\Controladora.csproj",
|
||||||
"projectName": "Controladora",
|
"projectName": "Controladora",
|
||||||
"projectPath": "C:\\Users\\Nacho\\Desktop\\Final\\Controladora\\Controladora.csproj",
|
"projectPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Controladora\\Controladora.csproj",
|
||||||
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
||||||
"outputPath": "C:\\Users\\Nacho\\Desktop\\Final\\Controladora\\obj\\",
|
"outputPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Controladora\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
@@ -27,7 +27,14 @@
|
|||||||
"frameworks": {
|
"frameworks": {
|
||||||
"net6.0": {
|
"net6.0": {
|
||||||
"targetAlias": "net6.0",
|
"targetAlias": "net6.0",
|
||||||
"projectReferences": {}
|
"projectReferences": {
|
||||||
|
"C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj": {
|
||||||
|
"projectPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj"
|
||||||
|
},
|
||||||
|
"C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Modelo\\Modelo.csproj": {
|
||||||
|
"projectPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Modelo\\Modelo.csproj"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"warningProperties": {
|
"warningProperties": {
|
||||||
@@ -73,6 +80,130 @@
|
|||||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.202\\RuntimeIdentifierGraph.json"
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.202\\RuntimeIdentifierGraph.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj",
|
||||||
|
"projectName": "Entidades",
|
||||||
|
"projectPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj",
|
||||||
|
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
||||||
|
"outputPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\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\\Source\\Repos\\Final_OOP\\Modelo\\Modelo.csproj": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Modelo\\Modelo.csproj",
|
||||||
|
"projectName": "Modelo",
|
||||||
|
"projectPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Modelo\\Modelo.csproj",
|
||||||
|
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
||||||
|
"outputPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\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\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj": {
|
||||||
|
"projectPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -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+5d29abefe62c39b8605b3bc85b3dcc035f95704c")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+cefd645974788c21dbd8ecb38aaa78d8ac04dd4b")]
|
||||||
[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 @@
|
|||||||
72883d016e7a9fccb0c4aeb9322dc9617d270a24ecd28877ff31bdfa5c7e2559
|
41b9ae2cc417f11ef0d05afd64f424d30011ec3381b04e193604d3f4663cdb67
|
||||||
|
|||||||
@@ -8,6 +8,6 @@ build_property.PlatformNeutralAssembly =
|
|||||||
build_property.EnforceExtendedAnalyzerRules =
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
build_property.RootNamespace = Controladora
|
build_property.RootNamespace = Controladora
|
||||||
build_property.ProjectDir = C:\Users\Nacho\Desktop\Final\Controladora\
|
build_property.ProjectDir = C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\
|
||||||
build_property.EnableComHosting =
|
build_property.EnableComHosting =
|
||||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
|||||||
a8e0260e0db6be55f0b0f28b550784baab05fd07
|
19830861cd564e51db0c3967ce8e2d2c457eecffb478d0402938a76286038bed
|
||||||
|
|||||||
@@ -13,3 +13,23 @@ C:\Users\Nacho\Desktop\verdadero\Controladora\obj\Debug\net6.0\ref\Controladora.
|
|||||||
C:\Users\Nacho\Desktop\Final\Controladora\obj\Debug\net6.0\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\refint\Controladora.dll
|
||||||
C:\Users\Nacho\Desktop\Final\Controladora\obj\Debug\net6.0\Controladora.pdb
|
C:\Users\Nacho\Desktop\Final\Controladora\obj\Debug\net6.0\Controladora.pdb
|
||||||
|
C:\Users\Nacho\source\repos\Final\Controladora\obj\Debug\net6.0\Controladora.dll
|
||||||
|
C:\Users\Nacho\source\repos\Final\Controladora\obj\Debug\net6.0\refint\Controladora.dll
|
||||||
|
C:\Users\Nacho\source\repos\Final\Controladora\obj\Debug\net6.0\Controladora.pdb
|
||||||
|
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\obj\Debug\net6.0\Controladora.dll
|
||||||
|
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\obj\Debug\net6.0\refint\Controladora.dll
|
||||||
|
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\obj\Debug\net6.0\Controladora.pdb
|
||||||
|
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\bin\Debug\net6.0\Controladora.deps.json
|
||||||
|
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\bin\Debug\net6.0\Controladora.dll
|
||||||
|
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\bin\Debug\net6.0\Controladora.pdb
|
||||||
|
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\bin\Debug\net6.0\Entidades.dll
|
||||||
|
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\bin\Debug\net6.0\Modelo.dll
|
||||||
|
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\bin\Debug\net6.0\Modelo.pdb
|
||||||
|
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\bin\Debug\net6.0\Entidades.pdb
|
||||||
|
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\obj\Debug\net6.0\Controladora.csproj.AssemblyReference.cache
|
||||||
|
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\obj\Debug\net6.0\Controladora.GeneratedMSBuildEditorConfig.editorconfig
|
||||||
|
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\obj\Debug\net6.0\Controladora.AssemblyInfoInputs.cache
|
||||||
|
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\obj\Debug\net6.0\Controladora.AssemblyInfo.cs
|
||||||
|
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\obj\Debug\net6.0\Controladora.csproj.CoreCompileInputs.cache
|
||||||
|
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\obj\Debug\net6.0\Controla.1EE7A4DA.Up2Date
|
||||||
|
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\obj\Debug\net6.0\ref\Controladora.dll
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,10 +1,10 @@
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// Este código fue generado por una herramienta.
|
||||||
// Runtime Version:4.0.30319.42000
|
// Versión de runtime:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
|
||||||
// the code is regenerated.
|
// se vuelve a generar el código.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -14,10 +14,10 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Controladora")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("Controladora")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+abfd18e86f40a98925507ec03c2e8832ee47a3eb")]
|
||||||
[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")]
|
||||||
|
|
||||||
// Generated by the MSBuild WriteCodeFragment class.
|
// Generado por la clase WriteCodeFragment de MSBuild.
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
1a11c83cae779abe705573d149b53d62cfc015f0
|
1300c7ac552248a2e20058b6f2d7f7eb38539ca91bc222d9d6bfd7bbcb24e9ab
|
||||||
|
|||||||
@@ -8,4 +8,6 @@ build_property.PlatformNeutralAssembly =
|
|||||||
build_property.EnforceExtendedAnalyzerRules =
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
build_property.RootNamespace = Controladora
|
build_property.RootNamespace = Controladora
|
||||||
build_property.ProjectDir = C:\Users\fedpo\source\repos\Final_OOP\Controladora\
|
build_property.ProjectDir = C:\Users\Nacho\source\repos\Final\Controladora\
|
||||||
|
build_property.EnableComHosting =
|
||||||
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -5425,6 +5425,29 @@
|
|||||||
"related": ".pdb"
|
"related": ".pdb"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"Entidades/1.0.0": {
|
||||||
|
"type": "project",
|
||||||
|
"framework": ".NETCoreApp,Version=v6.0",
|
||||||
|
"compile": {
|
||||||
|
"bin/placeholder/Entidades.dll": {}
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"bin/placeholder/Entidades.dll": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Modelo/1.0.0": {
|
||||||
|
"type": "project",
|
||||||
|
"framework": ".NETCoreApp,Version=v6.0",
|
||||||
|
"dependencies": {
|
||||||
|
"Entidades": "1.0.0"
|
||||||
|
},
|
||||||
|
"compile": {
|
||||||
|
"bin/placeholder/Modelo.dll": {}
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"bin/placeholder/Modelo.dll": {}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -13406,11 +13429,23 @@
|
|||||||
"windowsazure.storage.8.1.4.nupkg.sha512",
|
"windowsazure.storage.8.1.4.nupkg.sha512",
|
||||||
"windowsazure.storage.nuspec"
|
"windowsazure.storage.nuspec"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"Entidades/1.0.0": {
|
||||||
|
"type": "project",
|
||||||
|
"path": "../Entidades/Entidades.csproj",
|
||||||
|
"msbuildProject": "../Entidades/Entidades.csproj"
|
||||||
|
},
|
||||||
|
"Modelo/1.0.0": {
|
||||||
|
"type": "project",
|
||||||
|
"path": "../Modelo/Modelo.csproj",
|
||||||
|
"msbuildProject": "../Modelo/Modelo.csproj"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"projectFileDependencyGroups": {
|
"projectFileDependencyGroups": {
|
||||||
"net6.0": [
|
"net6.0": [
|
||||||
"Emailer >= 1.0.0",
|
"Emailer >= 1.0.0",
|
||||||
|
"Entidades >= 1.0.0",
|
||||||
|
"Modelo >= 1.0.0",
|
||||||
"webhookSharp >= 1.0.0"
|
"webhookSharp >= 1.0.0"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -13420,11 +13455,11 @@
|
|||||||
"project": {
|
"project": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "C:\\Users\\Nacho\\Desktop\\Final\\Controladora\\Controladora.csproj",
|
"projectUniqueName": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Controladora\\Controladora.csproj",
|
||||||
"projectName": "Controladora",
|
"projectName": "Controladora",
|
||||||
"projectPath": "C:\\Users\\Nacho\\Desktop\\Final\\Controladora\\Controladora.csproj",
|
"projectPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Controladora\\Controladora.csproj",
|
||||||
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
||||||
"outputPath": "C:\\Users\\Nacho\\Desktop\\Final\\Controladora\\obj\\",
|
"outputPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Controladora\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
@@ -13440,7 +13475,14 @@
|
|||||||
"frameworks": {
|
"frameworks": {
|
||||||
"net6.0": {
|
"net6.0": {
|
||||||
"targetAlias": "net6.0",
|
"targetAlias": "net6.0",
|
||||||
"projectReferences": {}
|
"projectReferences": {
|
||||||
|
"C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj": {
|
||||||
|
"projectPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj"
|
||||||
|
},
|
||||||
|
"C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Modelo\\Modelo.csproj": {
|
||||||
|
"projectPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Modelo\\Modelo.csproj"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"warningProperties": {
|
"warningProperties": {
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"dgSpecHash": "Ac4ggWVLH8LUHw5ejP9QZb6Fk9et5nEhTDIqBHBf0ZCuG1ZueAW1ZcxbVkxHkUMpaBKeX2+RjVdnQTf/DMUDgA==",
|
"dgSpecHash": "MYQDimuvgTLgdr4nkAgRSaHTw8GikSKj95s3ws08wKEVVrpNozmS3GJxrppl/rSuADCp+u9k9/QhTzUwq8ILpw==",
|
||||||
"success": false,
|
"success": false,
|
||||||
"projectFilePath": "C:\\Users\\Nacho\\Desktop\\Final\\Controladora\\Controladora.csproj",
|
"projectFilePath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Controladora\\Controladora.csproj",
|
||||||
"expectedPackageFiles": [
|
"expectedPackageFiles": [
|
||||||
"C:\\Users\\Nacho\\.nuget\\packages\\emailer\\1.0.0\\emailer.1.0.0.nupkg.sha512",
|
"C:\\Users\\Nacho\\.nuget\\packages\\emailer\\1.0.0\\emailer.1.0.0.nupkg.sha512",
|
||||||
"C:\\Users\\Nacho\\.nuget\\packages\\libuv\\1.10.0\\libuv.1.10.0.nupkg.sha512",
|
"C:\\Users\\Nacho\\.nuget\\packages\\libuv\\1.10.0\\libuv.1.10.0.nupkg.sha512",
|
||||||
|
|||||||
@@ -8,9 +8,11 @@ namespace Entidades
|
|||||||
{
|
{
|
||||||
public class Proveedor
|
public class Proveedor
|
||||||
{
|
{
|
||||||
public int Id { get; set; }
|
public Int64 Cuit { get; set; }
|
||||||
public string Nombre { get; set; }
|
public string Nombre { get; set; }
|
||||||
public string RazonSocial { get; set; }
|
public string RazonSocial { get; set; }
|
||||||
public bool Habilitado { get; set; }
|
public string Direccion { get; set; }
|
||||||
|
public bool Habilitado { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Entidades")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("Entidades")]
|
||||||
[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+6f63c328000fe0f795ac17f5c7382d7f3ea78d8a")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+cefd645974788c21dbd8ecb38aaa78d8ac04dd4b")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("Entidades")]
|
[assembly: System.Reflection.AssemblyProductAttribute("Entidades")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("Entidades")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("Entidades")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
f9876a237b4b286ad132b4116cd37929f63116ce7a2fbeb5f89b0b17b977b3e0
|
a687cba9ed7450e5c700a51cb95b1f9a0a0edc042a19f86ad94db189023a05ac
|
||||||
|
|||||||
@@ -8,6 +8,6 @@ build_property.PlatformNeutralAssembly =
|
|||||||
build_property.EnforceExtendedAnalyzerRules =
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
build_property.RootNamespace = Entidades
|
build_property.RootNamespace = Entidades
|
||||||
build_property.ProjectDir = C:\Users\Nacho\Desktop\Final\Entidades\
|
build_property.ProjectDir = C:\Users\Nacho\Source\Repos\Final_OOP\Entidades\
|
||||||
build_property.EnableComHosting =
|
build_property.EnableComHosting =
|
||||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||||
|
|||||||
Binary file not shown.
@@ -1,17 +1,17 @@
|
|||||||
{
|
{
|
||||||
"format": 1,
|
"format": 1,
|
||||||
"restore": {
|
"restore": {
|
||||||
"C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj": {}
|
"C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj": {}
|
||||||
},
|
},
|
||||||
"projects": {
|
"projects": {
|
||||||
"C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj": {
|
"C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj",
|
"projectUniqueName": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj",
|
||||||
"projectName": "Entidades",
|
"projectName": "Entidades",
|
||||||
"projectPath": "C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj",
|
"projectPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj",
|
||||||
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
||||||
"outputPath": "C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\obj\\",
|
"outputPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// Este código fue generado por una herramienta.
|
||||||
// Runtime Version:4.0.30319.42000
|
// Versión de runtime:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
|
||||||
// the code is regenerated.
|
// se vuelve a generar el código.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -14,10 +14,10 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Entidades")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("Entidades")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+abfd18e86f40a98925507ec03c2e8832ee47a3eb")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("Entidades")]
|
[assembly: System.Reflection.AssemblyProductAttribute("Entidades")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("Entidades")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("Entidades")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|
||||||
// Generated by the MSBuild WriteCodeFragment class.
|
// Generado por la clase WriteCodeFragment de MSBuild.
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
1dac91cef82b545d186b8ab941058cf01df1dea3
|
0f23a71dabcab7104ee2511db3de6cc1ef434f03702a8d033e7694541758b7dd
|
||||||
|
|||||||
@@ -8,4 +8,6 @@ build_property.PlatformNeutralAssembly =
|
|||||||
build_property.EnforceExtendedAnalyzerRules =
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
build_property.RootNamespace = Entidades
|
build_property.RootNamespace = Entidades
|
||||||
build_property.ProjectDir = C:\Users\fedpo\Source\Repos\Final_OOP\Entidades\
|
build_property.ProjectDir = C:\Users\Nacho\source\repos\Final\Entidades\
|
||||||
|
build_property.EnableComHosting =
|
||||||
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -13,11 +13,11 @@
|
|||||||
"project": {
|
"project": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj",
|
"projectUniqueName": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj",
|
||||||
"projectName": "Entidades",
|
"projectName": "Entidades",
|
||||||
"projectPath": "C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj",
|
"projectPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj",
|
||||||
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
||||||
"outputPath": "C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\obj\\",
|
"outputPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"dgSpecHash": "KTVQhohIOaB20Vq1qCNBZcupahZnFLZka1QectU46XOvUk6T46qHr183X37PDCM5ISmcnpp2j1OSBfUSKfsr6Q==",
|
"dgSpecHash": "+9QsqENGYd4qIIPCnRA0BRL7UiFYXaYZJR2jVoACt5fTCzrycu1oHCxViXeMxzr+idMIyJGQ/11fIYTFVqnyPA==",
|
||||||
"success": true,
|
"success": true,
|
||||||
"projectFilePath": "C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj",
|
"projectFilePath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj",
|
||||||
"expectedPackageFiles": [],
|
"expectedPackageFiles": [],
|
||||||
"logs": []
|
"logs": []
|
||||||
}
|
}
|
||||||
@@ -7,9 +7,14 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Controladora", "Controlador
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Entidades", "Entidades\Entidades.csproj", "{78A331E5-86D4-427E-AA45-5879F9E5E98B}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Entidades", "Entidades\Entidades.csproj", "{78A331E5-86D4-427E-AA45-5879F9E5E98B}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Modelo", "Modelo\Modelo.csproj", "{9A0960D9-C909-4B68-8BBB-8C44B9CD0E97}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Modelo", "Modelo\Modelo.csproj", "{9A0960D9-C909-4B68-8BBB-8C44B9CD0E97}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Vista", "Vista\Vista.csproj", "{8C9E8090-5D8F-42AE-9813-C68D384C6863}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Vista", "Vista\Vista.csproj", "{8C9E8090-5D8F-42AE-9813-C68D384C6863}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{7168B549-F229-4D49-8C53-AF1CEB9BBB6B} = {7168B549-F229-4D49-8C53-AF1CEB9BBB6B}
|
||||||
|
{78A331E5-86D4-427E-AA45-5879F9E5E98B} = {78A331E5-86D4-427E-AA45-5879F9E5E98B}
|
||||||
|
{9A0960D9-C909-4B68-8BBB-8C44B9CD0E97} = {9A0960D9-C909-4B68-8BBB-8C44B9CD0E97}
|
||||||
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
|||||||
25
Modelo/Modelo.sln
Normal file
25
Modelo/Modelo.sln
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.5.002.0
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Modelo", "Modelo.csproj", "{332ACC5A-D3E1-4E7A-A363-BDC1CB370350}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{332ACC5A-D3E1-4E7A-A363-BDC1CB370350}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{332ACC5A-D3E1-4E7A-A363-BDC1CB370350}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{332ACC5A-D3E1-4E7A-A363-BDC1CB370350}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{332ACC5A-D3E1-4E7A-A363-BDC1CB370350}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {DFA3F249-7A0D-474C-A190-5C2E568DFB1C}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
|
|
||||||
namespace Modelo
|
namespace Modelo
|
||||||
{
|
{
|
||||||
@@ -24,6 +25,11 @@ namespace Modelo
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Lista el contenido del repositorio
|
||||||
|
public ReadOnlyCollection<T> Listar(){
|
||||||
|
return almacen.AsReadOnly();
|
||||||
|
}
|
||||||
|
|
||||||
// Añade objetos al almacen
|
// Añade objetos al almacen
|
||||||
abstract public bool Add(T t);
|
abstract public bool Add(T t);
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ namespace Modelo
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var proveedorAModificar = almacen.Find(x => x.Id == t.Id);
|
var proveedorAModificar = almacen.Find(x => x.Cuit == t.Cuit);
|
||||||
if (proveedorAModificar != null)
|
if (proveedorAModificar != null)
|
||||||
{
|
{
|
||||||
proveedorAModificar = t;
|
proveedorAModificar = t;
|
||||||
@@ -49,7 +49,7 @@ namespace Modelo
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var proveedorAEliminar = almacen.Find(x => x.Id == t.Id);
|
var proveedorAEliminar = almacen.Find(x => x.Cuit == t.Cuit);
|
||||||
if (proveedorAEliminar != null)
|
if (proveedorAEliminar != null)
|
||||||
{
|
{
|
||||||
almacen.Remove(proveedorAEliminar);
|
almacen.Remove(proveedorAEliminar);
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Modelo")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("Modelo")]
|
||||||
[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+bc4cbf98b694fea6cb9a1180800c286a8c9baceb")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+cefd645974788c21dbd8ecb38aaa78d8ac04dd4b")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("Modelo")]
|
[assembly: System.Reflection.AssemblyProductAttribute("Modelo")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("Modelo")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("Modelo")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
e8d52fba3acd089aa4e5bd467c5b234fd3f59031a10de52f1b6621464b430c5d
|
099b8681c0fe3ea241c3236b037e92bb2b80c449b64984e5089c2c47a48ee0b9
|
||||||
|
|||||||
@@ -8,6 +8,6 @@ build_property.PlatformNeutralAssembly =
|
|||||||
build_property.EnforceExtendedAnalyzerRules =
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
build_property.RootNamespace = Modelo
|
build_property.RootNamespace = Modelo
|
||||||
build_property.ProjectDir = C:\Users\Nacho\Desktop\Final\Modelo\
|
build_property.ProjectDir = C:\Users\Nacho\Source\Repos\Final_OOP\Modelo\
|
||||||
build_property.EnableComHosting =
|
build_property.EnableComHosting =
|
||||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||||
|
|||||||
Binary file not shown.
@@ -1,17 +1,17 @@
|
|||||||
{
|
{
|
||||||
"format": 1,
|
"format": 1,
|
||||||
"restore": {
|
"restore": {
|
||||||
"C:\\Users\\Nacho\\Desktop\\Final\\Modelo\\Modelo.csproj": {}
|
"C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Modelo\\Modelo.csproj": {}
|
||||||
},
|
},
|
||||||
"projects": {
|
"projects": {
|
||||||
"C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj": {
|
"C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj",
|
"projectUniqueName": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj",
|
||||||
"projectName": "Entidades",
|
"projectName": "Entidades",
|
||||||
"projectPath": "C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj",
|
"projectPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj",
|
||||||
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
||||||
"outputPath": "C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\obj\\",
|
"outputPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
@@ -64,14 +64,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"C:\\Users\\Nacho\\Desktop\\Final\\Modelo\\Modelo.csproj": {
|
"C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Modelo\\Modelo.csproj": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "C:\\Users\\Nacho\\Desktop\\Final\\Modelo\\Modelo.csproj",
|
"projectUniqueName": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Modelo\\Modelo.csproj",
|
||||||
"projectName": "Modelo",
|
"projectName": "Modelo",
|
||||||
"projectPath": "C:\\Users\\Nacho\\Desktop\\Final\\Modelo\\Modelo.csproj",
|
"projectPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Modelo\\Modelo.csproj",
|
||||||
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
||||||
"outputPath": "C:\\Users\\Nacho\\Desktop\\Final\\Modelo\\obj\\",
|
"outputPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Modelo\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
@@ -88,8 +88,8 @@
|
|||||||
"net6.0": {
|
"net6.0": {
|
||||||
"targetAlias": "net6.0",
|
"targetAlias": "net6.0",
|
||||||
"projectReferences": {
|
"projectReferences": {
|
||||||
"C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj": {
|
"C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj": {
|
||||||
"projectPath": "C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj"
|
"projectPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// Este código fue generado por una herramienta.
|
||||||
// Runtime Version:4.0.30319.42000
|
// Versión de runtime:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
|
||||||
// the code is regenerated.
|
// se vuelve a generar el código.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -14,10 +14,10 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Modelo")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("Modelo")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+abfd18e86f40a98925507ec03c2e8832ee47a3eb")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("Modelo")]
|
[assembly: System.Reflection.AssemblyProductAttribute("Modelo")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("Modelo")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("Modelo")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|
||||||
// Generated by the MSBuild WriteCodeFragment class.
|
// Generado por la clase WriteCodeFragment de MSBuild.
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
62b2a3bcc43d28f54304e0bcd7e2b7d409425118
|
3e36c8c77cd831cf7c05eae84ca674fcaae78b66286858be7486e7662b80b494
|
||||||
|
|||||||
@@ -8,4 +8,6 @@ build_property.PlatformNeutralAssembly =
|
|||||||
build_property.EnforceExtendedAnalyzerRules =
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
build_property.RootNamespace = Modelo
|
build_property.RootNamespace = Modelo
|
||||||
build_property.ProjectDir = C:\Users\fedpo\Source\Repos\Final_OOP\Modelo\
|
build_property.ProjectDir = C:\Users\Nacho\source\repos\Final\Modelo\
|
||||||
|
build_property.EnableComHosting =
|
||||||
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -32,11 +32,11 @@
|
|||||||
"project": {
|
"project": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "C:\\Users\\Nacho\\Desktop\\Final\\Modelo\\Modelo.csproj",
|
"projectUniqueName": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Modelo\\Modelo.csproj",
|
||||||
"projectName": "Modelo",
|
"projectName": "Modelo",
|
||||||
"projectPath": "C:\\Users\\Nacho\\Desktop\\Final\\Modelo\\Modelo.csproj",
|
"projectPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Modelo\\Modelo.csproj",
|
||||||
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
||||||
"outputPath": "C:\\Users\\Nacho\\Desktop\\Final\\Modelo\\obj\\",
|
"outputPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Modelo\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
@@ -53,8 +53,8 @@
|
|||||||
"net6.0": {
|
"net6.0": {
|
||||||
"targetAlias": "net6.0",
|
"targetAlias": "net6.0",
|
||||||
"projectReferences": {
|
"projectReferences": {
|
||||||
"C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj": {
|
"C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj": {
|
||||||
"projectPath": "C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj"
|
"projectPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"dgSpecHash": "T12qmRj5Q9rvsNY7xEFXm3MUiD/DlNMsnkrwj708Ox38z6CidLP3fTzwdB3PJvsKuH9BlXCvzreylK2Srxz2KA==",
|
"dgSpecHash": "GHvzI31gpq3LC5PsFVAyJd0HJLioNTu1zueIve1esILQ9QlNaZAenRITvunQ0HsZ06NONsSYihAL5kiY+8UONw==",
|
||||||
"success": true,
|
"success": true,
|
||||||
"projectFilePath": "C:\\Users\\Nacho\\Desktop\\Final\\Modelo\\Modelo.csproj",
|
"projectFilePath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Modelo\\Modelo.csproj",
|
||||||
"expectedPackageFiles": [],
|
"expectedPackageFiles": [],
|
||||||
"logs": []
|
"logs": []
|
||||||
}
|
}
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
<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>
|
|
||||||
@@ -1,67 +0,0 @@
|
|||||||
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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,69 +0,0 @@
|
|||||||
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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,73 +0,0 @@
|
|||||||
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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,67 +0,0 @@
|
|||||||
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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,73 +0,0 @@
|
|||||||
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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,73 +0,0 @@
|
|||||||
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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,75 +0,0 @@
|
|||||||
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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,62 +0,0 @@
|
|||||||
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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,67 +0,0 @@
|
|||||||
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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,80 +0,0 @@
|
|||||||
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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
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);
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
// <autogenerated />
|
|
||||||
using System;
|
|
||||||
using System.Reflection;
|
|
||||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")]
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
//------------------------------------------------------------------------------
|
|
||||||
// <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.
|
|
||||||
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
e8d52fba3acd089aa4e5bd467c5b234fd3f59031a10de52f1b6621464b430c5d
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
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 =
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
// <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;
|
|
||||||
Binary file not shown.
@@ -1,132 +0,0 @@
|
|||||||
{
|
|
||||||
"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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
<?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>
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
||||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
// <autogenerated />
|
|
||||||
using System;
|
|
||||||
using System.Reflection;
|
|
||||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")]
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
//------------------------------------------------------------------------------
|
|
||||||
// <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.
|
|
||||||
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
62b2a3bcc43d28f54304e0bcd7e2b7d409425118
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
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\
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
// <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;
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,96 +0,0 @@
|
|||||||
{
|
|
||||||
"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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"version": 2,
|
|
||||||
"dgSpecHash": "T12qmRj5Q9rvsNY7xEFXm3MUiD/DlNMsnkrwj708Ox38z6CidLP3fTzwdB3PJvsKuH9BlXCvzreylK2Srxz2KA==",
|
|
||||||
"success": true,
|
|
||||||
"projectFilePath": "C:\\Users\\Nacho\\Desktop\\Final\\Modelo\\Modelo.csproj",
|
|
||||||
"expectedPackageFiles": [],
|
|
||||||
"logs": []
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
namespace Vista
|
|
||||||
{
|
|
||||||
public partial class Form1 : Form
|
|
||||||
{
|
|
||||||
public Form1()
|
|
||||||
{
|
|
||||||
InitializeComponent();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,14 +1,14 @@
|
|||||||
namespace Vista
|
namespace Vista
|
||||||
{
|
{
|
||||||
partial class Form1
|
partial class FrmAddVentas
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private System.ComponentModel.IContainer components = null;
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Clean up any resources being used.
|
/// Clean up any resources being used.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
protected override void Dispose(bool disposing)
|
protected override void Dispose(bool disposing)
|
||||||
@@ -23,15 +23,22 @@
|
|||||||
#region Windows Form Designer generated code
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required method for Designer support - do not modify
|
/// Required method for Designer support - do not modify
|
||||||
/// the contents of this method with the code editor.
|
/// the contents of this method with the code editor.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
SuspendLayout();
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
//
|
||||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
// FrmAddVentas
|
||||||
this.Text = "Form1";
|
//
|
||||||
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||||
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
|
ClientSize = new Size(495, 229);
|
||||||
|
Name = "FrmAddVentas";
|
||||||
|
Text = "Form1";
|
||||||
|
|
||||||
|
ResumeLayout(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user