From 60fd4d3753239e0baa9ee737764fbe78f8032017 Mon Sep 17 00:00:00 2001 From: jnunez Date: Tue, 31 Jul 2018 21:30:51 +0000 Subject: [PATCH] git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C363 --- .../AYA.SlnSynorModel/Sinort/DetalleEncuesta.cs | 12 ++++++++++++ .../AYA.SlnSynorModel/Sinort/SinortContex.cs | 10 +++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) 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);