cambio de nombre, añadida otra precarga de datos para
This commit is contained in:
@@ -4,5 +4,6 @@ namespace Entidades
|
||||
public class DetalleOrdenDeCompra: Detalle<Producto>
|
||||
{
|
||||
public int IdOrdenDeCompra { get; set; }
|
||||
public double MontoCU { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,29 +14,44 @@
|
||||
<FileName>Cliente.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Class>
|
||||
<Class Name="Entidades.Detalle<T>" Collapsed="true">
|
||||
<Position X="9.75" Y="0.5" Width="1.5" />
|
||||
<Class Name="Entidades.Detalle<T>">
|
||||
<Position X="10.25" Y="0.5" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAACAAEAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAA=</HashCode>
|
||||
<FileName>Detalle.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Class>
|
||||
<Class Name="Entidades.DetalleFactura">
|
||||
<Position X="12" Y="1.75" Width="1.5" />
|
||||
<Position X="12.75" Y="2.25" Width="1.5" />
|
||||
<InheritanceLine Type="Entidades.Detalle<T>" ManuallyRouted="true">
|
||||
<Path>
|
||||
<Point X="11" Y="1.988" />
|
||||
<Point X="11" Y="2.365" />
|
||||
<Point X="13.5" Y="2.365" />
|
||||
<Point X="13.5" Y="2.25" />
|
||||
</Path>
|
||||
</InheritanceLine>
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAAAAAAAAAAEAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=</HashCode>
|
||||
<FileName>DetalleFactura.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Class>
|
||||
<Class Name="Entidades.DetalleOrdenDeCompra">
|
||||
<Position X="9.5" Y="1.75" Width="2" />
|
||||
<Position X="10" Y="2.75" Width="2" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=</HashCode>
|
||||
<HashCode>AAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAA=</HashCode>
|
||||
<FileName>DetalleOrdenDeCompra.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Class>
|
||||
<Class Name="Entidades.DetallePresupuesto">
|
||||
<Position X="7.5" Y="0.75" Width="1.75" />
|
||||
<Position X="6.25" Y="1.25" Width="1.75" />
|
||||
<InheritanceLine Type="Entidades.Detalle<T>" FixedFromPoint="true">
|
||||
<Path>
|
||||
<Point X="11" Y="1.988" />
|
||||
<Point X="11" Y="2.155" />
|
||||
<Point X="8" Y="2.155" />
|
||||
</Path>
|
||||
</InheritanceLine>
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAAAAAAAAAAEAAAAAAAAEAAAQABAAAAAAAAAAAAAAAA=</HashCode>
|
||||
<FileName>DetallePresupuesto.cs</FileName>
|
||||
@@ -66,29 +81,40 @@
|
||||
</ShowAsAssociation>
|
||||
</Class>
|
||||
<Class Name="Entidades.OrdenDeCompra">
|
||||
<Position X="9.75" Y="3.75" Width="1.5" />
|
||||
<Position X="10" Y="5.25" Width="1.5" />
|
||||
<AssociationLine Name="detalles" Type="Entidades.DetalleOrdenDeCompra">
|
||||
<MemberNameLabel ManuallyPlaced="true">
|
||||
<Position X="-0.005" Y="1.175" />
|
||||
</MemberNameLabel>
|
||||
</AssociationLine>
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAACAACAAAAQAAAAAAAAAAADBAABAAAAAAAAAAAAAAA=</HashCode>
|
||||
<HashCode>AAACAAAAAAAQAAAAAAAAAAADBAABAAAAAAAAAAAAAAA=</HashCode>
|
||||
<FileName>OrdenDeCompra.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
<ShowAsAssociation>
|
||||
<Property Name="Proveedor" />
|
||||
<Property Name="presupuesto" />
|
||||
</ShowAsAssociation>
|
||||
<ShowAsCollectionAssociation>
|
||||
<Field Name="detalles" />
|
||||
</ShowAsCollectionAssociation>
|
||||
</Class>
|
||||
<Class Name="Entidades.Presupuesto">
|
||||
<Position X="6.25" Y="2.75" Width="1.5" />
|
||||
<Position X="7.25" Y="3.5" Width="1.5" />
|
||||
<AssociationLine Name="Proveedor" Type="Entidades.Proveedor" ManuallyRouted="true" FixedFromPoint="true" FixedToPoint="true">
|
||||
<Path>
|
||||
<Point X="7" Y="5.267" />
|
||||
<Point X="7" Y="5.689" />
|
||||
<Point X="8" Y="6.017" />
|
||||
<Point X="8" Y="5.689" />
|
||||
<Point X="8.25" Y="5.689" />
|
||||
<Point X="8.25" Y="6.75" />
|
||||
</Path>
|
||||
</AssociationLine>
|
||||
<AssociationLine Name="detalles" Type="Entidades.DetallePresupuesto" FixedFromPoint="true" FixedToPoint="true">
|
||||
<Path>
|
||||
<Point X="7.25" Y="4.062" />
|
||||
<Point X="6.875" Y="4.062" />
|
||||
<Point X="6.875" Y="3.06" />
|
||||
</Path>
|
||||
</AssociationLine>
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAACAAAAAAAQAAEAAAAAAAADBAADABAAAAAAAAAAAAA=</HashCode>
|
||||
<FileName>Presupuesto.cs</FileName>
|
||||
@@ -101,16 +127,17 @@
|
||||
</ShowAsCollectionAssociation>
|
||||
</Class>
|
||||
<Class Name="Entidades.Producto">
|
||||
<Position X="3.25" Y="3.75" Width="1.75" />
|
||||
<Position X="3" Y="4.25" Width="1.75" />
|
||||
<Members>
|
||||
<Method Name="AñadirCategoria" Hidden="true" />
|
||||
<Field Name="categorias" Hidden="true" />
|
||||
<Method Name="EliminarCategoria" Hidden="true" />
|
||||
<Method Name="MostrarCategorias" Hidden="true" />
|
||||
</Members>
|
||||
<AssociationLine Name="proveedores" Type="Entidades.Proveedor" ManuallyRouted="true" FixedFromPoint="true" FixedToPoint="true">
|
||||
<Path>
|
||||
<Point X="5" Y="6.04" />
|
||||
<Point X="7.065" Y="6.04" />
|
||||
<Point X="7.065" Y="6.516" />
|
||||
<Point X="7.125" Y="6.516" />
|
||||
<Point X="4.75" Y="6.138" />
|
||||
<Point X="7.125" Y="6.138" />
|
||||
<Point X="7.125" Y="6.75" />
|
||||
</Path>
|
||||
</AssociationLine>
|
||||
|
||||
@@ -8,8 +8,6 @@ namespace Entidades
|
||||
private List<DetalleOrdenDeCompra> detalles = new List<DetalleOrdenDeCompra>();
|
||||
public Proveedor Proveedor { get; set; }
|
||||
|
||||
public Presupuesto presupuesto { get; set; }
|
||||
|
||||
public void AñadirDetalle(DetalleOrdenDeCompra detalle)
|
||||
{
|
||||
detalles.Add(detalle);
|
||||
|
||||
Reference in New Issue
Block a user