2026-01-30 02

This commit is contained in:
2026-01-30 11:09:47 +01:00
parent 9e0f4bb6fe
commit 12039e9ae4
26 changed files with 5703 additions and 21 deletions

View File

@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.33530.505
# Visual Studio Version 18
VisualStudioVersion = 18.2.11415.280 d18.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "bdGrupoSanchoToro", "bdGrupoSanchoToro\bdGrupoSanchoToro.csproj", "{747EDA0C-CF88-4F3A-88C2-9CE2F23B5D56}"
EndProject

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1 @@


View File

@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="ARTICULOS" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="ARTICULOS" msdata:IsDataSet="true" msdata:Locale="en-US">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Datos">
<xs:complexType>
<xs:sequence>
<xs:element name="ARCOD" type="xs:string" minOccurs="0" />
<xs:element name="ARCPR" type="xs:string" minOccurs="0" />
<xs:element name="ARNSE" type="xs:string" minOccurs="0" />
<xs:element name="ARNSF" type="xs:string" minOccurs="0" />
<xs:element name="ARDES" type="xs:string" minOccurs="0" />
<xs:element name="ARFAM" type="xs:string" minOccurs="0" />
<xs:element name="ARPRV" type="xs:string" minOccurs="0" />
<xs:element name="ARPRO" type="xs:string" minOccurs="0" />
<xs:element name="ARNAE" type="xs:string" minOccurs="0" />
<xs:element name="ARNLA" type="xs:string" minOccurs="0" />
<xs:element name="ARNFP" type="xs:string" minOccurs="0" />
<xs:element name="ARFEN" type="xs:string" minOccurs="0" />
<xs:element name="ARFSA" type="xs:string" minOccurs="0" />
<xs:element name="ARMGR" type="xs:string" minOccurs="0" />
<xs:element name="ARFIG" type="xs:string" minOccurs="0" />
<xs:element name="ARFFG" type="xs:string" minOccurs="0" />
<xs:element name="ARUBI" type="xs:string" minOccurs="0" />
<xs:element name="ARNAS" type="xs:string" minOccurs="0" />
<xs:element name="ARNLAS" type="xs:string" minOccurs="0" />
<xs:element name="ARNFC" type="xs:string" minOccurs="0" />
<xs:element name="ARFFA" type="xs:string" minOccurs="0" />
<xs:element name="ARRPA" type="xs:string" minOccurs="0" />
<xs:element name="ARNL1" type="xs:string" minOccurs="0" />
<xs:element name="ARNL2" type="xs:string" minOccurs="0" />
<xs:element name="ARNL3" type="xs:string" minOccurs="0" />
<xs:element name="ARNL4" type="xs:string" minOccurs="0" />
<xs:element name="ARSIT" type="xs:string" minOccurs="0" />
<xs:element name="AROBS" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@@ -0,0 +1 @@


File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1 @@


View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="EXPART" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="EXPART" msdata:IsDataSet="true" msdata:Locale="en-US">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Datos">
<xs:complexType>
<xs:sequence>
<xs:element name="EANLI" type="xs:string" minOccurs="0" />
<xs:element name="EACOD" type="xs:string" minOccurs="0" />
<xs:element name="EACPR" type="xs:string" minOccurs="0" />
<xs:element name="EANSE" type="xs:string" minOccurs="0" />
<xs:element name="EANSF" type="xs:string" minOccurs="0" />
<xs:element name="EADES" type="xs:string" minOccurs="0" />
<xs:element name="EAPRV" type="xs:string" minOccurs="0" />
<xs:element name="EATIP" type="xs:string" minOccurs="0" />
<xs:element name="EAFEC" type="xs:string" minOccurs="0" />
<xs:element name="EANAL" type="xs:string" minOccurs="0" />
<xs:element name="EADEX" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@@ -0,0 +1 @@


File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1 @@


View File

