diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/DetalleEncuesta.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/DetalleEncuesta.cs index 3ccd903fc..999afc365 100644 --- a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/DetalleEncuesta.cs +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/DetalleEncuesta.cs @@ -29,6 +29,18 @@ namespace AYA.SlnSinortModel.Sinort public bool? Requerido { get; set; } + [Column(TypeName = "ntext")] + public string Columnas { get; set; } + + [Column(TypeName = "ntext")] + public string Filas { get; set; } + + [StringLength(200)] + public string RangoMinimo { get; set; } + + [StringLength(200)] + public string RangoMaximo { get; set; } + [Column(TypeName = "ntext")] public string RespuestaPregunta { get; set; } diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/SinortContex.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/SinortContex.cs index a38285fde..f6a4df667 100644 --- a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/SinortContex.cs +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/SinortContex.cs @@ -8,7 +8,7 @@ namespace AYA.SlnSinortModel.Sinort public partial class SinortContex : Contex { - + public virtual DbSet Aplicacion { get; set; } public virtual DbSet AreaAplicacionDocumentoTecnico { get; set; } @@ -623,6 +623,14 @@ namespace AYA.SlnSinortModel.Sinort .Property(e => e.NombrePregunta) .IsUnicode(false); + modelBuilder.Entity() + .Property(e => e.RangoMinimo) + .IsUnicode(false); + + modelBuilder.Entity() + .Property(e => e.RangoMaximo) + .IsUnicode(false); + modelBuilder.Entity() .Property(e => e.UsuarioCreacion) .IsUnicode(false);