git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C85
This commit is contained in:
parent
3ed39e7a81
commit
e8e48f7b42
9 changed files with 409 additions and 211 deletions
|
|
@ -102,7 +102,7 @@
|
||||||
</system.webServer>
|
</system.webServer>
|
||||||
|
|
||||||
<connectionStrings>
|
<connectionStrings>
|
||||||
<!--<add name="Contex" connectionString="data source=192.168.1.37;initial catalog=SinortAyA;persist security info=True;user id=sinort;password=sinort2018;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />-->
|
<add name="Contex" connectionString="data source=192.168.1.37;initial catalog=SinortAyA;persist security info=True;user id=sinort;password=sinort2018;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
|
||||||
<add name="Contex" connectionString="data source=10.50.1.98;initial catalog=SINORT;persist security info=True;user id=usersinort;password=usersinort;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
|
<!--<add name="Contex" connectionString="data source=10.50.1.98;initial catalog=SINORT;persist security info=True;user id=usersinort;password=usersinort;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />-->
|
||||||
</connectionStrings>
|
</connectionStrings>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
|
||||||
|
|
@ -69,16 +69,13 @@
|
||||||
<Compile Include="Sinort\Aplicacion.cs" />
|
<Compile Include="Sinort\Aplicacion.cs" />
|
||||||
<Compile Include="Sinort\BitacoraDocumentos.cs" />
|
<Compile Include="Sinort\BitacoraDocumentos.cs" />
|
||||||
<Compile Include="Sinort\Categoria.cs" />
|
<Compile Include="Sinort\Categoria.cs" />
|
||||||
<Compile Include="Sinort\ComentariosForo.cs" />
|
|
||||||
<Compile Include="Sinort\ComentariosMatriz.cs" />
|
<Compile Include="Sinort\ComentariosMatriz.cs" />
|
||||||
<Compile Include="Sinort\ComentariosProyecto.cs" />
|
<Compile Include="Sinort\ComentariosProyecto.cs" />
|
||||||
<Compile Include="Sinort\Convocatoria.cs" />
|
<Compile Include="Sinort\Convocatoria.cs" />
|
||||||
<Compile Include="Sinort\ConvocatoriaProyectoNormativo.cs" />
|
|
||||||
<Compile Include="Sinort\Documentos.cs" />
|
<Compile Include="Sinort\Documentos.cs" />
|
||||||
<Compile Include="Sinort\DocumentosAdjuntos.cs" />
|
<Compile Include="Sinort\DocumentosAdjuntos.cs" />
|
||||||
<Compile Include="Sinort\Emisor.cs" />
|
<Compile Include="Sinort\Emisor.cs" />
|
||||||
<Compile Include="Sinort\Estado.cs" />
|
<Compile Include="Sinort\Estado.cs" />
|
||||||
<Compile Include="Sinort\Foro.cs" />
|
|
||||||
<Compile Include="Sinort\Mantenimiento.cs" />
|
<Compile Include="Sinort\Mantenimiento.cs" />
|
||||||
<Compile Include="Sinort\Matriz.cs" />
|
<Compile Include="Sinort\Matriz.cs" />
|
||||||
<Compile Include="Sinort\Pantallas.cs" />
|
<Compile Include="Sinort\Pantallas.cs" />
|
||||||
|
|
@ -89,12 +86,10 @@
|
||||||
<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\sysdiagrams.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" />
|
||||||
<Compile Include="Sinort\TipoEstado.cs" />
|
<Compile Include="Sinort\TipoEstado.cs" />
|
||||||
<Compile Include="Sinort\TipoForo.cs" />
|
|
||||||
<Compile Include="Sinort\TipoMatriz.cs" />
|
<Compile Include="Sinort\TipoMatriz.cs" />
|
||||||
<Compile Include="Sinort\TipoProyecto.cs" />
|
<Compile Include="Sinort\TipoProyecto.cs" />
|
||||||
<Compile Include="Sinort\Usuario.cs" />
|
<Compile Include="Sinort\Usuario.cs" />
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,4 @@
|
||||||
<!--<connectionStrings>
|
<!--<connectionStrings>
|
||||||
<add name="Contex" connectionString="data source=192.168.1.37;initial catalog=SinortAyA;persist security info=True;user id=sinort;password=sinort2018;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
|
<add name="Contex" connectionString="data source=192.168.1.37;initial catalog=SinortAyA;persist security info=True;user id=sinort;password=sinort2018;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
|
||||||
</connectionStrings>-->
|
</connectionStrings>-->
|
||||||
<connectionStrings>
|
|
||||||
<add name="SinortContex" connectionString="data source=192.168.1.37;initial catalog=SinortAyA;persist security info=True;user id=sinort;password=sinort2018;multipleactiveresultsets=True;application name=EntityFramework" providerName="System.Data.SqlClient" />
|
|
||||||
|
|
||||||
</connectionStrings>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
@ -1,39 +0,0 @@
|
||||||
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.ComentariosForo")]
|
|
||||||
public partial class ComentariosForo
|
|
||||||
{
|
|
||||||
[Key]
|
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
||||||
public int IdComentarioForo { get; set; }
|
|
||||||
|
|
||||||
public int? IdForo { get; set; }
|
|
||||||
|
|
||||||
[StringLength(200)]
|
|
||||||
public string Asunto { get; set; }
|
|
||||||
|
|
||||||
public int? IdUsuario { get; set; }
|
|
||||||
|
|
||||||
public string Respuesta { get; set; }
|
|
||||||
|
|
||||||
public int? IdDocumento { 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 Documentos Documentos { get; set; }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,41 +0,0 @@
|
||||||
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("Normativo.ConvocatoriaProyectoNormativo")]
|
|
||||||
public partial class ConvocatoriaProyectoNormativo
|
|
||||||
{
|
|
||||||
[Key]
|
|
||||||
[Column(Order = 0)]
|
|
||||||
[StringLength(200)]
|
|
||||||
public string UsuarioSistema { get; set; }
|
|
||||||
|
|
||||||
[Key]
|
|
||||||
[Column(Order = 1)]
|
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
||||||
public int IdProyectoNormativo { get; set; }
|
|
||||||
|
|
||||||
public DateTime? FechaCreacion { get; set; }
|
|
||||||
|
|
||||||
public bool? Estado { get; set; }
|
|
||||||
|
|
||||||
[StringLength(500)]
|
|
||||||
public string Justificación { get; set; }
|
|
||||||
|
|
||||||
[StringLength(200)]
|
|
||||||
public string UsuarioCreacion { get; set; }
|
|
||||||
|
|
||||||
public DateTime? FechaModificacion { get; set; }
|
|
||||||
|
|
||||||
[StringLength(200)]
|
|
||||||
public string UsuarioModificacion { get; set; }
|
|
||||||
|
|
||||||
public virtual Usuario Usuario { get; set; }
|
|
||||||
|
|
||||||
public virtual ProyectoNormativo ProyectoNormativo { get; set; }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,58 +0,0 @@
|
||||||
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.Foro")]
|
|
||||||
public partial class Foro
|
|
||||||
{
|
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
|
||||||
public Foro()
|
|
||||||
{
|
|
||||||
ComentariosForo = new HashSet<ComentariosForo>();
|
|
||||||
Convocatoria = new HashSet<Convocatoria>();
|
|
||||||
ProyectoNormativo = new HashSet<ProyectoNormativo>();
|
|
||||||
}
|
|
||||||
|
|
||||||
[Key]
|
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
||||||
public int IdForo { get; set; }
|
|
||||||
|
|
||||||
public int? IdTipoForo { get; set; }
|
|
||||||
|
|
||||||
[StringLength(200)]
|
|
||||||
public string Tema { get; set; }
|
|
||||||
|
|
||||||
public DateTime? FechaInicio { get; set; }
|
|
||||||
|
|
||||||
public DateTime? FechaCierre { get; set; }
|
|
||||||
|
|
||||||
public int? PromotorForo { get; set; }
|
|
||||||
|
|
||||||
public DateTime? FechaMaximaConfirmarParticipacion { 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 TipoForo TipoForo { get; set; }
|
|
||||||
|
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
||||||
public virtual ICollection<ComentariosForo> ComentariosForo { get; set; }
|
|
||||||
|
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
||||||
public virtual ICollection<Convocatoria> Convocatoria { get; set; }
|
|
||||||
|
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
||||||
public virtual ICollection<ProyectoNormativo> ProyectoNormativo { get; set; }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
407
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/SinortContex.cs
Normal file
407
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/SinortContex.cs
Normal file
|
|
@ -0,0 +1,407 @@
|
||||||
|
namespace AYA.SlnSinortModel.Sinort
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Data.Entity;
|
||||||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
using System.Linq;
|
||||||
|
using AYA.SlnSinortModel.Sinort.Partial;
|
||||||
|
|
||||||
|
public partial class SinortContex : Contex
|
||||||
|
{
|
||||||
|
public virtual DbSet<Aplicacion> Aplicacion { get; set; }
|
||||||
|
public virtual DbSet<Categoria> Categoria { get; set; }
|
||||||
|
public virtual DbSet<Emisor> Emisor { get; set; }
|
||||||
|
public virtual DbSet<Estado> Estado { get; set; }
|
||||||
|
public virtual DbSet<Mantenimiento> Mantenimiento { 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<TipoAplicacion> TipoAplicacion { 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<TipoMatriz> TipoMatriz { get; set; }
|
||||||
|
public virtual DbSet<TipoProyecto> TipoProyecto { 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<ComentariosMatriz> ComentariosMatriz { get; set; }
|
||||||
|
public virtual DbSet<ComentariosProyecto> ComentariosProyecto { get; set; }
|
||||||
|
public virtual DbSet<Convocatoria> Convocatoria { get; set; }
|
||||||
|
public virtual DbSet<Matriz> Matriz { get; set; }
|
||||||
|
public virtual DbSet<ProyectoNormativo> ProyectoNormativo { get; set; }
|
||||||
|
|
||||||
|
protected override void OnModelCreating(DbModelBuilder modelBuilder)
|
||||||
|
{
|
||||||
|
modelBuilder.Entity<Aplicacion>()
|
||||||
|
.Property(e => e.Descripcion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Aplicacion>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Aplicacion>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Categoria>()
|
||||||
|
.Property(e => e.Descripcion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Categoria>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Categoria>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Emisor>()
|
||||||
|
.Property(e => e.Descripcion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Emisor>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Emisor>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Estado>()
|
||||||
|
.Property(e => e.Descripcion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Estado>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Estado>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Mantenimiento>()
|
||||||
|
.Property(e => e.Catalogo)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Mantenimiento>()
|
||||||
|
.Property(e => e.Vista)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Mantenimiento>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Mantenimiento>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Pantallas>()
|
||||||
|
.Property(e => e.Descripcion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Pantallas>()
|
||||||
|
.Property(e => e.Vista)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Pantallas>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Pantallas>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<PlantillaEmail>()
|
||||||
|
.Property(e => e.NombrePlatilla)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<PlantillaEmail>()
|
||||||
|
.Property(e => e.Body)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<PlantillaEmail>()
|
||||||
|
.Property(e => e.Subject)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<PlantillaEmail>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<PlantillaEmail>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Roles>()
|
||||||
|
.Property(e => e.Descripcion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Roles>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Roles>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<RolesPantallas>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<RolesPantallas>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<RolesUsuario>()
|
||||||
|
.Property(e => e.UsuarioSistema)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<RolesUsuario>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<RolesUsuario>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<TipoAplicacion>()
|
||||||
|
.Property(e => e.Descripcion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<TipoAplicacion>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<TipoAplicacion>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<TipoDocumento>()
|
||||||
|
.Property(e => e.Descripcion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<TipoDocumento>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<TipoDocumento>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<TipoEmisor>()
|
||||||
|
.Property(e => e.Descripcion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<TipoEmisor>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<TipoEmisor>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<TipoEstado>()
|
||||||
|
.Property(e => e.Descripcion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<TipoEstado>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<TipoEstado>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<TipoMatriz>()
|
||||||
|
.Property(e => e.Descripcion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<TipoMatriz>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<TipoMatriz>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<TipoProyecto>()
|
||||||
|
.Property(e => e.Descripcion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<TipoProyecto>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<TipoProyecto>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Usuario>()
|
||||||
|
.Property(e => e.UsuarioSistema)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Usuario>()
|
||||||
|
.Property(e => e.NombreUsuario)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Usuario>()
|
||||||
|
.Property(e => e.EmailUsuario)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Usuario>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Usuario>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Usuario>()
|
||||||
|
.HasMany(e => e.Convocatoria)
|
||||||
|
.WithRequired(e => e.Usuario)
|
||||||
|
.WillCascadeOnDelete(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<BitacoraDocumentos>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<BitacoraDocumentos>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Documentos>()
|
||||||
|
.Property(e => e.NombreDocumento)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Documentos>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Documentos>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Documentos>()
|
||||||
|
.HasMany(e => e.BitacoraDocumentos)
|
||||||
|
.WithRequired(e => e.Documentos)
|
||||||
|
.WillCascadeOnDelete(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<DocumentosAdjuntos>()
|
||||||
|
.Property(e => e.Nombre)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<DocumentosAdjuntos>()
|
||||||
|
.Property(e => e.TipoArchivo)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<DocumentosAdjuntos>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<DocumentosAdjuntos>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<ComentariosMatriz>()
|
||||||
|
.Property(e => e.Asunto)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<ComentariosMatriz>()
|
||||||
|
.Property(e => e.Capitulo)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<ComentariosMatriz>()
|
||||||
|
.Property(e => e.ApartadoSeccionParrafo)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<ComentariosMatriz>()
|
||||||
|
.Property(e => e.TextoOriginal)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<ComentariosMatriz>()
|
||||||
|
.Property(e => e.TextoPropuesto)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<ComentariosMatriz>()
|
||||||
|
.Property(e => e.ComentarioObservacionJustificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<ComentariosMatriz>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<ComentariosMatriz>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<ComentariosProyecto>()
|
||||||
|
.Property(e => e.Asunto)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<ComentariosProyecto>()
|
||||||
|
.Property(e => e.UsuarioSistema)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<ComentariosProyecto>()
|
||||||
|
.Property(e => e.Respuesta)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<ComentariosProyecto>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<ComentariosProyecto>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Convocatoria>()
|
||||||
|
.Property(e => e.UsuarioSistema)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Convocatoria>()
|
||||||
|
.Property(e => e.Justificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Convocatoria>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Convocatoria>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Matriz>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Matriz>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<ProyectoNormativo>()
|
||||||
|
.Property(e => e.NombreProyectoNormativo)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<ProyectoNormativo>()
|
||||||
|
.Property(e => e.PromotorProyecto)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<ProyectoNormativo>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<ProyectoNormativo>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<ProyectoNormativo>()
|
||||||
|
.HasMany(e => e.Convocatoria)
|
||||||
|
.WithRequired(e => e.ProyectoNormativo)
|
||||||
|
.WillCascadeOnDelete(false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,38 +0,0 @@
|
||||||
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.TipoForo")]
|
|
||||||
public partial class TipoForo
|
|
||||||
{
|
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
|
||||||
public TipoForo()
|
|
||||||
{
|
|
||||||
Foro = new HashSet<Foro>();
|
|
||||||
}
|
|
||||||
|
|
||||||
[Key]
|
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
||||||
public int IdTipoForo { get; set; }
|
|
||||||
|
|
||||||
[StringLength(200)]
|
|
||||||
public string Descripcion { 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<Foro> Foro { get; set; }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,24 +0,0 @@
|
||||||
namespace AYA.SlnSinortModel.Sinort
|
|
||||||
{
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
|
||||||
using System.Data.Entity.Spatial;
|
|
||||||
|
|
||||||
public partial class sysdiagrams
|
|
||||||
{
|
|
||||||
[Required]
|
|
||||||
[StringLength(128)]
|
|
||||||
public string name { get; set; }
|
|
||||||
|
|
||||||
public int principal_id { get; set; }
|
|
||||||
|
|
||||||
[Key]
|
|
||||||
public int diagram_id { get; set; }
|
|
||||||
|
|
||||||
public int? version { get; set; }
|
|
||||||
|
|
||||||
public byte[] definition { get; set; }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Add table
Reference in a new issue