@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="GRUASPC" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="GRUASPC" msdata:IsDataSet="true" msdata:Locale="en-US">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Datos">
<xs:complexType>
<xs:sequence>
<xs:element name="CPCOD" type="xs:string" minOccurs="0" />
<xs:element name="CPCGG" type="xs:string" minOccurs="0" />
<xs:element name="CPALI" type="xs:string" minOccurs="0" />
<xs:element name="CPSRE" type="xs:string" minOccurs="0" />
<xs:element name="CPMAR" type="xs:string" minOccurs="0" />
<xs:element name="CPMDL" type="xs:string" minOccurs="0" />
<xs:element name="CPVER" type="xs:string" minOccurs="0" />
<xs:element name="CPMDG" type="xs:string" minOccurs="0" />
<xs:element name="CPEXP" type="xs:string" minOccurs="0" />
<xs:element name="CPFAL" type="xs:string" minOccurs="0" />
<xs:element name="CPFBA" type="xs:string" minOccurs="0" />
<xs:element name="CPFIA" type="xs:string" minOccurs="0" />
<xs:element name="CPFFA" type="xs:string" minOccurs="0" />
<xs:element name="CPMAT" type="xs:string" minOccurs="0" />
<xs:element name="CPALT" type="xs:string" minOccurs="0" />
<xs:element name="CPPLU" type="xs:string" minOccurs="0" />
<xs:element name="CPKGP" type="xs:string" minOccurs="0" />
<xs:element name="CPKGM" type="xs:string" minOccurs="0" />
<xs:element name="CPPRO" type="xs:string" minOccurs="0" />
<xs:element name="CPNCM" type="xs:string" minOccurs="0" />
<xs:element name="CPEST" type="xs:string" minOccurs="0" />
<xs:element name="CPOBR" type="xs:string" minOccurs="0" />
<xs:element name="CPCCL" type="xs:string" minOccurs="0" />
<xs:element name="CPASE" type="xs:string" minOccurs="0" />
<xs:element name="CPVAS" type="xs:string" minOccurs="0" />
<xs:element name="CPTIP" type="xs:string" minOccurs="0" />
<xs:element name="CPNAE" type="xs:string" minOccurs="0" />
<xs:element name="CPFPS" type="xs:string" minOccurs="0" />
<xs:element name="CPNPE" type="xs:string" minOccurs="0" />
<xs:element name="CPFURO" type="xs:string" minOccurs="0" />
<xs:element name="CPFURN" type="xs:string" minOccurs="0" />
<xs:element name="CPFL1" type="xs:string" minOccurs="0" />
<xs:element name="CPFL2" type="xs:string" minOccurs="0" />
<xs:element name="CPFL3" type="xs:string" minOccurs="0" />
<xs:element name="CPFL4" type="xs:string" minOccurs="0" />
<xs:element name="CPAL1" type="xs:string" minOccurs="0" />
<xs:element name="CPAL2" type="xs:string" minOccurs="0" />
<xs:element name="CPAL3" type="xs:string" minOccurs="0" />
<xs:element name="CPAL4" type="xs:string" minOccurs="0" />
<xs:element name="CPNL1" type="xs:string" minOccurs="0" />
<xs:element name="CPNL2" type="xs:string" minOccurs="0" />
<xs:element name="CPNL3" type="xs:string" minOccurs="0" />
<xs:element name="CPNL4" type="xs:string" minOccurs="0" />
<xs:element name="CPSIT" type="xs:string" minOccurs="0" />
<xs:element name="CPOBS" type="xs:string" minOccurs="0" />
<xs:element name="CPINCM" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@@ -0,0 +1 @@


View File

@@ -36,11 +36,21 @@
</ItemGroup>
<ItemGroup>
<Compile Update="XSD\DAT-ARTICULOS.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>DAT-ARTICULOS.xsd</DependentUpon>
</Compile>
<Compile Update="XSD\DAT-CTESGESL.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>DAT-CTESGESL.xsd</DependentUpon>
</Compile>
<Compile Update="XSD\DAT-EXPART.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>DAT-EXPART.xsd</DependentUpon>
</Compile>
<Compile Update="XSD\DAT-FAMILIAS.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
@@ -51,6 +61,11 @@
<AutoGen>True</AutoGen>
<DependentUpon>DAT-GRUASGC.xsd</DependentUpon>
</Compile>
<Compile Update="XSD\DAT-GRUASPC.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>DAT-GRUASPC.xsd</DependentUpon>
</Compile>
<Compile Update="XSD\DAT-PRODUCTOS.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
@@ -59,10 +74,18 @@
</ItemGroup>
<ItemGroup>
<None Update="XSD\DAT-ARTICULOS.xsd">
<Generator>MSDataSetGenerator</Generator>
<LastGenOutput>DAT-ARTICULOS.Designer.cs</LastGenOutput>
</None>
<None Update="XSD\DAT-CTESGESL.xsd">
<Generator>MSDataSetGenerator</Generator>
<LastGenOutput>DAT-CTESGESL.Designer.cs</LastGenOutput>
</None>
<None Update="XSD\DAT-EXPART.xsd">
<Generator>MSDataSetGenerator</Generator>
<LastGenOutput>DAT-EXPART.Designer.cs</LastGenOutput>
</None>
<None Update="XSD\DAT-FAMILIAS.xsd">
<Generator>MSDataSetGenerator</Generator>
<LastGenOutput>DAT-FAMILIAS.Designer.cs</LastGenOutput>
@@ -71,6 +94,10 @@
<Generator>MSDataSetGenerator</Generator>
<LastGenOutput>DAT-GRUASGC.Designer.cs</LastGenOutput>
</None>
<None Update="XSD\DAT-GRUASPC.xsd">
<Generator>MSDataSetGenerator</Generator>
<LastGenOutput>DAT-GRUASPC.Designer.cs</LastGenOutput>
</None>
<None Update="XSD\DAT-PRODUCTOS.xsd">
<Generator>MSDataSetGenerator</Generator>
<LastGenOutput>DAT-PRODUCTOS.Designer.cs</LastGenOutput>

View File

@@ -29,6 +29,8 @@ public partial class apuntes
public int? idConciliacion { get; set; }
public int? idAplicacion { get; set; }
public virtual asientos idAsientoNavigation { get; set; } = null!;
public virtual conceptosapuntes? idConceptoNavigation { get; set; }

View File

@@ -17,28 +17,34 @@ public partial class articulos
public int? idProveedor { get; set; }
public string? NumeroFraCompra { get; set; }
public DateOnly? FechaCompra { get; set; }
public DateOnly? FechaFinGarantia { get; set; }
public DateOnly? FechaAlta { get; set; }
public DateOnly? FechaBaja { get; set; }
public string? Observaciones { get; set; }
public int? idDetalleFra { get; set; }
public double? PrecioCompra { get; set; }
public int? idDetalleFraVenta { get; set; }
public int? idFichero { get; set; }
public string? Averias { get; set; }
public string? Matricula { get; set; }
public string? Observaciones { get; set; }
public virtual ICollection<detallepresupuesto> detallepresupuesto { get; set; } = new List<detallepresupuesto>();
public virtual ICollection<detallesalbaranes> detallesalbaranes { get; set; } = new List<detallesalbaranes>();
public virtual ICollection<expedientesarticulos> expedientesarticulos { get; set; } = new List<expedientesarticulos>();
public virtual gruasparticulares? gruasparticulares { get; set; }
public virtual detallesfacturas? idDetalleFraNavigation { get; set; }
public virtual detallesfacturasrecibidas? idDetalleFraVentaNavigation { get; set; }
public virtual ficheros? idFicheroNavigation { get; set; }
public virtual productos? idProductoNavigation { get; set; }

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdGrupoSanchoToro.db;
[AddINotifyPropertyChangedInterface]
public partial class desglosetiposofertas
{
public int idDesglose { get; set; }
public int idProducto { get; set; }
public bool Obligatorio { get; set; }
public int idTipoOferta { get; set; }
public virtual productos idProductoNavigation { get; set; } = null!;
public virtual tiposofertas idTipoOfertaNavigation { get; set; } = null!;
}

