git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C133
This commit is contained in:
parent
5aca24f213
commit
0cf4a6d47b
3 changed files with 29 additions and 21 deletions
|
|
@ -413,7 +413,7 @@ this.VerDetalleAporte = function (IdComentario,IdTipoComentario) {
|
|||
$("#txtAsuntoMatriz").val(comentario.Asunto);
|
||||
$("#txtComentarioMatriz").val(comentario.Comentario);
|
||||
$("#txtCapituloMatriz").val(comentario.Capitulo);
|
||||
$("#txtApartadoMatriz").val(comentario.Apartadado);
|
||||
$("#txtApartadoMatriz").val(comentario.Apartado);
|
||||
$("#txtTextoOriginal").val(comentario.TextoOriginal);
|
||||
$("#txtTextoPropuesto").val(comentario.TextoPropuesto);
|
||||
$('#modalElemento-footer').css("display", "none");
|
||||
|
|
@ -469,7 +469,7 @@ this.GuardarComentarioMatriz = function () {
|
|||
IdProyectoNormativo: model.ProyectoNormativo.IdProyectoNormativo,
|
||||
Asunto: $("#txtAsuntoMatriz").val(),
|
||||
Capitulo: $("#txtCapituloMatriz").val(),
|
||||
Apartadado: $("#txtApartadoMatriz").val(),
|
||||
Apartado: $("#txtApartadoMatriz").val(),
|
||||
TextoOriginal: $("#txtTextoOriginal").val(),
|
||||
TextoPropuesto: $("#txtTextoPropuesto").val(),
|
||||
Comentario: $("#txtComentarioMatriz").val(),
|
||||
|
|
|
|||
|
|
@ -23,6 +23,18 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[StringLength(200)]
|
||||
public string Asunto { get; set; }
|
||||
|
||||
[StringLength(200)]
|
||||
public string Capitulo { get; set; }
|
||||
|
||||
[StringLength(200)]
|
||||
public string Apartado { get; set; }
|
||||
|
||||
[StringLength(200)]
|
||||
public string TextoOriginal { get; set; }
|
||||
|
||||
[StringLength(200)]
|
||||
public string TextoPropuesto { get; set; }
|
||||
|
||||
public string Comentario { get; set; }
|
||||
|
||||
[StringLength(200)]
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
|
||||
public partial class SinortContex : Contex
|
||||
{
|
||||
|
||||
|
||||
public virtual DbSet<Aplicacion> Aplicacion { get; set; }
|
||||
public virtual DbSet<Categoria> Categoria { get; set; }
|
||||
public virtual DbSet<Contenido> Contenido { get; set; }
|
||||
|
|
@ -399,14 +399,26 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
|
||||
modelBuilder.Entity<ComentariosProyecto>()
|
||||
.Property(e => e.DescTipoComentario)
|
||||
.IsFixedLength();
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ComentariosProyecto>()
|
||||
.Property(e => e.Asunto)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ComentariosProyecto>()
|
||||
.Property(e => e.Comentario)
|
||||
.Property(e => e.Capitulo)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ComentariosProyecto>()
|
||||
.Property(e => e.Apartado)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ComentariosProyecto>()
|
||||
.Property(e => e.TextoOriginal)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ComentariosProyecto>()
|
||||
.Property(e => e.TextoPropuesto)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ComentariosProyecto>()
|
||||
|
|
@ -465,22 +477,6 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
.Property(e => e.Aplicacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ProyectoNormativo>()
|
||||
.Property(e => e.DescTipoProyecto)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ProyectoNormativo>()
|
||||
.Property(e => e.Matriz)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ProyectoNormativo>()
|
||||
.Property(e => e.Emisor)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ProyectoNormativo>()
|
||||
.Property(e => e.Aplicacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ProyectoNormativo>()
|
||||
.Property(e => e.PromotorProyecto)
|
||||
.IsUnicode(false);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue