Actualzar dev #6
@@ -25,7 +25,7 @@ public partial class AlquilaFacilContext : DbContext
|
||||
|
||||
public virtual DbSet<Estadodefecto> Estadodefectos { get; set; }
|
||||
|
||||
public virtual DbSet<Estadoventum> Estadoventa { get; set; }
|
||||
public virtual DbSet<Estadoventa> Estadoventas { get; set; }
|
||||
|
||||
public virtual DbSet<Garante> Garantes { get; set; }
|
||||
|
||||
@@ -37,6 +37,8 @@ public partial class AlquilaFacilContext : DbContext
|
||||
|
||||
public virtual DbSet<Recibo> Recibos { get; set; }
|
||||
|
||||
public virtual DbSet<TipoPropiedad> TipoPropiedads { get; set; }
|
||||
|
||||
public virtual DbSet<Venta> Ventas { get; set; }
|
||||
|
||||
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||
@@ -47,309 +49,465 @@ public partial class AlquilaFacilContext : DbContext
|
||||
{
|
||||
modelBuilder.Entity<Canon>(entity =>
|
||||
{
|
||||
entity.HasKey(e => e.id).HasName("PRIMARY");
|
||||
entity.HasKey(e => e.Id).HasName("PRIMARY");
|
||||
|
||||
entity.ToTable("Canon");
|
||||
|
||||
entity.HasIndex(e => e.idrecibo, "FK_CAN_REC");
|
||||
entity.HasIndex(e => e.Idrecibo, "FK_CAN_REC");
|
||||
|
||||
entity.Property(e => e.id).HasColumnType("bigint(20)");
|
||||
entity.Property(e => e.fecha).HasColumnType("date");
|
||||
entity.Property(e => e.idrecibo).HasColumnType("bigint(20)");
|
||||
entity.Property(e => e.monto).HasPrecision(12);
|
||||
entity.Property(e => e.pagado).HasColumnType("bit(1)");
|
||||
entity.Property(e => e.Id)
|
||||
.HasColumnType("bigint(20)")
|
||||
.HasColumnName("id");
|
||||
entity.Property(e => e.Fecha)
|
||||
.HasColumnType("date")
|
||||
.HasColumnName("fecha");
|
||||
entity.Property(e => e.Idrecibo)
|
||||
.HasColumnType("bigint(20)")
|
||||
.HasColumnName("idrecibo");
|
||||
entity.Property(e => e.Monto)
|
||||
.HasPrecision(12)
|
||||
.HasColumnName("monto");
|
||||
entity.Property(e => e.Pagado)
|
||||
.HasColumnType("bit(1)")
|
||||
.HasColumnName("pagado");
|
||||
|
||||
entity.HasOne(d => d.idreciboNavigation).WithMany(p => p.Canons)
|
||||
.HasForeignKey(d => d.idrecibo)
|
||||
entity.HasOne(d => d.IdreciboNavigation).WithMany(p => p.Canons)
|
||||
.HasForeignKey(d => d.Idrecibo)
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.HasConstraintName("FK_CAN_REC");
|
||||
});
|
||||
|
||||
modelBuilder.Entity<Cliente>(entity =>
|
||||
{
|
||||
entity.HasKey(e => e.dni).HasName("PRIMARY");
|
||||
entity.HasKey(e => e.Dni).HasName("PRIMARY");
|
||||
|
||||
entity.HasIndex(e => e.idusuario, "FK_PROP_USU");
|
||||
entity.Property(e => e.Dni)
|
||||
.HasColumnType("bigint(20)")
|
||||
.HasColumnName("dni");
|
||||
entity.Property(e => e.Apellido)
|
||||
.HasMaxLength(20)
|
||||
.HasColumnName("apellido");
|
||||
entity.Property(e => e.Celular)
|
||||
.HasMaxLength(40)
|
||||
.HasColumnName("celular");
|
||||
entity.Property(e => e.Contraseña)
|
||||
.HasMaxLength(128)
|
||||
.HasColumnName("contraseña");
|
||||
entity.Property(e => e.Domicilio)
|
||||
.HasMaxLength(40)
|
||||
.HasColumnName("domicilio");
|
||||
entity.Property(e => e.Email)
|
||||
.HasMaxLength(50)
|
||||
.HasColumnName("email");
|
||||
entity.Property(e => e.Nombre)
|
||||
.HasMaxLength(20)
|
||||
.HasColumnName("nombre");
|
||||
entity.Property(e => e.Token)
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("token");
|
||||
|
||||
entity.Property(e => e.dni).HasColumnType("bigint(20)");
|
||||
entity.Property(e => e.apellido).HasMaxLength(20);
|
||||
entity.Property(e => e.celular).HasMaxLength(40);
|
||||
entity.Property(e => e.contraseña).HasMaxLength(128);
|
||||
entity.Property(e => e.domicilio).HasMaxLength(40);
|
||||
entity.Property(e => e.email).HasMaxLength(50);
|
||||
entity.Property(e => e.idusuario).HasColumnType("int(11)");
|
||||
entity.Property(e => e.nombre).HasMaxLength(20);
|
||||
entity.Property(e => e.token).HasColumnType("text");
|
||||
|
||||
entity.HasMany(d => d.idgrupos).WithMany(p => p.idclientes)
|
||||
entity.HasMany(d => d.Idgrupos).WithMany(p => p.Idclientes)
|
||||
.UsingEntity<Dictionary<string, object>>(
|
||||
"cliente_Grupo",
|
||||
"ClienteGrupo",
|
||||
r => r.HasOne<Grupo>().WithMany()
|
||||
.HasForeignKey("idgrupo")
|
||||
.HasForeignKey("Idgrupo")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.HasConstraintName("FK_GRU"),
|
||||
l => l.HasOne<Cliente>().WithMany()
|
||||
.HasForeignKey("idcliente")
|
||||
.HasForeignKey("Idcliente")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.HasConstraintName("FK_CLII"),
|
||||
j =>
|
||||
{
|
||||
j.HasKey("idcliente", "idgrupo").HasName("PRIMARY");
|
||||
j.HasKey("Idcliente", "Idgrupo").HasName("PRIMARY");
|
||||
j.ToTable("cliente_Grupos");
|
||||
j.HasIndex(new[] { "idgrupo" }, "FK_GRU");
|
||||
j.IndexerProperty<long>("idcliente").HasColumnType("bigint(20)");
|
||||
j.IndexerProperty<int>("idgrupo").HasColumnType("int(11)");
|
||||
j.HasIndex(new[] { "Idgrupo" }, "FK_GRU");
|
||||
j.IndexerProperty<long>("Idcliente")
|
||||
.HasColumnType("bigint(20)")
|
||||
.HasColumnName("idcliente");
|
||||
j.IndexerProperty<int>("Idgrupo")
|
||||
.HasColumnType("int(11)")
|
||||
.HasColumnName("idgrupo");
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity<Contrato>(entity =>
|
||||
{
|
||||
entity.HasKey(e => e.id).HasName("PRIMARY");
|
||||
entity.HasKey(e => e.Id).HasName("PRIMARY");
|
||||
|
||||
entity.HasIndex(e => e.dniinquilino, "FK_CON_INQ");
|
||||
entity.HasIndex(e => e.Dniinquilino, "FK_CON_INQ");
|
||||
|
||||
entity.HasIndex(e => e.idpropiedad, "FK_CON_PROP");
|
||||
entity.HasIndex(e => e.Idpropiedad, "FK_CON_PROP");
|
||||
|
||||
entity.HasIndex(e => e.dnipropietario, "FK_CON_PROPI");
|
||||
entity.HasIndex(e => e.Dnipropietario, "FK_CON_PROPI");
|
||||
|
||||
entity.HasIndex(e => e.idventa, "FK_CON_VEN");
|
||||
entity.HasIndex(e => e.Idventa, "FK_CON_VEN");
|
||||
|
||||
entity.Property(e => e.id).HasColumnType("bigint(20)");
|
||||
entity.Property(e => e.cantgarantemin).HasColumnType("int(11)");
|
||||
entity.Property(e => e.dniinquilino).HasColumnType("bigint(20)");
|
||||
entity.Property(e => e.dnipropietario).HasColumnType("bigint(20)");
|
||||
entity.Property(e => e.fechainicio).HasColumnType("date");
|
||||
entity.Property(e => e.idpropiedad).HasColumnType("int(11)");
|
||||
entity.Property(e => e.idventa).HasColumnType("bigint(20)");
|
||||
entity.Property(e => e.indiceactualizacion).HasPrecision(8);
|
||||
entity.Property(e => e.monto).HasPrecision(12);
|
||||
entity.Property(e => e.tieneopcionventa).HasColumnType("bit(1)");
|
||||
entity.Property(e => e.Id)
|
||||
.HasColumnType("bigint(20)")
|
||||
.HasColumnName("id");
|
||||
entity.Property(e => e.Cantgarantemin)
|
||||
.HasColumnType("int(11)")
|
||||
.HasColumnName("cantgarantemin");
|
||||
entity.Property(e => e.Dniinquilino)
|
||||
.HasColumnType("bigint(20)")
|
||||
.HasColumnName("dniinquilino");
|
||||
entity.Property(e => e.Dnipropietario)
|
||||
.HasColumnType("bigint(20)")
|
||||
.HasColumnName("dnipropietario");
|
||||
entity.Property(e => e.Fechainicio)
|
||||
.HasColumnType("date")
|
||||
.HasColumnName("fechainicio");
|
||||
entity.Property(e => e.Idpropiedad)
|
||||
.HasColumnType("int(11)")
|
||||
.HasColumnName("idpropiedad");
|
||||
entity.Property(e => e.Idventa)
|
||||
.HasColumnType("bigint(20)")
|
||||
.HasColumnName("idventa");
|
||||
entity.Property(e => e.Indiceactualizacion)
|
||||
.HasPrecision(8)
|
||||
.HasColumnName("indiceactualizacion");
|
||||
entity.Property(e => e.Monto)
|
||||
.HasPrecision(12)
|
||||
.HasColumnName("monto");
|
||||
entity.Property(e => e.Tieneopcionventa)
|
||||
.HasColumnType("bit(1)")
|
||||
.HasColumnName("tieneopcionventa");
|
||||
|
||||
entity.HasOne(d => d.dniinquilinoNavigation).WithMany(p => p.ContratodniinquilinoNavigations)
|
||||
.HasForeignKey(d => d.dniinquilino)
|
||||
entity.HasOne(d => d.DniinquilinoNavigation).WithMany(p => p.ContratoDniinquilinoNavigations)
|
||||
.HasForeignKey(d => d.Dniinquilino)
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.HasConstraintName("FK_CON_INQ");
|
||||
|
||||
entity.HasOne(d => d.dnipropietarioNavigation).WithMany(p => p.ContratodnipropietarioNavigations)
|
||||
.HasForeignKey(d => d.dnipropietario)
|
||||
entity.HasOne(d => d.DnipropietarioNavigation).WithMany(p => p.ContratoDnipropietarioNavigations)
|
||||
.HasForeignKey(d => d.Dnipropietario)
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.HasConstraintName("FK_CON_PROPI");
|
||||
|
||||
entity.HasOne(d => d.idpropiedadNavigation).WithMany(p => p.Contratos)
|
||||
.HasForeignKey(d => d.idpropiedad)
|
||||
entity.HasOne(d => d.IdpropiedadNavigation).WithMany(p => p.Contratos)
|
||||
.HasForeignKey(d => d.Idpropiedad)
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.HasConstraintName("FK_CON_PROP");
|
||||
|
||||
entity.HasOne(d => d.idventaNavigation).WithMany(p => p.Contratos)
|
||||
.HasForeignKey(d => d.idventa)
|
||||
entity.HasOne(d => d.IdventaNavigation).WithMany(p => p.Contratos)
|
||||
.HasForeignKey(d => d.Idventa)
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.HasConstraintName("FK_CON_VEN");
|
||||
|
||||
entity.HasMany(d => d.idcanons).WithMany(p => p.idcontratos)
|
||||
entity.HasMany(d => d.Idcanons).WithMany(p => p.Idcontratos)
|
||||
.UsingEntity<Dictionary<string, object>>(
|
||||
"contrato_canon",
|
||||
"ContratoCanon",
|
||||
r => r.HasOne<Canon>().WithMany()
|
||||
.HasForeignKey("idcanon")
|
||||
.HasForeignKey("Idcanon")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.HasConstraintName("FK_CONCAN_CAN"),
|
||||
l => l.HasOne<Contrato>().WithMany()
|
||||
.HasForeignKey("idcontrato")
|
||||
.HasForeignKey("Idcontrato")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.HasConstraintName("FK_CONCAN_CON"),
|
||||
j =>
|
||||
{
|
||||
j.HasKey("idcontrato", "idcanon").HasName("PRIMARY");
|
||||
j.HasKey("Idcontrato", "Idcanon").HasName("PRIMARY");
|
||||
j.ToTable("contrato_canon");
|
||||
j.HasIndex(new[] { "idcanon" }, "FK_CONCAN_CAN");
|
||||
j.IndexerProperty<long>("idcontrato").HasColumnType("bigint(20)");
|
||||
j.IndexerProperty<long>("idcanon").HasColumnType("bigint(20)");
|
||||
j.HasIndex(new[] { "Idcanon" }, "FK_CONCAN_CAN");
|
||||
j.IndexerProperty<long>("Idcontrato")
|
||||
.HasColumnType("bigint(20)")
|
||||
.HasColumnName("idcontrato");
|
||||
j.IndexerProperty<long>("Idcanon")
|
||||
.HasColumnType("bigint(20)")
|
||||
.HasColumnName("idcanon");
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity<Defecto>(entity =>
|
||||
{
|
||||
entity.HasKey(e => e.id).HasName("PRIMARY");
|
||||
entity.HasKey(e => e.Id).HasName("PRIMARY");
|
||||
|
||||
entity.ToTable("Defecto");
|
||||
|
||||
entity.HasIndex(e => e.idcontrato, "FK_DEF_CON");
|
||||
entity.HasIndex(e => e.Idcontrato, "FK_DEF_CON");
|
||||
|
||||
entity.HasIndex(e => e.idestado, "FK_DEF_EST");
|
||||
entity.HasIndex(e => e.Idestado, "FK_DEF_EST");
|
||||
|
||||
entity.Property(e => e.id).HasColumnType("bigint(20)");
|
||||
entity.Property(e => e.costo).HasPrecision(12);
|
||||
entity.Property(e => e.descripcion).HasMaxLength(40);
|
||||
entity.Property(e => e.idcontrato).HasColumnType("bigint(20)");
|
||||
entity.Property(e => e.idestado).HasColumnType("int(11)");
|
||||
entity.Property(e => e.pagainquilino).HasColumnType("bit(1)");
|
||||
entity.Property(e => e.Id)
|
||||
.HasColumnType("bigint(20)")
|
||||
.HasColumnName("id");
|
||||
entity.Property(e => e.Costo)
|
||||
.HasPrecision(12)
|
||||
.HasColumnName("costo");
|
||||
entity.Property(e => e.Descripcion)
|
||||
.HasMaxLength(40)
|
||||
.HasColumnName("descripcion");
|
||||
entity.Property(e => e.Idcontrato)
|
||||
.HasColumnType("bigint(20)")
|
||||
.HasColumnName("idcontrato");
|
||||
entity.Property(e => e.Idestado)
|
||||
.HasColumnType("int(11)")
|
||||
.HasColumnName("idestado");
|
||||
entity.Property(e => e.Pagainquilino)
|
||||
.HasColumnType("bit(1)")
|
||||
.HasColumnName("pagainquilino");
|
||||
|
||||
entity.HasOne(d => d.idcontratoNavigation).WithMany(p => p.Defectos)
|
||||
.HasForeignKey(d => d.idcontrato)
|
||||
entity.HasOne(d => d.IdcontratoNavigation).WithMany(p => p.Defectos)
|
||||
.HasForeignKey(d => d.Idcontrato)
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.HasConstraintName("FK_DEF_CON");
|
||||
|
||||
entity.HasOne(d => d.idestadoNavigation).WithMany(p => p.Defectos)
|
||||
.HasForeignKey(d => d.idestado)
|
||||
entity.HasOne(d => d.IdestadoNavigation).WithMany(p => p.Defectos)
|
||||
.HasForeignKey(d => d.Idestado)
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.HasConstraintName("FK_DEF_EST");
|
||||
});
|
||||
|
||||
modelBuilder.Entity<Estadodefecto>(entity =>
|
||||
{
|
||||
entity.HasKey(e => e.id).HasName("PRIMARY");
|
||||
entity.HasKey(e => e.Id).HasName("PRIMARY");
|
||||
|
||||
entity.ToTable("Estadodefecto");
|
||||
|
||||
entity.Property(e => e.id).HasColumnType("int(11)");
|
||||
entity.Property(e => e.descipcion).HasMaxLength(20);
|
||||
entity.Property(e => e.Id)
|
||||
.HasColumnType("int(11)")
|
||||
.HasColumnName("id");
|
||||
entity.Property(e => e.Descipcion)
|
||||
.HasMaxLength(20)
|
||||
.HasColumnName("descipcion");
|
||||
});
|
||||
|
||||
modelBuilder.Entity<Estadoventum>(entity =>
|
||||
modelBuilder.Entity<Estadoventa>(entity =>
|
||||
{
|
||||
entity.HasKey(e => e.id).HasName("PRIMARY");
|
||||
entity.HasKey(e => e.Id).HasName("PRIMARY");
|
||||
|
||||
entity.Property(e => e.id).HasColumnType("int(11)");
|
||||
entity.Property(e => e.descripcion).HasMaxLength(15);
|
||||
entity.Property(e => e.Id)
|
||||
.HasColumnType("int(11)")
|
||||
.HasColumnName("id");
|
||||
entity.Property(e => e.Descripcion)
|
||||
.HasMaxLength(15)
|
||||
.HasColumnName("descripcion");
|
||||
});
|
||||
|
||||
modelBuilder.Entity<Garante>(entity =>
|
||||
{
|
||||
entity.HasKey(e => e.dni).HasName("PRIMARY");
|
||||
entity.HasKey(e => e.Dni).HasName("PRIMARY");
|
||||
|
||||
entity.Property(e => e.dni).HasColumnType("bigint(20)");
|
||||
entity.Property(e => e.apellido).HasMaxLength(20);
|
||||
entity.Property(e => e.celular).HasMaxLength(40);
|
||||
entity.Property(e => e.domicilio).HasMaxLength(40);
|
||||
entity.Property(e => e.domiciliolaboral).HasMaxLength(40);
|
||||
entity.Property(e => e.nombre).HasMaxLength(20);
|
||||
entity.Property(e => e.Dni)
|
||||
.HasColumnType("bigint(20)")
|
||||
.HasColumnName("dni");
|
||||
entity.Property(e => e.Apellido)
|
||||
.HasMaxLength(20)
|
||||
.HasColumnName("apellido");
|
||||
entity.Property(e => e.Celular)
|
||||
.HasMaxLength(40)
|
||||
.HasColumnName("celular");
|
||||
entity.Property(e => e.Domicilio)
|
||||
.HasMaxLength(40)
|
||||
.HasColumnName("domicilio");
|
||||
entity.Property(e => e.Domiciliolaboral)
|
||||
.HasMaxLength(40)
|
||||
.HasColumnName("domiciliolaboral");
|
||||
entity.Property(e => e.Nombre)
|
||||
.HasMaxLength(20)
|
||||
.HasColumnName("nombre");
|
||||
|
||||
entity.HasMany(d => d.idcontratos).WithMany(p => p.dnigarantes)
|
||||
entity.HasMany(d => d.Idcontratos).WithMany(p => p.Dnigarantes)
|
||||
.UsingEntity<Dictionary<string, object>>(
|
||||
"contrato_garante",
|
||||
"ContratoGarante",
|
||||
r => r.HasOne<Contrato>().WithMany()
|
||||
.HasForeignKey("idcontrato")
|
||||
.HasForeignKey("Idcontrato")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.HasConstraintName("FK_CONGAR_CON"),
|
||||
l => l.HasOne<Garante>().WithMany()
|
||||
.HasForeignKey("dnigarante")
|
||||
.HasForeignKey("Dnigarante")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.HasConstraintName("FK_CONGAR_GAR"),
|
||||
j =>
|
||||
{
|
||||
j.HasKey("dnigarante", "idcontrato").HasName("PRIMARY");
|
||||
j.HasKey("Dnigarante", "Idcontrato").HasName("PRIMARY");
|
||||
j.ToTable("contrato_garantes");
|
||||
j.HasIndex(new[] { "idcontrato" }, "FK_CONGAR_CON");
|
||||
j.IndexerProperty<long>("dnigarante").HasColumnType("bigint(20)");
|
||||
j.IndexerProperty<long>("idcontrato").HasColumnType("bigint(20)");
|
||||
j.HasIndex(new[] { "Idcontrato" }, "FK_CONGAR_CON");
|
||||
j.IndexerProperty<long>("Dnigarante")
|
||||
.HasColumnType("bigint(20)")
|
||||
.HasColumnName("dnigarante");
|
||||
j.IndexerProperty<long>("Idcontrato")
|
||||
.HasColumnType("bigint(20)")
|
||||
.HasColumnName("idcontrato");
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity<Grupo>(entity =>
|
||||
{
|
||||
entity.HasKey(e => e.id).HasName("PRIMARY");
|
||||
entity.HasKey(e => e.Id).HasName("PRIMARY");
|
||||
|
||||
entity.Property(e => e.id).HasColumnType("int(11)");
|
||||
entity.Property(e => e.nombre).HasMaxLength(12);
|
||||
entity.Property(e => e.Id)
|
||||
.HasColumnType("int(11)")
|
||||
.HasColumnName("id");
|
||||
entity.Property(e => e.Nombre)
|
||||
.HasMaxLength(12)
|
||||
.HasColumnName("nombre");
|
||||
});
|
||||
|
||||
modelBuilder.Entity<Permiso>(entity =>
|
||||
{
|
||||
entity.HasKey(e => e.id).HasName("PRIMARY");
|
||||
entity.HasKey(e => e.Id).HasName("PRIMARY");
|
||||
|
||||
entity.Property(e => e.id).HasColumnType("int(11)");
|
||||
entity.Property(e => e.descripcion).HasMaxLength(15);
|
||||
entity.Property(e => e.Id)
|
||||
.HasColumnType("int(11)")
|
||||
.HasColumnName("id");
|
||||
entity.Property(e => e.Descripcion)
|
||||
.HasMaxLength(15)
|
||||
.HasColumnName("descripcion");
|
||||
|
||||
entity.HasMany(d => d.idgrupos).WithMany(p => p.idpermisos)
|
||||
entity.HasMany(d => d.Idgrupos).WithMany(p => p.Idpermisos)
|
||||
.UsingEntity<Dictionary<string, object>>(
|
||||
"grupo_Permiso",
|
||||
"GrupoPermiso",
|
||||
r => r.HasOne<Grupo>().WithMany()
|
||||
.HasForeignKey("idgrupo")
|
||||
.HasForeignKey("Idgrupo")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.HasConstraintName("FK_GRU2"),
|
||||
l => l.HasOne<Permiso>().WithMany()
|
||||
.HasForeignKey("idpermiso")
|
||||
.HasForeignKey("Idpermiso")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.HasConstraintName("FK_PER2"),
|
||||
j =>
|
||||
{
|
||||
j.HasKey("idpermiso", "idgrupo").HasName("PRIMARY");
|
||||
j.HasKey("Idpermiso", "Idgrupo").HasName("PRIMARY");
|
||||
j.ToTable("grupo_Permisos");
|
||||
j.HasIndex(new[] { "idgrupo" }, "FK_GRU2");
|
||||
j.IndexerProperty<int>("idpermiso").HasColumnType("int(11)");
|
||||
j.IndexerProperty<int>("idgrupo").HasColumnType("int(11)");
|
||||
j.HasIndex(new[] { "Idgrupo" }, "FK_GRU2");
|
||||
j.IndexerProperty<int>("Idpermiso")
|
||||
.HasColumnType("int(11)")
|
||||
.HasColumnName("idpermiso");
|
||||
j.IndexerProperty<int>("Idgrupo")
|
||||
.HasColumnType("int(11)")
|
||||
.HasColumnName("idgrupo");
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity<Propiedade>(entity =>
|
||||
{
|
||||
entity.HasKey(e => e.id).HasName("PRIMARY");
|
||||
entity.HasKey(e => e.Id).HasName("PRIMARY");
|
||||
|
||||
entity.HasIndex(e => e.dnipropietario, "FK_PROP_PROPI");
|
||||
entity.HasIndex(e => e.Dnipropietario, "FK_PROP_PROPI");
|
||||
|
||||
entity.Property(e => e.id).HasColumnType("int(11)");
|
||||
entity.Property(e => e.canthabitaciones).HasColumnType("int(11)");
|
||||
entity.Property(e => e.dnipropietario).HasColumnType("bigint(20)");
|
||||
entity.Property(e => e.letra)
|
||||
entity.HasIndex(e => e.Idtipropiedad, "FK_PROP_TIPO");
|
||||
|
||||
entity.Property(e => e.Id)
|
||||
.HasColumnType("int(11)")
|
||||
.HasColumnName("id");
|
||||
entity.Property(e => e.Canthabitaciones)
|
||||
.HasColumnType("int(11)")
|
||||
.HasColumnName("canthabitaciones");
|
||||
entity.Property(e => e.Dnipropietario)
|
||||
.HasColumnType("bigint(20)")
|
||||
.HasColumnName("dnipropietario");
|
||||
entity.Property(e => e.Idtipropiedad)
|
||||
.HasColumnType("int(11)")
|
||||
.HasColumnName("idtipropiedad");
|
||||
entity.Property(e => e.Letra)
|
||||
.HasMaxLength(1)
|
||||
.IsFixedLength();
|
||||
entity.Property(e => e.piso).HasColumnType("int(11)");
|
||||
entity.Property(e => e.ubicacion).HasMaxLength(40);
|
||||
.IsFixedLength()
|
||||
.HasColumnName("letra");
|
||||
entity.Property(e => e.Piso)
|
||||
.HasColumnType("int(11)")
|
||||
.HasColumnName("piso");
|
||||
entity.Property(e => e.Ubicacion)
|
||||
.HasMaxLength(40)
|
||||
.HasColumnName("ubicacion");
|
||||
|
||||
entity.HasOne(d => d.dnipropietarioNavigation).WithMany(p => p.Propiedades)
|
||||
.HasForeignKey(d => d.dnipropietario)
|
||||
entity.HasOne(d => d.DnipropietarioNavigation).WithMany(p => p.Propiedades)
|
||||
.HasForeignKey(d => d.Dnipropietario)
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.HasConstraintName("FK_PROP_PROPI");
|
||||
|
||||
entity.HasOne(d => d.IdtipropiedadNavigation).WithMany(p => p.Propiedades)
|
||||
.HasForeignKey(d => d.Idtipropiedad)
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.HasConstraintName("FK_PROP_TIPO");
|
||||
});
|
||||
|
||||
modelBuilder.Entity<Recibo>(entity =>
|
||||
{
|
||||
entity.HasKey(e => e.id).HasName("PRIMARY");
|
||||
entity.HasKey(e => e.Id).HasName("PRIMARY");
|
||||
|
||||
entity.ToTable("Recibo");
|
||||
|
||||
entity.Property(e => e.id).HasColumnType("bigint(20)");
|
||||
entity.Property(e => e.fecha).HasColumnType("date");
|
||||
entity.Property(e => e.monto).HasPrecision(12);
|
||||
entity.Property(e => e.Id)
|
||||
.HasColumnType("bigint(20)")
|
||||
.HasColumnName("id");
|
||||
entity.Property(e => e.Fecha)
|
||||
.HasColumnType("date")
|
||||
.HasColumnName("fecha");
|
||||
entity.Property(e => e.Monto)
|
||||
.HasPrecision(12)
|
||||
.HasColumnName("monto");
|
||||
});
|
||||
|
||||
modelBuilder.Entity<TipoPropiedad>(entity =>
|
||||
{
|
||||
entity.HasKey(e => e.Id).HasName("PRIMARY");
|
||||
|
||||
entity.ToTable("TipoPropiedad");
|
||||
|
||||
entity.Property(e => e.Id)
|
||||
.HasColumnType("int(11)")
|
||||
.HasColumnName("id");
|
||||
entity.Property(e => e.Descripcion)
|
||||
.HasMaxLength(20)
|
||||
.HasColumnName("descripcion");
|
||||
});
|
||||
|
||||
modelBuilder.Entity<Venta>(entity =>
|
||||
{
|
||||
entity.HasKey(e => e.id).HasName("PRIMARY");
|
||||
entity.HasKey(e => e.Id).HasName("PRIMARY");
|
||||
|
||||
entity.HasIndex(e => e.idestado, "FK_VEN_EST");
|
||||
entity.HasIndex(e => e.Idestado, "FK_VEN_EST");
|
||||
|
||||
entity.HasIndex(e => e.idprop_old, "FK_VEN_PROL");
|
||||
entity.HasIndex(e => e.IdVendedor, "FK_VEN_PROL");
|
||||
|
||||
entity.HasIndex(e => e.idprop_new, "FK_VEN_PRON");
|
||||
entity.HasIndex(e => e.IdComprador, "FK_VEN_PRON");
|
||||
|
||||
entity.HasIndex(e => e.idpropiedad, "FK_VEN_PROP");
|
||||
entity.HasIndex(e => e.Idpropiedad, "FK_VEN_PROP");
|
||||
|
||||
entity.Property(e => e.id).HasColumnType("bigint(20)");
|
||||
entity.Property(e => e.fechafinal).HasColumnType("date");
|
||||
entity.Property(e => e.fechainicio).HasColumnType("date");
|
||||
entity.Property(e => e.idestado).HasColumnType("int(11)");
|
||||
entity.Property(e => e.idprop_new).HasColumnType("bigint(20)");
|
||||
entity.Property(e => e.idprop_old).HasColumnType("bigint(20)");
|
||||
entity.Property(e => e.idpropiedad).HasColumnType("int(11)");
|
||||
entity.Property(e => e.monto).HasPrecision(12);
|
||||
entity.Property(e => e.Id)
|
||||
.HasColumnType("bigint(20)")
|
||||
.HasColumnName("id");
|
||||
entity.Property(e => e.Fechafinal)
|
||||
.HasColumnType("date")
|
||||
.HasColumnName("fechafinal");
|
||||
entity.Property(e => e.Fechainicio)
|
||||
.HasColumnType("date")
|
||||
.HasColumnName("fechainicio");
|
||||
entity.Property(e => e.IdComprador)
|
||||
.HasColumnType("bigint(20)")
|
||||
.HasColumnName("idComprador");
|
||||
entity.Property(e => e.IdVendedor)
|
||||
.HasColumnType("bigint(20)")
|
||||
.HasColumnName("idVendedor");
|
||||
entity.Property(e => e.Idestado)
|
||||
.HasColumnType("int(11)")
|
||||
.HasColumnName("idestado");
|
||||
entity.Property(e => e.Idpropiedad)
|
||||
.HasColumnType("int(11)")
|
||||
.HasColumnName("idpropiedad");
|
||||
entity.Property(e => e.Monto)
|
||||
.HasPrecision(12)
|
||||
.HasColumnName("monto");
|
||||
|
||||
entity.HasOne(d => d.idestadoNavigation).WithMany(p => p.Venta)
|
||||
.HasForeignKey(d => d.idestado)
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.HasConstraintName("FK_VEN_EST");
|
||||
|
||||
entity.HasOne(d => d.idprop_newNavigation).WithMany(p => p.Ventaidprop_newNavigations)
|
||||
.HasForeignKey(d => d.idprop_new)
|
||||
entity.HasOne(d => d.IdCompradorNavigation).WithMany(p => p.VentaIdCompradorNavigations)
|
||||
.HasForeignKey(d => d.IdComprador)
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.HasConstraintName("FK_VEN_PRON");
|
||||
|
||||
entity.HasOne(d => d.idprop_oldNavigation).WithMany(p => p.Ventaidprop_oldNavigations)
|
||||
.HasForeignKey(d => d.idprop_old)
|
||||
entity.HasOne(d => d.IdVendedorNavigation).WithMany(p => p.VentaIdVendedorNavigations)
|
||||
.HasForeignKey(d => d.IdVendedor)
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.HasConstraintName("FK_VEN_PROL");
|
||||
|
||||
entity.HasOne(d => d.idpropiedadNavigation).WithMany(p => p.Venta)
|
||||
.HasForeignKey(d => d.idpropiedad)
|
||||
entity.HasOne(d => d.IdestadoNavigation).WithMany(p => p.Venta)
|
||||
.HasForeignKey(d => d.Idestado)
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.HasConstraintName("FK_VEN_EST");
|
||||
|
||||
entity.HasOne(d => d.IdpropiedadNavigation).WithMany(p => p.Venta)
|
||||
.HasForeignKey(d => d.Idpropiedad)
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.HasConstraintName("FK_VEN_PROP");
|
||||
});
|
||||
|
||||
@@ -5,17 +5,17 @@ namespace Entidades;
|
||||
|
||||
public partial class Canon
|
||||
{
|
||||
public long id { get; set; }
|
||||
public long Id { get; set; }
|
||||
|
||||
public DateTime fecha { get; set; }
|
||||
public DateTime Fecha { get; set; }
|
||||
|
||||
public decimal monto { get; set; }
|
||||
public decimal Monto { get; set; }
|
||||
|
||||
public long? idrecibo { get; set; }
|
||||
public long? Idrecibo { get; set; }
|
||||
|
||||
public ulong pagado { get; set; }
|
||||
public ulong Pagado { get; set; }
|
||||
|
||||
public virtual Recibo? idreciboNavigation { get; set; }
|
||||
public virtual Recibo? IdreciboNavigation { get; set; }
|
||||
|
||||
public virtual ICollection<Contrato> idcontratos { get; set; } = new List<Contrato>();
|
||||
public virtual ICollection<Contrato> Idcontratos { get; set; } = new List<Contrato>();
|
||||
}
|
||||
|
||||
@@ -5,33 +5,31 @@ namespace Entidades;
|
||||
|
||||
public partial class Cliente
|
||||
{
|
||||
public long dni { get; set; }
|
||||
public long Dni { get; set; }
|
||||
|
||||
public string nombre { get; set; } = null!;
|
||||
public string Nombre { get; set; } = null!;
|
||||
|
||||
public string apellido { get; set; } = null!;
|
||||
public string Apellido { get; set; } = null!;
|
||||
|
||||
public string domicilio { get; set; } = null!;
|
||||
public string Domicilio { get; set; } = null!;
|
||||
|
||||
public string celular { get; set; } = null!;
|
||||
public string Celular { get; set; } = null!;
|
||||
|
||||
public int? idusuario { get; set; }
|
||||
public string Email { get; set; } = null!;
|
||||
|
||||
public string email { get; set; } = null!;
|
||||
public byte[] Contraseña { get; set; } = null!;
|
||||
|
||||
public byte[] contraseña { get; set; } = null!;
|
||||
public string? Token { get; set; }
|
||||
|
||||
public string? token { get; set; }
|
||||
public virtual ICollection<Contrato> ContratoDniinquilinoNavigations { get; set; } = new List<Contrato>();
|
||||
|
||||
public virtual ICollection<Contrato> ContratodniinquilinoNavigations { get; set; } = new List<Contrato>();
|
||||
|
||||
public virtual ICollection<Contrato> ContratodnipropietarioNavigations { get; set; } = new List<Contrato>();
|
||||
public virtual ICollection<Contrato> ContratoDnipropietarioNavigations { get; set; } = new List<Contrato>();
|
||||
|
||||
public virtual ICollection<Propiedade> Propiedades { get; set; } = new List<Propiedade>();
|
||||
|
||||
public virtual ICollection<Venta> Ventaidprop_newNavigations { get; set; } = new List<Venta>();
|
||||
public virtual ICollection<Venta> VentaIdCompradorNavigations { get; set; } = new List<Venta>();
|
||||
|
||||
public virtual ICollection<Venta> Ventaidprop_oldNavigations { get; set; } = new List<Venta>();
|
||||
public virtual ICollection<Venta> VentaIdVendedorNavigations { get; set; } = new List<Venta>();
|
||||
|
||||
public virtual ICollection<Grupo> idgrupos { get; set; } = new List<Grupo>();
|
||||
public virtual ICollection<Grupo> Idgrupos { get; set; } = new List<Grupo>();
|
||||
}
|
||||
|
||||
@@ -5,37 +5,37 @@ namespace Entidades;
|
||||
|
||||
public partial class Contrato
|
||||
{
|
||||
public long id { get; set; }
|
||||
public long Id { get; set; }
|
||||
|
||||
public DateTime fechainicio { get; set; }
|
||||
public DateTime Fechainicio { get; set; }
|
||||
|
||||
public decimal indiceactualizacion { get; set; }
|
||||
public decimal Indiceactualizacion { get; set; }
|
||||
|
||||
public decimal monto { get; set; }
|
||||
public decimal Monto { get; set; }
|
||||
|
||||
public long? dniinquilino { get; set; }
|
||||
public long? Dniinquilino { get; set; }
|
||||
|
||||
public long? dnipropietario { get; set; }
|
||||
public long? Dnipropietario { get; set; }
|
||||
|
||||
public int? idpropiedad { get; set; }
|
||||
public int? Idpropiedad { get; set; }
|
||||
|
||||
public int cantgarantemin { get; set; }
|
||||
public int Cantgarantemin { get; set; }
|
||||
|
||||
public ulong tieneopcionventa { get; set; }
|
||||
public ulong Tieneopcionventa { get; set; }
|
||||
|
||||
public long? idventa { get; set; }
|
||||
public long? Idventa { get; set; }
|
||||
|
||||
public virtual ICollection<Defecto> Defectos { get; set; } = new List<Defecto>();
|
||||
|
||||
public virtual Cliente? dniinquilinoNavigation { get; set; }
|
||||
public virtual Cliente? DniinquilinoNavigation { get; set; }
|
||||
|
||||
public virtual Cliente? dnipropietarioNavigation { get; set; }
|
||||
public virtual Cliente? DnipropietarioNavigation { get; set; }
|
||||
|
||||
public virtual Propiedade? idpropiedadNavigation { get; set; }
|
||||
public virtual Propiedade? IdpropiedadNavigation { get; set; }
|
||||
|
||||
public virtual Venta? idventaNavigation { get; set; }
|
||||
public virtual Venta? IdventaNavigation { get; set; }
|
||||
|
||||
public virtual ICollection<Garante> dnigarantes { get; set; } = new List<Garante>();
|
||||
public virtual ICollection<Garante> Dnigarantes { get; set; } = new List<Garante>();
|
||||
|
||||
public virtual ICollection<Canon> idcanons { get; set; } = new List<Canon>();
|
||||
public virtual ICollection<Canon> Idcanons { get; set; } = new List<Canon>();
|
||||
}
|
||||
|
||||
@@ -5,19 +5,19 @@ namespace Entidades;
|
||||
|
||||
public partial class Defecto
|
||||
{
|
||||
public long id { get; set; }
|
||||
public long Id { get; set; }
|
||||
|
||||
public string descripcion { get; set; } = null!;
|
||||
public string Descripcion { get; set; } = null!;
|
||||
|
||||
public decimal costo { get; set; }
|
||||
public decimal Costo { get; set; }
|
||||
|
||||
public int? idestado { get; set; }
|
||||
public int? Idestado { get; set; }
|
||||
|
||||
public long? idcontrato { get; set; }
|
||||
public long? Idcontrato { get; set; }
|
||||
|
||||
public ulong pagainquilino { get; set; }
|
||||
public ulong Pagainquilino { get; set; }
|
||||
|
||||
public virtual Contrato? idcontratoNavigation { get; set; }
|
||||
public virtual Contrato? IdcontratoNavigation { get; set; }
|
||||
|
||||
public virtual Estadodefecto? idestadoNavigation { get; set; }
|
||||
public virtual Estadodefecto? IdestadoNavigation { get; set; }
|
||||
}
|
||||
|
||||
@@ -5,9 +5,9 @@ namespace Entidades;
|
||||
|
||||
public partial class Estadodefecto
|
||||
{
|
||||
public int id { get; set; }
|
||||
public int Id { get; set; }
|
||||
|
||||
public string descipcion { get; set; } = null!;
|
||||
public string Descipcion { get; set; } = null!;
|
||||
|
||||
public virtual ICollection<Defecto> Defectos { get; set; } = new List<Defecto>();
|
||||
}
|
||||
|
||||
@@ -3,11 +3,11 @@ using System.Collections.Generic;
|
||||
|
||||
namespace Entidades;
|
||||
|
||||
public partial class Estadoventum
|
||||
public partial class Estadoventa
|
||||
{
|
||||
public int id { get; set; }
|
||||
public int Id { get; set; }
|
||||
|
||||
public string? descripcion { get; set; }
|
||||
public string? Descripcion { get; set; }
|
||||
|
||||
public virtual ICollection<Venta> Venta { get; set; } = new List<Venta>();
|
||||
}
|
||||
@@ -5,17 +5,17 @@ namespace Entidades;
|
||||
|
||||
public partial class Garante
|
||||
{
|
||||
public long dni { get; set; }
|
||||
public long Dni { get; set; }
|
||||
|
||||
public string nombre { get; set; } = null!;
|
||||
public string Nombre { get; set; } = null!;
|
||||
|
||||
public string apellido { get; set; } = null!;
|
||||
public string Apellido { get; set; } = null!;
|
||||
|
||||
public string domicilio { get; set; } = null!;
|
||||
public string Domicilio { get; set; } = null!;
|
||||
|
||||
public string celular { get; set; } = null!;
|
||||
public string Celular { get; set; } = null!;
|
||||
|
||||
public string domiciliolaboral { get; set; } = null!;
|
||||
public string Domiciliolaboral { get; set; } = null!;
|
||||
|
||||
public virtual ICollection<Contrato> idcontratos { get; set; } = new List<Contrato>();
|
||||
public virtual ICollection<Contrato> Idcontratos { get; set; } = new List<Contrato>();
|
||||
}
|
||||
|
||||
@@ -5,11 +5,11 @@ namespace Entidades;
|
||||
|
||||
public partial class Grupo
|
||||
{
|
||||
public int id { get; set; }
|
||||
public int Id { get; set; }
|
||||
|
||||
public string nombre { get; set; } = null!;
|
||||
public string Nombre { get; set; } = null!;
|
||||
|
||||
public virtual ICollection<Cliente> idclientes { get; set; } = new List<Cliente>();
|
||||
public virtual ICollection<Cliente> Idclientes { get; set; } = new List<Cliente>();
|
||||
|
||||
public virtual ICollection<Permiso> idpermisos { get; set; } = new List<Permiso>();
|
||||
public virtual ICollection<Permiso> Idpermisos { get; set; } = new List<Permiso>();
|
||||
}
|
||||
|
||||
@@ -5,9 +5,9 @@ namespace Entidades;
|
||||
|
||||
public partial class Permiso
|
||||
{
|
||||
public int id { get; set; }
|
||||
public int Id { get; set; }
|
||||
|
||||
public string? descripcion { get; set; }
|
||||
public string? Descripcion { get; set; }
|
||||
|
||||
public virtual ICollection<Grupo> idgrupos { get; set; } = new List<Grupo>();
|
||||
public virtual ICollection<Grupo> Idgrupos { get; set; } = new List<Grupo>();
|
||||
}
|
||||
|
||||
@@ -5,21 +5,25 @@ namespace Entidades;
|
||||
|
||||
public partial class Propiedade
|
||||
{
|
||||
public int id { get; set; }
|
||||
public int Id { get; set; }
|
||||
|
||||
public string ubicacion { get; set; } = null!;
|
||||
public string Ubicacion { get; set; } = null!;
|
||||
|
||||
public int canthabitaciones { get; set; }
|
||||
public int Canthabitaciones { get; set; }
|
||||
|
||||
public int? piso { get; set; }
|
||||
public int? Piso { get; set; }
|
||||
|
||||
public string? letra { get; set; }
|
||||
public string? Letra { get; set; }
|
||||
|
||||
public long? dnipropietario { get; set; }
|
||||
public long? Dnipropietario { get; set; }
|
||||
|
||||
public int Idtipropiedad { get; set; }
|
||||
|
||||
public virtual ICollection<Contrato> Contratos { get; set; } = new List<Contrato>();
|
||||
|
||||
public virtual ICollection<Venta> Venta { get; set; } = new List<Venta>();
|
||||
public virtual Cliente? DnipropietarioNavigation { get; set; }
|
||||
|
||||
public virtual Cliente? dnipropietarioNavigation { get; set; }
|
||||
public virtual TipoPropiedad IdtipropiedadNavigation { get; set; } = null!;
|
||||
|
||||
public virtual ICollection<Venta> Venta { get; set; } = new List<Venta>();
|
||||
}
|
||||
|
||||
@@ -5,11 +5,11 @@ namespace Entidades;
|
||||
|
||||
public partial class Recibo
|
||||
{
|
||||
public long id { get; set; }
|
||||
public long Id { get; set; }
|
||||
|
||||
public DateTime fecha { get; set; }
|
||||
public DateTime Fecha { get; set; }
|
||||
|
||||
public decimal monto { get; set; }
|
||||
public decimal Monto { get; set; }
|
||||
|
||||
public virtual ICollection<Canon> Canons { get; set; } = new List<Canon>();
|
||||
}
|
||||
|
||||
13
Entidades/Tipopropiedad.cs
Normal file
13
Entidades/Tipopropiedad.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Entidades;
|
||||
|
||||
public partial class TipoPropiedad
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string Descripcion { get; set; } = null!;
|
||||
|
||||
public virtual ICollection<Propiedade> Propiedades { get; set; } = new List<Propiedade>();
|
||||
}
|
||||
@@ -5,29 +5,29 @@ namespace Entidades;
|
||||
|
||||
public partial class Venta
|
||||
{
|
||||
public long id { get; set; }
|
||||
public long Id { get; set; }
|
||||
|
||||
public decimal monto { get; set; }
|
||||
public decimal Monto { get; set; }
|
||||
|
||||
public long? idprop_old { get; set; }
|
||||
public long? IdVendedor { get; set; }
|
||||
|
||||
public long? idprop_new { get; set; }
|
||||
public long? IdComprador { get; set; }
|
||||
|
||||
public int? idestado { get; set; }
|
||||
public int? Idestado { get; set; }
|
||||
|
||||
public int? idpropiedad { get; set; }
|
||||
public int? Idpropiedad { get; set; }
|
||||
|
||||
public DateTime fechainicio { get; set; }
|
||||
public DateTime Fechainicio { get; set; }
|
||||
|
||||
public DateTime? fechafinal { get; set; }
|
||||
public DateTime? Fechafinal { get; set; }
|
||||
|
||||
public virtual ICollection<Contrato> Contratos { get; set; } = new List<Contrato>();
|
||||
|
||||
public virtual Estadoventum? idestadoNavigation { get; set; }
|
||||
public virtual Cliente? IdCompradorNavigation { get; set; }
|
||||
|
||||
public virtual Cliente? idprop_newNavigation { get; set; }
|
||||
public virtual Cliente? IdVendedorNavigation { get; set; }
|
||||
|
||||
public virtual Cliente? idprop_oldNavigation { get; set; }
|
||||
public virtual Estadoventa? IdestadoNavigation { get; set; }
|
||||
|
||||
public virtual Propiedade? idpropiedadNavigation { get; set; }
|
||||
public virtual Propiedade? IdpropiedadNavigation { get; set; }
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
run:
|
||||
dotnet ef dbcontext scaffold "Server=fedesrv.ddns.net;Port=30006;Database=AlquilaFacil;Uid=AlquilaFacil;Pwd=.n@9c2ve*0,b1ETv].Kipa/~pR~V;Connection Timeout=5;SslMode=none" MySql.EntityFrameworkCore -o . --use-database-names
|
||||
dotnet ef dbcontext scaffold "Server=fedesrv.ddns.net;Port=30006;Database=AlquilaFacil;Uid=AlquilaFacil;Pwd=.n@9c2ve*0,b1ETv].Kipa/~pR~V;Connection Timeout=5;SslMode=none" MySql.EntityFrameworkCore -o .
|
||||
./convert_to_pascalcase.sh
|
||||
|
||||
clean:
|
||||
|
||||
Reference in New Issue
Block a user