View File

@@ -29,6 +29,8 @@ public partial class detallesfacturas
public int? idDetalleRTF { get; set; }
public virtual ICollection<articulos> articulos { get; set; } = new List<articulos>();
public virtual detallepresupuesto? idDetallePresupuestoNavigation { get; set; }
public virtual ficheros? idDetalleRTFNavigation { get; set; }

View File

@@ -23,6 +23,8 @@ public partial class detallesfacturasrecibidas
public string? Observaciones { get; set; }
public virtual ICollection<articulos> articulos { get; set; } = new List<articulos>();
public virtual facturasrecibidas idFacturaNavigation { get; set; } = null!;
public virtual productos idProductoNavigation { get; set; } = null!;

View File

@@ -0,0 +1,35 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdGrupoSanchoToro.db;
[AddINotifyPropertyChangedInterface]
public partial class expedientesarticulos
{
public int idExpediente { get; set; }
public string? Descripcion { get; set; }
public DateTime? Fecha { get; set; }
public int Tipo { get; set; }
public int? Aplicacion { get; set; }
public int? idAplicacion { get; set; }
public int? idFichero { get; set; }
public int? idEntidad { get; set; }
public int? idUsuario { get; set; }
public bool EsAdvertencia { get; set; }
public virtual articulos? idEntidadNavigation { get; set; }
public virtual ficheros? idFicheroNavigation { get; set; }
public virtual usuarios? idUsuarioNavigation { get; set; }
}

View File

@@ -39,6 +39,8 @@ public partial class ficheros
public virtual ICollection<empresas> empresasidLogo2Navigation { get; set; } = new List<empresas>();
public virtual ICollection<expedientesarticulos> expedientesarticulos { get; set; } = new List<expedientesarticulos>();
public virtual ICollection<expedientesentidades> expedientesentidades { get; set; } = new List<expedientesentidades>();
public virtual ICollection<facturas> facturas { get; set; } = new List<facturas>();

View File

@@ -79,6 +79,8 @@ public partial class productos
public virtual ICollection<articulos> articulos { get; set; } = new List<articulos>();
public virtual ICollection<desglosetiposofertas> desglosetiposofertas { get; set; } = new List<desglosetiposofertas>();
public virtual ICollection<detallepresupuesto> detallepresupuesto { get; set; } = new List<detallepresupuesto>();
public virtual ICollection<detallesalbaranes> detallesalbaranes { get; set; } = new List<detallesalbaranes>();

View File

@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdGrupoSanchoToro.db;
[AddINotifyPropertyChangedInterface]
public partial class tiposofertas
{
public int idTipoOferta { get; set; }
public string Codigo { get; set; } = null!;
public int Tipo { get; set; }
public string Descripcion { get; set; } = null!;
public bool Opcional_ElementoGrua { get; set; }
public bool Opcional_Repuesto { get; set; }
public bool Opcional_OtrosProductos { get; set; }
public bool Opcional_Consumibles { get; set; }
public bool Opcional_Servicio { get; set; }
public virtual ICollection<desglosetiposofertas> desglosetiposofertas { get; set; } = new List<desglosetiposofertas>();
}

View File

@@ -47,6 +47,8 @@ public partial class usuarios
public virtual ICollection<eventos> eventos { get; set; } = new List<eventos>();
public virtual ICollection<expedientesarticulos> expedientesarticulos { get; set; } = new List<expedientesarticulos>();
public virtual ICollection<expedientesentidades> expedientesentidades { get; set; } = new List<expedientesentidades>();
public virtual ICollection<extractosbancarios> extractosbancarios { get; set; } = new List<extractosbancarios>();

View File

@@ -52,6 +52,8 @@ public partial class GrupoSanchoToroContext : DbContext
public virtual DbSet<cuentascorreo> cuentascorreo { get; set; }
public virtual DbSet<desglosetiposofertas> desglosetiposofertas { get; set; }
public virtual DbSet<detallepresupuesto> detallepresupuesto { get; set; }
public virtual DbSet<detallesalbaranes> detallesalbaranes { get; set; }
@@ -76,6 +78,8 @@ public partial class GrupoSanchoToroContext : DbContext
public virtual DbSet<eventos> eventos { get; set; }
public virtual DbSet<expedientesarticulos> expedientesarticulos { get; set; }
public virtual DbSet<expedientesentidades> expedientesentidades { get; set; }
public virtual DbSet<extractosbancarios> extractosbancarios { get; set; }
@@ -136,6 +140,8 @@ public partial class GrupoSanchoToroContext : DbContext
public virtual DbSet<tablas> tablas { get; set; }
public virtual DbSet<tiposofertas> tiposofertas { get; set; }
public virtual DbSet<trabajadores> trabajadores { get; set; }
public virtual DbSet<usuarios> usuarios { get; set; }
@@ -382,6 +388,10 @@ public partial class GrupoSanchoToroContext : DbContext
{
entity.HasKey(e => e.idArticulo).HasName("PRIMARY");
entity.HasIndex(e => e.idDetalleFra, "articulos_detallesfacturas");
entity.HasIndex(e => e.idDetalleFraVenta, "articulos_facturasrecibidas_idx");
entity.HasIndex(e => e.idFichero, "articulos_ficheros_idx");
entity.HasIndex(e => new { e.idProducto, e.CodigoArticulo }, "articulos_productos_codigoarticulo").IsUnique();
@@ -390,26 +400,26 @@ public partial class GrupoSanchoToroContext : DbContext
entity.HasIndex(e => e.idProveedor, "articulos_proveedores_idx");
entity.Property(e => e.Averias)
.HasMaxLength(200)
.UseCollation("utf8mb3_general_ci")
.HasCharSet("utf8mb3");
entity.Property(e => e.CodigoArticulo)
.HasMaxLength(10)
.UseCollation("utf8mb3_general_ci")
.HasCharSet("utf8mb3");
entity.Property(e => e.NumeroFraCompra)
.HasMaxLength(20)
.UseCollation("utf8mb3_general_ci")
.HasCharSet("utf8mb3");
entity.Property(e => e.Matricula).HasMaxLength(20);
entity.Property(e => e.NumeroSerie)
.HasMaxLength(40)
.UseCollation("utf8mb3_general_ci")
.HasCharSet("utf8mb3");
entity.Property(e => e.Observaciones)
.HasMaxLength(200)
.UseCollation("utf8mb3_general_ci")
.HasCharSet("utf8mb3");
entity.Property(e => e.Observaciones).HasMaxLength(200);
entity.HasOne(d => d.idDetalleFraNavigation).WithMany(p => p.articulos)
.HasForeignKey(d => d.idDetalleFra)
.OnDelete(DeleteBehavior.SetNull)
.HasConstraintName("articulos_detallesfacturas");
entity.HasOne(d => d.idDetalleFraVentaNavigation).WithMany(p => p.articulos)
.HasForeignKey(d => d.idDetalleFraVenta)
.OnDelete(DeleteBehavior.SetNull)
.HasConstraintName("articulos_facturasrecibidas");
entity.HasOne(d => d.idFicheroNavigation).WithMany(p => p.articulos)
.HasForeignKey(d => d.idFichero)
@@ -799,6 +809,23 @@ public partial class GrupoSanchoToroContext : DbContext
.HasConstraintName("cuentascorreos_empresas");
});
modelBuilder.Entity<desglosetiposofertas>(entity =>
{
entity.HasKey(e => e.idDesglose).HasName("PRIMARY");
entity.HasIndex(e => e.idTipoOferta, "desglosetiposofertas_idx");
entity.HasIndex(e => e.idProducto, "desglosetiposofertas_productos_idx");
entity.HasOne(d => d.idProductoNavigation).WithMany(p => p.desglosetiposofertas)
.HasForeignKey(d => d.idProducto)
.HasConstraintName("desglosetiposofertas_productos");
entity.HasOne(d => d.idTipoOfertaNavigation).WithMany(p => p.desglosetiposofertas)
.HasForeignKey(d => d.idTipoOferta)
.HasConstraintName("desglosetiposofertas_tiposofertas");
});
modelBuilder.Entity<detallepresupuesto>(entity =>
{
entity.HasKey(e => e.idDetallePresupuesto).HasName("PRIMARY");
@@ -1317,6 +1344,38 @@ public partial class GrupoSanchoToroContext : DbContext
.HasConstraintName("destinosmontajes_usuarios");
});
modelBuilder.Entity<expedientesarticulos>(entity =>
{
entity.HasKey(e => e.idExpediente).HasName("PRIMARY");
entity.HasIndex(e => e.idEntidad, "expedientes_articulos_idx");
entity.HasIndex(e => e.idFichero, "expedientesarticulos_ficheros_idx");
entity.HasIndex(e => e.idUsuario, "expedientesarticulos_usuarios_idx");
entity.Property(e => e.Descripcion)
.HasMaxLength(225)
.UseCollation("utf8mb3_general_ci")
.HasCharSet("utf8mb3");
entity.Property(e => e.Fecha).HasColumnType("datetime");
entity.HasOne(d => d.idEntidadNavigation).WithMany(p => p.expedientesarticulos)
.HasForeignKey(d => d.idEntidad)
.OnDelete(DeleteBehavior.Cascade)
.HasConstraintName("expedientesarticulos_articulos");
entity.HasOne(d => d.idFicheroNavigation).WithMany(p => p.expedientesarticulos)
.HasForeignKey(d => d.idFichero)
.OnDelete(DeleteBehavior.SetNull)
.HasConstraintName("expedientesarticulos_ficheros");
entity.HasOne(d => d.idUsuarioNavigation).WithMany(p => p.expedientesarticulos)
.HasForeignKey(d => d.idUsuario)
.OnDelete(DeleteBehavior.SetNull)
.HasConstraintName("expedientesarticulos_usuarios");
});
modelBuilder.Entity<expedientesentidades>(entity =>
{
entity.HasKey(e => e.idExpediente).HasName("PRIMARY");
@@ -2234,6 +2293,18 @@ public partial class GrupoSanchoToroContext : DbContext
.HasCharSet("utf8mb3");
});
modelBuilder.Entity<tiposofertas>(entity =>
{
entity.HasKey(e => e.idTipoOferta).HasName("PRIMARY");
entity.HasIndex(e => e.Codigo, "Codigo_UNIQUE").IsUnique();
entity.HasIndex(e => e.Descripcion, "Descripcion_UNIQUE").IsUnique();
entity.Property(e => e.Codigo).HasMaxLength(10);
entity.Property(e => e.Descripcion).HasMaxLength(60);
});
modelBuilder.Entity<trabajadores>(entity =>
{
entity.HasKey(e => e.idTrabajador).HasName("PRIMARY");

View File

@@ -95,6 +95,10 @@
"Name": "cuentascorreo",
"ObjectType": 0
},
{
"Name": "desglosetiposofertas",
"ObjectType": 0
},
{
"Name": "detallepresupuesto",
"ObjectType": 0
@@ -143,6 +147,10 @@
"Name": "eventos",
"ObjectType": 0
},
{
"Name": "expedientesarticulos",
"ObjectType": 0
},
{
"Name": "expedientesentidades",
"ObjectType": 0
@@ -263,6 +271,10 @@
"Name": "tablas",
"ObjectType": 0
},
{
"Name": "tiposofertas",
"ObjectType": 0
},
{
"Name": "trabajadores",
"ObjectType": 0