git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C118
This commit is contained in:
parent
b41eed954f
commit
3d9f004d48
10 changed files with 338 additions and 4 deletions
|
|
@ -23,10 +23,6 @@ namespace AYA.SlnSinort.WCF
|
||||||
public class Sinort : ISinort
|
public class Sinort : ISinort
|
||||||
{
|
{
|
||||||
Log log = new Log("SinortWCF");
|
Log log = new Log("SinortWCF");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#region ProyectoNormativo
|
#region ProyectoNormativo
|
||||||
public ProyectoNormativoJSON GuardarProyectoNormativo(ProyectoNormativoJSON model)
|
public ProyectoNormativoJSON GuardarProyectoNormativo(ProyectoNormativoJSON model)
|
||||||
|
|
|
||||||
|
|
@ -71,13 +71,17 @@
|
||||||
<Compile Include="Sinort\Categoria.cs" />
|
<Compile Include="Sinort\Categoria.cs" />
|
||||||
<Compile Include="Sinort\ComentariosMatriz.cs" />
|
<Compile Include="Sinort\ComentariosMatriz.cs" />
|
||||||
<Compile Include="Sinort\ComentariosProyecto.cs" />
|
<Compile Include="Sinort\ComentariosProyecto.cs" />
|
||||||
|
<Compile Include="Sinort\Contenido.cs" />
|
||||||
<Compile Include="Sinort\Convocatoria.cs" />
|
<Compile Include="Sinort\Convocatoria.cs" />
|
||||||
<Compile Include="Sinort\Documentos.cs" />
|
<Compile Include="Sinort\Documentos.cs" />
|
||||||
<Compile Include="Sinort\DocumentosAdjuntos.cs" />
|
<Compile Include="Sinort\DocumentosAdjuntos.cs" />
|
||||||
|
<Compile Include="Sinort\DocumentoTecnico.cs" />
|
||||||
<Compile Include="Sinort\Emisor.cs" />
|
<Compile Include="Sinort\Emisor.cs" />
|
||||||
<Compile Include="Sinort\Estado.cs" />
|
<Compile Include="Sinort\Estado.cs" />
|
||||||
|
<Compile Include="Sinort\GrupoTematico.cs" />
|
||||||
<Compile Include="Sinort\Mantenimiento.cs" />
|
<Compile Include="Sinort\Mantenimiento.cs" />
|
||||||
<Compile Include="Sinort\Matriz.cs" />
|
<Compile Include="Sinort\Matriz.cs" />
|
||||||
|
<Compile Include="Sinort\PalabraClave.cs" />
|
||||||
<Compile Include="Sinort\Pantallas.cs" />
|
<Compile Include="Sinort\Pantallas.cs" />
|
||||||
<Compile Include="Sinort\Partial\Contex.cs" />
|
<Compile Include="Sinort\Partial\Contex.cs" />
|
||||||
<Compile Include="Sinort\PlantillaEmail.cs" />
|
<Compile Include="Sinort\PlantillaEmail.cs" />
|
||||||
|
|
@ -86,6 +90,8 @@
|
||||||
<Compile Include="Sinort\RolesPantallas.cs" />
|
<Compile Include="Sinort\RolesPantallas.cs" />
|
||||||
<Compile Include="Sinort\RolesUsuario.cs" />
|
<Compile Include="Sinort\RolesUsuario.cs" />
|
||||||
<Compile Include="Sinort\SinortContex.cs" />
|
<Compile Include="Sinort\SinortContex.cs" />
|
||||||
|
<Compile Include="Sinort\SubCategoriaContenido.cs" />
|
||||||
|
<Compile Include="Sinort\SubCategoriaGrupoTematico.cs" />
|
||||||
<Compile Include="Sinort\TipoAplicacion.cs" />
|
<Compile Include="Sinort\TipoAplicacion.cs" />
|
||||||
<Compile Include="Sinort\TipoDocumento.cs" />
|
<Compile Include="Sinort\TipoDocumento.cs" />
|
||||||
<Compile Include="Sinort\TipoEmisor.cs" />
|
<Compile Include="Sinort\TipoEmisor.cs" />
|
||||||
|
|
|
||||||
40
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Contenido.cs
Normal file
40
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Contenido.cs
Normal file
|
|
@ -0,0 +1,40 @@
|
||||||
|
namespace AYA.SlnSinortModel.Sinort
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
using System.Data.Entity.Spatial;
|
||||||
|
|
||||||
|
[Table("Catalogos.Contenido")]
|
||||||
|
public partial class Contenido
|
||||||
|
{
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||||
|
public Contenido()
|
||||||
|
{
|
||||||
|
SubCategoriaContenido = new HashSet<SubCategoriaContenido>();
|
||||||
|
}
|
||||||
|
|
||||||
|
[Key]
|
||||||
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||||
|
public int IdContenido { get; set; }
|
||||||
|
|
||||||
|
[StringLength(500)]
|
||||||
|
public string Descripcion { get; set; }
|
||||||
|
|
||||||
|
public bool? Estado { get; set; }
|
||||||
|
|
||||||
|
public DateTime? FechaCreacion { get; set; }
|
||||||
|
|
||||||
|
[StringLength(200)]
|
||||||
|
public string UsuarioCreacion { get; set; }
|
||||||
|
|
||||||
|
public DateTime? FechaModificacion { get; set; }
|
||||||
|
|
||||||
|
[StringLength(200)]
|
||||||
|
public string UsuarioModificacion { get; set; }
|
||||||
|
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||||
|
public virtual ICollection<SubCategoriaContenido> SubCategoriaContenido { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
31
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/DocumentoTecnico.cs
Normal file
31
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/DocumentoTecnico.cs
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
namespace AYA.SlnSinortModel.Sinort
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
using System.Data.Entity.Spatial;
|
||||||
|
|
||||||
|
[Table("Catalogos.DocumentoTecnico")]
|
||||||
|
public partial class DocumentoTecnico
|
||||||
|
{
|
||||||
|
[Key]
|
||||||
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||||
|
public int IdDocumentoTecnico { get; set; }
|
||||||
|
|
||||||
|
[StringLength(500)]
|
||||||
|
public string Descripcion { get; set; }
|
||||||
|
|
||||||
|
public bool? Estado { get; set; }
|
||||||
|
|
||||||
|
public DateTime? FechaCreacion { get; set; }
|
||||||
|
|
||||||
|
[StringLength(200)]
|
||||||
|
public string UsuarioCreacion { get; set; }
|
||||||
|
|
||||||
|
public DateTime? FechaModificacion { get; set; }
|
||||||
|
|
||||||
|
[StringLength(200)]
|
||||||
|
public string UsuarioModificacion { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
40
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/GrupoTematico.cs
Normal file
40
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/GrupoTematico.cs
Normal file
|
|
@ -0,0 +1,40 @@
|
||||||
|
namespace AYA.SlnSinortModel.Sinort
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
using System.Data.Entity.Spatial;
|
||||||
|
|
||||||
|
[Table("Catalogos.GrupoTematico")]
|
||||||
|
public partial class GrupoTematico
|
||||||
|
{
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||||
|
public GrupoTematico()
|
||||||
|
{
|
||||||
|
SubCategoriaGrupoTematico = new HashSet<SubCategoriaGrupoTematico>();
|
||||||
|
}
|
||||||
|
|
||||||
|
[Key]
|
||||||
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||||
|
public int IdGrupoTematico { get; set; }
|
||||||
|
|
||||||
|
[StringLength(500)]
|
||||||
|
public string Descripcion { get; set; }
|
||||||
|
|
||||||
|
public bool? Estado { get; set; }
|
||||||
|
|
||||||
|
public DateTime? FechaCreacion { get; set; }
|
||||||
|
|
||||||
|
[StringLength(200)]
|
||||||
|
public string UsuarioCreacion { get; set; }
|
||||||
|
|
||||||
|
public DateTime? FechaModificacion { get; set; }
|
||||||
|
|
||||||
|
[StringLength(200)]
|
||||||
|
public string UsuarioModificacion { get; set; }
|
||||||
|
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||||
|
public virtual ICollection<SubCategoriaGrupoTematico> SubCategoriaGrupoTematico { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
31
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PalabraClave.cs
Normal file
31
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PalabraClave.cs
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
namespace AYA.SlnSinortModel.Sinort
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
using System.Data.Entity.Spatial;
|
||||||
|
|
||||||
|
[Table("Catalogos.PalabraClave")]
|
||||||
|
public partial class PalabraClave
|
||||||
|
{
|
||||||
|
[Key]
|
||||||
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||||
|
public int IdPalabraClave { get; set; }
|
||||||
|
|
||||||
|
[StringLength(500)]
|
||||||
|
public string Descripcion { get; set; }
|
||||||
|
|
||||||
|
public bool? Estado { get; set; }
|
||||||
|
|
||||||
|
public DateTime? FechaCreacion { get; set; }
|
||||||
|
|
||||||
|
[StringLength(200)]
|
||||||
|
public string UsuarioCreacion { get; set; }
|
||||||
|
|
||||||
|
public DateTime? FechaModificacion { get; set; }
|
||||||
|
|
||||||
|
[StringLength(200)]
|
||||||
|
public string UsuarioModificacion { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -16,6 +16,9 @@ namespace AYA.SlnSinortModel.Sinort
|
||||||
[StringLength(200)]
|
[StringLength(200)]
|
||||||
public string NombrePlatilla { get; set; }
|
public string NombrePlatilla { get; set; }
|
||||||
|
|
||||||
|
[StringLength(200)]
|
||||||
|
public string Descripcion { get; set; }
|
||||||
|
|
||||||
public string Body { get; set; }
|
public string Body { get; set; }
|
||||||
|
|
||||||
public bool? Estado { get; set; }
|
public bool? Estado { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -8,16 +8,23 @@ namespace AYA.SlnSinortModel.Sinort
|
||||||
|
|
||||||
public partial class SinortContex : Contex
|
public partial class SinortContex : Contex
|
||||||
{
|
{
|
||||||
|
|
||||||
public virtual DbSet<Aplicacion> Aplicacion { get; set; }
|
public virtual DbSet<Aplicacion> Aplicacion { get; set; }
|
||||||
public virtual DbSet<Categoria> Categoria { get; set; }
|
public virtual DbSet<Categoria> Categoria { get; set; }
|
||||||
|
public virtual DbSet<Contenido> Contenido { get; set; }
|
||||||
|
public virtual DbSet<DocumentoTecnico> DocumentoTecnico { get; set; }
|
||||||
public virtual DbSet<Emisor> Emisor { get; set; }
|
public virtual DbSet<Emisor> Emisor { get; set; }
|
||||||
public virtual DbSet<Estado> Estado { get; set; }
|
public virtual DbSet<Estado> Estado { get; set; }
|
||||||
|
public virtual DbSet<GrupoTematico> GrupoTematico { get; set; }
|
||||||
public virtual DbSet<Mantenimiento> Mantenimiento { get; set; }
|
public virtual DbSet<Mantenimiento> Mantenimiento { get; set; }
|
||||||
|
public virtual DbSet<PalabraClave> PalabraClave { get; set; }
|
||||||
public virtual DbSet<Pantallas> Pantallas { get; set; }
|
public virtual DbSet<Pantallas> Pantallas { get; set; }
|
||||||
public virtual DbSet<PlantillaEmail> PlantillaEmail { get; set; }
|
public virtual DbSet<PlantillaEmail> PlantillaEmail { get; set; }
|
||||||
public virtual DbSet<Roles> Roles { get; set; }
|
public virtual DbSet<Roles> Roles { get; set; }
|
||||||
public virtual DbSet<RolesPantallas> RolesPantallas { get; set; }
|
public virtual DbSet<RolesPantallas> RolesPantallas { get; set; }
|
||||||
public virtual DbSet<RolesUsuario> RolesUsuario { get; set; }
|
public virtual DbSet<RolesUsuario> RolesUsuario { get; set; }
|
||||||
|
public virtual DbSet<SubCategoriaContenido> SubCategoriaContenido { get; set; }
|
||||||
|
public virtual DbSet<SubCategoriaGrupoTematico> SubCategoriaGrupoTematico { get; set; }
|
||||||
public virtual DbSet<TipoAplicacion> TipoAplicacion { get; set; }
|
public virtual DbSet<TipoAplicacion> TipoAplicacion { get; set; }
|
||||||
public virtual DbSet<TipoDocumento> TipoDocumento { get; set; }
|
public virtual DbSet<TipoDocumento> TipoDocumento { get; set; }
|
||||||
public virtual DbSet<TipoEmisor> TipoEmisor { get; set; }
|
public virtual DbSet<TipoEmisor> TipoEmisor { get; set; }
|
||||||
|
|
@ -60,6 +67,35 @@ namespace AYA.SlnSinortModel.Sinort
|
||||||
.Property(e => e.UsuarioModificacion)
|
.Property(e => e.UsuarioModificacion)
|
||||||
.IsUnicode(false);
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Contenido>()
|
||||||
|
.Property(e => e.Descripcion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Contenido>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Contenido>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Contenido>()
|
||||||
|
.HasMany(e => e.SubCategoriaContenido)
|
||||||
|
.WithRequired(e => e.Contenido)
|
||||||
|
.WillCascadeOnDelete(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<DocumentoTecnico>()
|
||||||
|
.Property(e => e.Descripcion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<DocumentoTecnico>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<DocumentoTecnico>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
modelBuilder.Entity<Emisor>()
|
modelBuilder.Entity<Emisor>()
|
||||||
.Property(e => e.Descripcion)
|
.Property(e => e.Descripcion)
|
||||||
.IsUnicode(false);
|
.IsUnicode(false);
|
||||||
|
|
@ -84,6 +120,23 @@ namespace AYA.SlnSinortModel.Sinort
|
||||||
.Property(e => e.UsuarioModificacion)
|
.Property(e => e.UsuarioModificacion)
|
||||||
.IsUnicode(false);
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<GrupoTematico>()
|
||||||
|
.Property(e => e.Descripcion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<GrupoTematico>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<GrupoTematico>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<GrupoTematico>()
|
||||||
|
.HasMany(e => e.SubCategoriaGrupoTematico)
|
||||||
|
.WithRequired(e => e.GrupoTematico)
|
||||||
|
.WillCascadeOnDelete(false);
|
||||||
|
|
||||||
modelBuilder.Entity<Mantenimiento>()
|
modelBuilder.Entity<Mantenimiento>()
|
||||||
.Property(e => e.Catalogo)
|
.Property(e => e.Catalogo)
|
||||||
.IsUnicode(false);
|
.IsUnicode(false);
|
||||||
|
|
@ -100,6 +153,18 @@ namespace AYA.SlnSinortModel.Sinort
|
||||||
.Property(e => e.UsuarioModificacion)
|
.Property(e => e.UsuarioModificacion)
|
||||||
.IsUnicode(false);
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<PalabraClave>()
|
||||||
|
.Property(e => e.Descripcion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<PalabraClave>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<PalabraClave>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
modelBuilder.Entity<Pantallas>()
|
modelBuilder.Entity<Pantallas>()
|
||||||
.Property(e => e.Descripcion)
|
.Property(e => e.Descripcion)
|
||||||
.IsUnicode(false);
|
.IsUnicode(false);
|
||||||
|
|
@ -120,6 +185,10 @@ namespace AYA.SlnSinortModel.Sinort
|
||||||
.Property(e => e.NombrePlatilla)
|
.Property(e => e.NombrePlatilla)
|
||||||
.IsUnicode(false);
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<PlantillaEmail>()
|
||||||
|
.Property(e => e.Descripcion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
modelBuilder.Entity<PlantillaEmail>()
|
modelBuilder.Entity<PlantillaEmail>()
|
||||||
.Property(e => e.Body)
|
.Property(e => e.Body)
|
||||||
.IsUnicode(false);
|
.IsUnicode(false);
|
||||||
|
|
@ -168,6 +237,30 @@ namespace AYA.SlnSinortModel.Sinort
|
||||||
.Property(e => e.UsuarioModificacion)
|
.Property(e => e.UsuarioModificacion)
|
||||||
.IsUnicode(false);
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<SubCategoriaContenido>()
|
||||||
|
.Property(e => e.Descripcion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<SubCategoriaContenido>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<SubCategoriaContenido>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<SubCategoriaGrupoTematico>()
|
||||||
|
.Property(e => e.Descripcion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<SubCategoriaGrupoTematico>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<SubCategoriaGrupoTematico>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
modelBuilder.Entity<TipoAplicacion>()
|
modelBuilder.Entity<TipoAplicacion>()
|
||||||
.Property(e => e.Descripcion)
|
.Property(e => e.Descripcion)
|
||||||
.IsUnicode(false);
|
.IsUnicode(false);
|
||||||
|
|
@ -342,6 +435,10 @@ namespace AYA.SlnSinortModel.Sinort
|
||||||
.Property(e => e.Asunto)
|
.Property(e => e.Asunto)
|
||||||
.IsUnicode(false);
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<ComentariosProyecto>()
|
||||||
|
.Property(e => e.Comentario)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
modelBuilder.Entity<ComentariosProyecto>()
|
modelBuilder.Entity<ComentariosProyecto>()
|
||||||
.Property(e => e.UsuarioSistema)
|
.Property(e => e.UsuarioSistema)
|
||||||
.IsUnicode(false);
|
.IsUnicode(false);
|
||||||
|
|
@ -386,10 +483,30 @@ namespace AYA.SlnSinortModel.Sinort
|
||||||
.Property(e => e.NombreProyectoNormativo)
|
.Property(e => e.NombreProyectoNormativo)
|
||||||
.IsUnicode(false);
|
.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>()
|
modelBuilder.Entity<ProyectoNormativo>()
|
||||||
.Property(e => e.PromotorProyecto)
|
.Property(e => e.PromotorProyecto)
|
||||||
.IsUnicode(false);
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<ProyectoNormativo>()
|
||||||
|
.Property(e => e.Estado)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
modelBuilder.Entity<ProyectoNormativo>()
|
modelBuilder.Entity<ProyectoNormativo>()
|
||||||
.Property(e => e.UsuarioCreacion)
|
.Property(e => e.UsuarioCreacion)
|
||||||
.IsUnicode(false);
|
.IsUnicode(false);
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,35 @@
|
||||||
|
namespace AYA.SlnSinortModel.Sinort
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
using System.Data.Entity.Spatial;
|
||||||
|
|
||||||
|
[Table("Catalogos.SubCategoriaContenido")]
|
||||||
|
public partial class SubCategoriaContenido
|
||||||
|
{
|
||||||
|
[Key]
|
||||||
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||||
|
public int IdSubCategoriaContenido { get; set; }
|
||||||
|
|
||||||
|
public int IdContenido { get; set; }
|
||||||
|
|
||||||
|
[StringLength(500)]
|
||||||
|
public string Descripcion { get; set; }
|
||||||
|
|
||||||
|
public bool? Estado { get; set; }
|
||||||
|
|
||||||
|
public DateTime? FechaCreacion { get; set; }
|
||||||
|
|
||||||
|
[StringLength(200)]
|
||||||
|
public string UsuarioCreacion { get; set; }
|
||||||
|
|
||||||
|
public DateTime? FechaModificacion { get; set; }
|
||||||
|
|
||||||
|
[StringLength(200)]
|
||||||
|
public string UsuarioModificacion { get; set; }
|
||||||
|
|
||||||
|
public virtual Contenido Contenido { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,35 @@
|
||||||
|
namespace AYA.SlnSinortModel.Sinort
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
using System.Data.Entity.Spatial;
|
||||||
|
|
||||||
|
[Table("Catalogos.SubCategoriaGrupoTematico")]
|
||||||
|
public partial class SubCategoriaGrupoTematico
|
||||||
|
{
|
||||||
|
[Key]
|
||||||
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||||
|
public int IdSubCategoriaGrupoTematico { get; set; }
|
||||||
|
|
||||||
|
public int IdGrupoTematico { get; set; }
|
||||||
|
|
||||||
|
[StringLength(500)]
|
||||||
|
public string Descripcion { get; set; }
|
||||||
|
|
||||||
|
public bool? Estado { get; set; }
|
||||||
|
|
||||||
|
public DateTime? FechaCreacion { get; set; }
|
||||||
|
|
||||||
|
[StringLength(200)]
|
||||||
|
public string UsuarioCreacion { get; set; }
|
||||||
|
|
||||||
|
public DateTime? FechaModificacion { get; set; }
|
||||||
|
|
||||||
|
[StringLength(200)]
|
||||||
|
public string UsuarioModificacion { get; set; }
|
||||||
|
|
||||||
|
public virtual GrupoTematico GrupoTematico { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue