git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C312
This commit is contained in:
parent
8852442966
commit
3733bd5125
27 changed files with 261 additions and 156 deletions
|
|
@ -84,6 +84,7 @@
|
|||
<Compile Include="Sinort\Estado.cs" />
|
||||
<Compile Include="Sinort\FichaTecnica.cs" />
|
||||
<Compile Include="Sinort\FichaTecnicaPalabraClave.cs" />
|
||||
<Compile Include="Sinort\GotitasNormativa.cs" />
|
||||
<Compile Include="Sinort\GrupoTematico.cs" />
|
||||
<Compile Include="Sinort\Mantenimiento.cs" />
|
||||
<Compile Include="Sinort\PalabraClave.cs" />
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Aplicacion()
|
||||
{
|
||||
FichaTecnica = new HashSet<FichaTecnica>();
|
||||
FichaTecnicas = new HashSet<FichaTecnica>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
|
|
@ -40,7 +40,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
public string UsuarioModificacion { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<FichaTecnica> FichaTecnica { get; set; }
|
||||
public virtual ICollection<FichaTecnica> FichaTecnicas { get; set; }
|
||||
|
||||
public virtual TipoAplicacion TipoAplicacion { get; set; }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public AreaAplicacionDocumentoTecnico()
|
||||
{
|
||||
Solicitud = new HashSet<Solicitud>();
|
||||
Solicituds = new HashSet<Solicitud>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
|
|
@ -35,6 +35,6 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
public string UsuarioModificacion { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<Solicitud> Solicitud { get; set; }
|
||||
public virtual ICollection<Solicitud> Solicituds { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[StringLength(200)]
|
||||
public string UsuarioModificacion { get; set; }
|
||||
|
||||
public virtual DocumentosAdjuntos DocumentosAdjuntos { get; set; }
|
||||
public virtual DocumentosAdjunto DocumentosAdjunto { get; set; }
|
||||
|
||||
public virtual ProyectoNormativo ProyectoNormativo { get; set; }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[StringLength(200)]
|
||||
public string UsuarioModificacion { get; set; }
|
||||
|
||||
public virtual DocumentosAdjuntos DocumentosAdjuntos { get; set; }
|
||||
public virtual DocumentosAdjunto DocumentosAdjunto { get; set; }
|
||||
|
||||
public virtual ProyectoNormativo ProyectoNormativo { get; set; }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Contenido()
|
||||
{
|
||||
FichaTecnica = new HashSet<FichaTecnica>();
|
||||
SubCategoriaContenido = new HashSet<SubCategoriaContenido>();
|
||||
FichaTecnicas = new HashSet<FichaTecnica>();
|
||||
SubCategoriaContenidoes = new HashSet<SubCategoriaContenido>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
|
|
@ -39,9 +39,9 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
public string UsuarioModificacion { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<FichaTecnica> FichaTecnica { get; set; }
|
||||
public virtual ICollection<FichaTecnica> FichaTecnicas { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<SubCategoriaContenido> SubCategoriaContenido { get; set; }
|
||||
public virtual ICollection<SubCategoriaContenido> SubCategoriaContenidoes { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public DocumentoTecnico()
|
||||
{
|
||||
FichaTecnica = new HashSet<FichaTecnica>();
|
||||
FichaTecnicas = new HashSet<FichaTecnica>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
|
|
@ -38,6 +38,6 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
public string UsuarioModificacion { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<FichaTecnica> FichaTecnica { get; set; }
|
||||
public virtual ICollection<FichaTecnica> FichaTecnicas { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
Calendarios = new HashSet<Calendario>();
|
||||
ComentariosProyectoes = new HashSet<ComentariosProyecto>();
|
||||
FichaTecnicas = new HashSet<FichaTecnica>();
|
||||
GotitasNormativas = new HashSet<GotitasNormativa>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
|
|
@ -74,5 +75,8 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<FichaTecnica> FichaTecnicas { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<GotitasNormativa> GotitasNormativas { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Emisor()
|
||||
{
|
||||
FichaTecnica = new HashSet<FichaTecnica>();
|
||||
FichaTecnicas = new HashSet<FichaTecnica>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
|
|
@ -37,7 +37,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
public string UsuarioModificacion { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<FichaTecnica> FichaTecnica { get; set; }
|
||||
public virtual ICollection<FichaTecnica> FichaTecnicas { get; set; }
|
||||
|
||||
public virtual TipoEmisor TipoEmisor { get; set; }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Estado()
|
||||
{
|
||||
FichaTecnica = new HashSet<FichaTecnica>();
|
||||
Solicitud = new HashSet<Solicitud>();
|
||||
FichaTecnicas = new HashSet<FichaTecnica>();
|
||||
Solicituds = new HashSet<Solicitud>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
|
|
@ -39,11 +39,11 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
public string UsuarioModificacion { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<FichaTecnica> FichaTecnica { get; set; }
|
||||
public virtual ICollection<FichaTecnica> FichaTecnicas { get; set; }
|
||||
|
||||
public virtual TipoEstado TipoEstado { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<Solicitud> Solicitud { get; set; }
|
||||
public virtual ICollection<Solicitud> Solicituds { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public FichaTecnica()
|
||||
{
|
||||
FichaTecnicaPalabraClave = new HashSet<FichaTecnicaPalabraClave>();
|
||||
FichaTecnicaPalabraClaves = new HashSet<FichaTecnicaPalabraClave>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
|
|
@ -32,7 +32,6 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[StringLength(200)]
|
||||
public string DescripcionEstado { get; set; }
|
||||
|
||||
|
||||
[StringLength(200)]
|
||||
public string DocumentoIngreso { get; set; }
|
||||
|
||||
|
|
@ -57,7 +56,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
public int? IdSubCategoriaContenido { get; set; }
|
||||
|
||||
[StringLength(500)]
|
||||
public string DescripcionSubCategoriaContenido { get; set; }
|
||||
public string DescripcionsubCategoriaContenido { get; set; }
|
||||
|
||||
public int? IdGrupoTematico { get; set; }
|
||||
|
||||
|
|
@ -107,9 +106,9 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
|
||||
public virtual SubCategoriaGrupoTematico SubCategoriaGrupoTematico { get; set; }
|
||||
|
||||
public virtual DocumentosAdjuntos DocumentosAdjuntos { get; set; }
|
||||
public virtual DocumentosAdjunto DocumentosAdjunto { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<FichaTecnicaPalabraClave> FichaTecnicaPalabraClave { get; set; }
|
||||
public virtual ICollection<FichaTecnicaPalabraClave> FichaTecnicaPalabraClaves { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
42
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/GotitasNormativa.cs
Normal file
42
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/GotitasNormativa.cs
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
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("Global.GotitasNormativas")]
|
||||
public partial class GotitasNormativa
|
||||
{
|
||||
[Key]
|
||||
public int IdGotitaNormativa { get; set; }
|
||||
|
||||
[StringLength(500)]
|
||||
public string Nombre { get; set; }
|
||||
|
||||
[StringLength(500)]
|
||||
public string Descripcion { get; set; }
|
||||
|
||||
public DateTime? FechaCaducidad { get; set; }
|
||||
|
||||
public int? IdDocumentoAdjunto { get; set; }
|
||||
|
||||
[StringLength(200)]
|
||||
public string DescripcionDocumentoAdjunto { 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 DocumentosAdjunto DocumentosAdjunto { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -12,8 +12,8 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public GrupoTematico()
|
||||
{
|
||||
FichaTecnica = new HashSet<FichaTecnica>();
|
||||
SubCategoriaGrupoTematico = new HashSet<SubCategoriaGrupoTematico>();
|
||||
FichaTecnicas = new HashSet<FichaTecnica>();
|
||||
SubCategoriaGrupoTematicoes = new HashSet<SubCategoriaGrupoTematico>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
|
|
@ -39,9 +39,9 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
public string UsuarioModificacion { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<FichaTecnica> FichaTecnica { get; set; }
|
||||
public virtual ICollection<FichaTecnica> FichaTecnicas { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<SubCategoriaGrupoTematico> SubCategoriaGrupoTematico { get; set; }
|
||||
public virtual ICollection<SubCategoriaGrupoTematico> SubCategoriaGrupoTematicoes { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public PalabraClave()
|
||||
{
|
||||
FichaTecnicaPalabraClave = new HashSet<FichaTecnicaPalabraClave>();
|
||||
FichaTecnicaPalabraClaves = new HashSet<FichaTecnicaPalabraClave>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
|
|
@ -35,6 +35,6 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
public string UsuarioModificacion { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<FichaTecnicaPalabraClave> FichaTecnicaPalabraClave { get; set; }
|
||||
public virtual ICollection<FichaTecnicaPalabraClave> FichaTecnicaPalabraClaves { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,9 +12,9 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public ProyectoNormativo()
|
||||
{
|
||||
Calendario = new HashSet<Calendario>();
|
||||
ComentariosProyecto = new HashSet<ComentariosProyecto>();
|
||||
Convocatoria = new HashSet<Convocatoria>();
|
||||
Calendarios = new HashSet<Calendario>();
|
||||
ComentariosProyectoes = new HashSet<ComentariosProyecto>();
|
||||
Convocatorias = new HashSet<Convocatoria>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
|
|
@ -71,12 +71,12 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
public virtual TipoProyecto TipoProyecto { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<Calendario> Calendario { get; set; }
|
||||
public virtual ICollection<Calendario> Calendarios { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<ComentariosProyecto> ComentariosProyecto { get; set; }
|
||||
public virtual ICollection<ComentariosProyecto> ComentariosProyectoes { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<Convocatoria> Convocatoria { get; set; }
|
||||
public virtual ICollection<Convocatoria> Convocatorias { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[StringLength(200)]
|
||||
public string UsuarioModificacion { get; set; }
|
||||
|
||||
public virtual Roles Roles { get; set; }
|
||||
public virtual Role Role { get; set; }
|
||||
|
||||
public virtual Usuario Usuario { get; set; }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,49 +4,48 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
using System.Data.Entity;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Runtime.Remoting.Contexts;
|
||||
using AYA.SlnSinortModel.Sinort.Partial;
|
||||
|
||||
public partial class SinortContex : Contex
|
||||
{
|
||||
|
||||
public virtual DbSet<Aplicacion> Aplicacion { get; set; }
|
||||
public virtual DbSet<AreaAplicacionDocumentoTecnico> AreaAplicacionDocumentoTecnico { 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<Estado> Estado { get; set; }
|
||||
public virtual DbSet<GrupoTematico> GrupoTematico { 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<PlantillaEmail> PlantillaEmail { get; set; }
|
||||
public virtual DbSet<Roles> Roles { get; set; }
|
||||
public virtual DbSet<RolesPantallas> RolesPantallas { 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<SubCategoriaTipoDocumento> SubCategoriaTipoDocumento { get; set; }
|
||||
public virtual DbSet<TipoAplicacion> TipoAplicacion { get; set; }
|
||||
public virtual DbSet<TipoComentario> TipoComentario { get; set; }
|
||||
public virtual DbSet<TipoDocumento> TipoDocumento { get; set; }
|
||||
public virtual DbSet<TipoEmisor> TipoEmisor { get; set; }
|
||||
public virtual DbSet<TipoEstado> TipoEstado { get; set; }
|
||||
public virtual DbSet<TipoProyecto> TipoProyecto { get; set; }
|
||||
public virtual DbSet<TipoSolicitud> TipoSolicitud { get; set; }
|
||||
public virtual DbSet<Usuario> Usuario { get; set; }
|
||||
public virtual DbSet<BitacoraDocumentos> BitacoraDocumentos { get; set; }
|
||||
public virtual DbSet<Documentos> Documentos { get; set; }
|
||||
public virtual DbSet<DocumentosAdjuntos> DocumentosAdjuntos { get; set; }
|
||||
public virtual DbSet<Calendario> Calendario { get; set; }
|
||||
public virtual DbSet<ComentariosProyecto> ComentariosProyecto { get; set; }
|
||||
public virtual DbSet<Convocatoria> Convocatoria { get; set; }
|
||||
public virtual DbSet<FichaTecnica> FichaTecnica { get; set; }
|
||||
public virtual DbSet<FichaTecnicaPalabraClave> FichaTecnicaPalabraClave { get; set; }
|
||||
public virtual DbSet<ProyectoNormativo> ProyectoNormativo { get; set; }
|
||||
public virtual DbSet<Solicitud> Solicitud { get; set; }
|
||||
public virtual DbSet<TareasPendientes> TareasPendientes { get; set; }
|
||||
public virtual DbSet<Aplicacion> Aplicacions { get; set; }
|
||||
public virtual DbSet<AreaAplicacionDocumentoTecnico> AreaAplicacionDocumentoTecnicoes { get; set; }
|
||||
public virtual DbSet<Categoria> Categorias { get; set; }
|
||||
public virtual DbSet<Contenido> Contenidoes { get; set; }
|
||||
public virtual DbSet<DocumentoTecnico> DocumentoTecnicoes { get; set; }
|
||||
public virtual DbSet<Emisor> Emisors { get; set; }
|
||||
public virtual DbSet<Estado> Estadoes { get; set; }
|
||||
public virtual DbSet<GrupoTematico> GrupoTematicoes { get; set; }
|
||||
public virtual DbSet<Mantenimiento> Mantenimientoes { get; set; }
|
||||
public virtual DbSet<PalabraClave> PalabraClaves { get; set; }
|
||||
public virtual DbSet<Pantalla> Pantallas { get; set; }
|
||||
public virtual DbSet<PlantillaEmail> PlantillaEmails { get; set; }
|
||||
public virtual DbSet<Role> Roles { get; set; }
|
||||
public virtual DbSet<RolesPantalla> RolesPantallas { get; set; }
|
||||
public virtual DbSet<RolesUsuario> RolesUsuarios { get; set; }
|
||||
public virtual DbSet<SubCategoriaContenido> SubCategoriaContenidoes { get; set; }
|
||||
public virtual DbSet<SubCategoriaGrupoTematico> SubCategoriaGrupoTematicoes { get; set; }
|
||||
public virtual DbSet<SubCategoriaTipoDocumento> SubCategoriaTipoDocumentoes { get; set; }
|
||||
public virtual DbSet<TipoAplicacion> TipoAplicacions { get; set; }
|
||||
public virtual DbSet<TipoComentario> TipoComentarios { get; set; }
|
||||
public virtual DbSet<TipoDocumento> TipoDocumentoes { get; set; }
|
||||
public virtual DbSet<TipoEmisor> TipoEmisors { get; set; }
|
||||
public virtual DbSet<TipoEstado> TipoEstadoes { get; set; }
|
||||
public virtual DbSet<TipoProyecto> TipoProyectoes { get; set; }
|
||||
public virtual DbSet<TipoSolicitud> TipoSolicituds { get; set; }
|
||||
public virtual DbSet<Usuario> Usuarios { get; set; }
|
||||
public virtual DbSet<BitacoraDocumento> BitacoraDocumentos { get; set; }
|
||||
public virtual DbSet<Documento> Documentos { get; set; }
|
||||
public virtual DbSet<DocumentosAdjunto> DocumentosAdjuntos { get; set; }
|
||||
public virtual DbSet<Calendario> Calendarios { get; set; }
|
||||
public virtual DbSet<ComentariosProyecto> ComentariosProyectoes { get; set; }
|
||||
public virtual DbSet<Convocatoria> Convocatorias { get; set; }
|
||||
public virtual DbSet<FichaTecnica> FichaTecnicas { get; set; }
|
||||
public virtual DbSet<FichaTecnicaPalabraClave> FichaTecnicaPalabraClaves { get; set; }
|
||||
public virtual DbSet<GotitasNormativa> GotitasNormativas { get; set; }
|
||||
public virtual DbSet<ProyectoNormativo> ProyectoNormativoes { get; set; }
|
||||
public virtual DbSet<Solicitud> Solicituds { get; set; }
|
||||
public virtual DbSet<TareasPendiente> TareasPendientes { get; set; }
|
||||
|
||||
protected override void OnModelCreating(DbModelBuilder modelBuilder)
|
||||
{
|
||||
|
|
@ -99,7 +98,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Contenido>()
|
||||
.HasMany(e => e.SubCategoriaContenido)
|
||||
.HasMany(e => e.SubCategoriaContenidoes)
|
||||
.WithRequired(e => e.Contenido)
|
||||
.WillCascadeOnDelete(false);
|
||||
|
||||
|
|
@ -140,7 +139,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Estado>()
|
||||
.HasMany(e => e.Solicitud)
|
||||
.HasMany(e => e.Solicituds)
|
||||
.WithOptional(e => e.Estado1)
|
||||
.HasForeignKey(e => e.IdEstadoSolicitud);
|
||||
|
||||
|
|
@ -157,7 +156,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<GrupoTematico>()
|
||||
.HasMany(e => e.SubCategoriaGrupoTematico)
|
||||
.HasMany(e => e.SubCategoriaGrupoTematicoes)
|
||||
.WithRequired(e => e.GrupoTematico)
|
||||
.WillCascadeOnDelete(false);
|
||||
|
||||
|
|
@ -190,23 +189,23 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<PalabraClave>()
|
||||
.HasMany(e => e.FichaTecnicaPalabraClave)
|
||||
.HasMany(e => e.FichaTecnicaPalabraClaves)
|
||||
.WithRequired(e => e.PalabraClave)
|
||||
.WillCascadeOnDelete(false);
|
||||
|
||||
modelBuilder.Entity<Pantallas>()
|
||||
modelBuilder.Entity<Pantalla>()
|
||||
.Property(e => e.Descripcion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Pantallas>()
|
||||
modelBuilder.Entity<Pantalla>()
|
||||
.Property(e => e.Vista)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Pantallas>()
|
||||
modelBuilder.Entity<Pantalla>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Pantallas>()
|
||||
modelBuilder.Entity<Pantalla>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
|
|
@ -234,23 +233,23 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Roles>()
|
||||
modelBuilder.Entity<Role>()
|
||||
.Property(e => e.Descripcion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Roles>()
|
||||
modelBuilder.Entity<Role>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Roles>()
|
||||
modelBuilder.Entity<Role>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<RolesPantallas>()
|
||||
modelBuilder.Entity<RolesPantalla>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<RolesPantallas>()
|
||||
modelBuilder.Entity<RolesPantalla>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
|
|
@ -344,7 +343,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TipoDocumento>()
|
||||
.HasMany(e => e.SubCategoriaTipoDocumento)
|
||||
.HasMany(e => e.SubCategoriaTipoDocumentoes)
|
||||
.WithRequired(e => e.TipoDocumento)
|
||||
.WillCascadeOnDelete(false);
|
||||
|
||||
|
|
@ -417,12 +416,12 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Usuario>()
|
||||
.HasMany(e => e.Convocatoria)
|
||||
.HasMany(e => e.Convocatorias)
|
||||
.WithRequired(e => e.Usuario)
|
||||
.WillCascadeOnDelete(false);
|
||||
|
||||
modelBuilder.Entity<Usuario>()
|
||||
.HasMany(e => e.Solicitud)
|
||||
.HasMany(e => e.Solicituds)
|
||||
.WithOptional(e => e.Usuario)
|
||||
.HasForeignKey(e => e.NombreSuperior);
|
||||
|
||||
|
|
@ -432,72 +431,72 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
.HasForeignKey(e => e.UsuarioAsignado);
|
||||
|
||||
modelBuilder.Entity<Usuario>()
|
||||
.HasMany(e => e.Solicitud1)
|
||||
.HasMany(e => e.Solicituds1)
|
||||
.WithOptional(e => e.Usuario1)
|
||||
.HasForeignKey(e => e.UsuarioSistema);
|
||||
|
||||
modelBuilder.Entity<BitacoraDocumentos>()
|
||||
modelBuilder.Entity<BitacoraDocumento>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<BitacoraDocumentos>()
|
||||
modelBuilder.Entity<BitacoraDocumento>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Documentos>()
|
||||
modelBuilder.Entity<Documento>()
|
||||
.Property(e => e.NombreDocumento)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Documentos>()
|
||||
modelBuilder.Entity<Documento>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Documentos>()
|
||||
modelBuilder.Entity<Documento>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Documentos>()
|
||||
modelBuilder.Entity<Documento>()
|
||||
.HasMany(e => e.BitacoraDocumentos)
|
||||
.WithRequired(e => e.Documentos)
|
||||
.WithRequired(e => e.Documento)
|
||||
.WillCascadeOnDelete(false);
|
||||
|
||||
modelBuilder.Entity<DocumentosAdjuntos>()
|
||||
modelBuilder.Entity<DocumentosAdjunto>()
|
||||
.Property(e => e.Nombre)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<DocumentosAdjuntos>()
|
||||
modelBuilder.Entity<DocumentosAdjunto>()
|
||||
.Property(e => e.DescTipoDocumento)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<DocumentosAdjuntos>()
|
||||
modelBuilder.Entity<DocumentosAdjunto>()
|
||||
.Property(e => e.DescIdSubTipoDocumento)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<DocumentosAdjuntos>()
|
||||
modelBuilder.Entity<DocumentosAdjunto>()
|
||||
.Property(e => e.TipoArchivo)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<DocumentosAdjuntos>()
|
||||
modelBuilder.Entity<DocumentosAdjunto>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<DocumentosAdjuntos>()
|
||||
modelBuilder.Entity<DocumentosAdjunto>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<DocumentosAdjuntos>()
|
||||
.HasMany(e => e.Calendario)
|
||||
.WithOptional(e => e.DocumentosAdjuntos)
|
||||
modelBuilder.Entity<DocumentosAdjunto>()
|
||||
.HasMany(e => e.Calendarios)
|
||||
.WithOptional(e => e.DocumentosAdjunto)
|
||||
.HasForeignKey(e => e.IdDocumento);
|
||||
|
||||
modelBuilder.Entity<DocumentosAdjuntos>()
|
||||
.HasMany(e => e.ComentariosProyecto)
|
||||
.WithOptional(e => e.DocumentosAdjuntos)
|
||||
modelBuilder.Entity<DocumentosAdjunto>()
|
||||
.HasMany(e => e.ComentariosProyectoes)
|
||||
.WithOptional(e => e.DocumentosAdjunto)
|
||||
.HasForeignKey(e => e.IdDocumento);
|
||||
|
||||
modelBuilder.Entity<DocumentosAdjuntos>()
|
||||
.HasMany(e => e.FichaTecnica)
|
||||
.WithOptional(e => e.DocumentosAdjuntos)
|
||||
modelBuilder.Entity<DocumentosAdjunto>()
|
||||
.HasMany(e => e.FichaTecnicas)
|
||||
.WithOptional(e => e.DocumentosAdjunto)
|
||||
.HasForeignKey(e => e.IdDocumento);
|
||||
|
||||
modelBuilder.Entity<Calendario>()
|
||||
|
|
@ -576,10 +575,18 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<FichaTecnica>()
|
||||
.Property(e => e.DescripcionDocumento)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<FichaTecnica>()
|
||||
.Property(e => e.Identificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<FichaTecnica>()
|
||||
.Property(e => e.DescripcionEstado)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<FichaTecnica>()
|
||||
.Property(e => e.DocumentoIngreso)
|
||||
.IsUnicode(false);
|
||||
|
|
@ -588,6 +595,34 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
.Property(e => e.DocumentoEgreso)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<FichaTecnica>()
|
||||
.Property(e => e.DescripcionDocumentoTecnico)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<FichaTecnica>()
|
||||
.Property(e => e.DescripcionAplicacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<FichaTecnica>()
|
||||
.Property(e => e.DescripcionContenido)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<FichaTecnica>()
|
||||
.Property(e => e.DescripcionsubCategoriaContenido)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<FichaTecnica>()
|
||||
.Property(e => e.DescripcionGrupoTematico)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<FichaTecnica>()
|
||||
.Property(e => e.DescripcionSubCategoriaGrupoTematico)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<FichaTecnica>()
|
||||
.Property(e => e.DescripcionEmisor)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<FichaTecnica>()
|
||||
.Property(e => e.NumeroPublicacionVersion)
|
||||
.IsUnicode(false);
|
||||
|
|
@ -601,10 +636,14 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<FichaTecnica>()
|
||||
.HasMany(e => e.FichaTecnicaPalabraClave)
|
||||
.HasMany(e => e.FichaTecnicaPalabraClaves)
|
||||
.WithRequired(e => e.FichaTecnica)
|
||||
.WillCascadeOnDelete(false);
|
||||
|
||||
modelBuilder.Entity<FichaTecnicaPalabraClave>()
|
||||
.Property(e => e.Descripcion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<FichaTecnicaPalabraClave>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
|
@ -613,6 +652,26 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<GotitasNormativa>()
|
||||
.Property(e => e.Nombre)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<GotitasNormativa>()
|
||||
.Property(e => e.Descripcion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<GotitasNormativa>()
|
||||
.Property(e => e.DescripcionDocumentoAdjunto)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<GotitasNormativa>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<GotitasNormativa>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ProyectoNormativo>()
|
||||
.Property(e => e.NombreProyectoNormativo)
|
||||
.IsUnicode(false);
|
||||
|
|
@ -650,7 +709,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ProyectoNormativo>()
|
||||
.HasMany(e => e.Convocatoria)
|
||||
.HasMany(e => e.Convocatorias)
|
||||
.WithRequired(e => e.ProyectoNormativo)
|
||||
.WillCascadeOnDelete(false);
|
||||
|
||||
|
|
@ -690,35 +749,35 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TareasPendientes>()
|
||||
modelBuilder.Entity<TareasPendiente>()
|
||||
.Property(e => e.Descripcion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TareasPendientes>()
|
||||
modelBuilder.Entity<TareasPendiente>()
|
||||
.Property(e => e.ContenidoRelacionado)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TareasPendientes>()
|
||||
modelBuilder.Entity<TareasPendiente>()
|
||||
.Property(e => e.TipoTareaPendiente)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TareasPendientes>()
|
||||
modelBuilder.Entity<TareasPendiente>()
|
||||
.Property(e => e.UsuarioAsignado)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TareasPendientes>()
|
||||
modelBuilder.Entity<TareasPendiente>()
|
||||
.Property(e => e.NombreProyectoNormativo)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TareasPendientes>()
|
||||
modelBuilder.Entity<TareasPendiente>()
|
||||
.Property(e => e.PromotorProyectoNormativo)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TareasPendientes>()
|
||||
modelBuilder.Entity<TareasPendiente>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TareasPendientes>()
|
||||
modelBuilder.Entity<TareasPendiente>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public SubCategoriaContenido()
|
||||
{
|
||||
FichaTecnica = new HashSet<FichaTecnica>();
|
||||
FichaTecnicas = new HashSet<FichaTecnica>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
|
|
@ -39,6 +39,6 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
public virtual Contenido Contenido { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<FichaTecnica> FichaTecnica { get; set; }
|
||||
public virtual ICollection<FichaTecnica> FichaTecnicas { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public SubCategoriaGrupoTematico()
|
||||
{
|
||||
FichaTecnica = new HashSet<FichaTecnica>();
|
||||
FichaTecnicas = new HashSet<FichaTecnica>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
|
|
@ -39,6 +39,6 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
public virtual GrupoTematico GrupoTematico { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<FichaTecnica> FichaTecnica { get; set; }
|
||||
public virtual ICollection<FichaTecnica> FichaTecnicas { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public SubCategoriaTipoDocumento()
|
||||
{
|
||||
DocumentosAdjuntos = new HashSet<DocumentosAdjuntos>();
|
||||
DocumentosAdjuntos = new HashSet<DocumentosAdjunto>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
|
|
@ -37,7 +37,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
public string UsuarioModificacion { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<DocumentosAdjuntos> DocumentosAdjuntos { get; set; }
|
||||
public virtual ICollection<DocumentosAdjunto> DocumentosAdjuntos { get; set; }
|
||||
|
||||
public virtual TipoDocumento TipoDocumento { get; set; }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public TipoAplicacion()
|
||||
{
|
||||
Aplicacion = new HashSet<Aplicacion>();
|
||||
Aplicacions = new HashSet<Aplicacion>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
|
|
@ -35,6 +35,6 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
public string UsuarioModificacion { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<Aplicacion> Aplicacion { get; set; }
|
||||
public virtual ICollection<Aplicacion> Aplicacions { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,9 +12,9 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public TipoDocumento()
|
||||
{
|
||||
SubCategoriaTipoDocumento = new HashSet<SubCategoriaTipoDocumento>();
|
||||
Documentos = new HashSet<Documentos>();
|
||||
DocumentosAdjuntos = new HashSet<DocumentosAdjuntos>();
|
||||
SubCategoriaTipoDocumentoes = new HashSet<SubCategoriaTipoDocumento>();
|
||||
Documentos = new HashSet<Documento>();
|
||||
DocumentosAdjuntos = new HashSet<DocumentosAdjunto>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
|
|
@ -37,12 +37,12 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
public string UsuarioModificacion { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<SubCategoriaTipoDocumento> SubCategoriaTipoDocumento { get; set; }
|
||||
public virtual ICollection<SubCategoriaTipoDocumento> SubCategoriaTipoDocumentoes { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<Documentos> Documentos { get; set; }
|
||||
public virtual ICollection<Documento> Documentos { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<DocumentosAdjuntos> DocumentosAdjuntos { get; set; }
|
||||
public virtual ICollection<DocumentosAdjunto> DocumentosAdjuntos { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public TipoEmisor()
|
||||
{
|
||||
Emisor = new HashSet<Emisor>();
|
||||
Emisors = new HashSet<Emisor>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
|
|
@ -35,6 +35,6 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
public string UsuarioModificacion { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<Emisor> Emisor { get; set; }
|
||||
public virtual ICollection<Emisor> Emisors { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public TipoEstado()
|
||||
{
|
||||
Estado1 = new HashSet<Estado>();
|
||||
Estadoes = new HashSet<Estado>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
|
|
@ -35,6 +35,6 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
public string UsuarioModificacion { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<Estado> Estado1 { get; set; }
|
||||
public virtual ICollection<Estado> Estadoes { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public TipoProyecto()
|
||||
{
|
||||
ProyectoNormativo = new HashSet<ProyectoNormativo>();
|
||||
ProyectoNormativoes = new HashSet<ProyectoNormativo>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
|
|
@ -33,6 +33,6 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
public string UsuarioModificacion { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<ProyectoNormativo> ProyectoNormativo { get; set; }
|
||||
public virtual ICollection<ProyectoNormativo> ProyectoNormativoes { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public TipoSolicitud()
|
||||
{
|
||||
Solicitud = new HashSet<Solicitud>();
|
||||
Solicituds = new HashSet<Solicitud>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
|
|
@ -35,6 +35,6 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
public string UsuarioModificacion { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<Solicitud> Solicitud { get; set; }
|
||||
public virtual ICollection<Solicitud> Solicituds { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,11 +12,11 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Usuario()
|
||||
{
|
||||
RolesUsuario = new HashSet<RolesUsuario>();
|
||||
Convocatoria = new HashSet<Convocatoria>();
|
||||
Solicitud = new HashSet<Solicitud>();
|
||||
TareasPendientes = new HashSet<TareasPendientes>();
|
||||
Solicitud1 = new HashSet<Solicitud>();
|
||||
RolesUsuarios = new HashSet<RolesUsuario>();
|
||||
Convocatorias = new HashSet<Convocatoria>();
|
||||
Solicituds = new HashSet<Solicitud>();
|
||||
TareasPendientes = new HashSet<TareasPendiente>();
|
||||
Solicituds1 = new HashSet<Solicitud>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
|
|
@ -42,18 +42,18 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
public string UsuarioModificacion { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<RolesUsuario> RolesUsuario { get; set; }
|
||||
public virtual ICollection<RolesUsuario> RolesUsuarios { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<Convocatoria> Convocatoria { get; set; }
|
||||
public virtual ICollection<Convocatoria> Convocatorias { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<Solicitud> Solicitud { get; set; }
|
||||
public virtual ICollection<Solicitud> Solicituds { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<TareasPendientes> TareasPendientes { get; set; }
|
||||
public virtual ICollection<TareasPendiente> TareasPendientes { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<Solicitud> Solicitud1 { get; set; }
|
||||
public virtual ICollection<Solicitud> Solicituds1 { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue