git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C449
This commit is contained in:
parent
0c4542f196
commit
13c0b70b92
3 changed files with 87 additions and 1 deletions
|
|
@ -124,6 +124,7 @@
|
|||
<Compile Include="Sinort\TipoProyecto.cs" />
|
||||
<Compile Include="Sinort\TipoSolicitud.cs" />
|
||||
<Compile Include="Sinort\Usuario.cs" />
|
||||
<Compile Include="Sinort\UsuarioExterno.cs" />
|
||||
<Compile Include="Sinort\UsuariosEncuesta.cs" />
|
||||
<Compile Include="Sinort\Wiki.cs" />
|
||||
</ItemGroup>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
|
||||
public partial class SinortContex : Contex
|
||||
{
|
||||
|
||||
|
||||
|
||||
public virtual DbSet<Aplicacion> Aplicacion { get; set; }
|
||||
public virtual DbSet<AreaAplicacionDocumentoTecnico> AreaAplicacionDocumentoTecnico { get; set; }
|
||||
|
|
@ -38,6 +38,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
public virtual DbSet<TipoProyecto> TipoProyecto { get; set; }
|
||||
public virtual DbSet<TipoSolicitud> TipoSolicitud { get; set; }
|
||||
public virtual DbSet<Usuario> Usuario { get; set; }
|
||||
public virtual DbSet<UsuarioExterno> UsuarioExterno { get; set; }
|
||||
public virtual DbSet<BitacoraDocumentos> BitacoraDocumentos { get; set; }
|
||||
public virtual DbSet<Documentos> Documentos { get; set; }
|
||||
public virtual DbSet<DocumentosAdjuntos> DocumentosAdjuntos { get; set; }
|
||||
|
|
@ -499,6 +500,38 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
.WithRequired(e => e.Usuario)
|
||||
.WillCascadeOnDelete(false);
|
||||
|
||||
modelBuilder.Entity<UsuarioExterno>()
|
||||
.Property(e => e.Usuario)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<UsuarioExterno>()
|
||||
.Property(e => e.Password)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<UsuarioExterno>()
|
||||
.Property(e => e.Nombre)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<UsuarioExterno>()
|
||||
.Property(e => e.Apellido1)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<UsuarioExterno>()
|
||||
.Property(e => e.Apellido2)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<UsuarioExterno>()
|
||||
.Property(e => e.Email)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<UsuarioExterno>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<UsuarioExterno>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<BitacoraDocumentos>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
|
@ -540,6 +573,10 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
.Property(e => e.TipoArchivo)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<DocumentosAdjuntos>()
|
||||
.Property(e => e.TipoExpediente)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<DocumentosAdjuntos>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
|
@ -641,6 +678,10 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
.Property(e => e.Justificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Convocatoria>()
|
||||
.Property(e => e.AsuntoDiscusionFocalizada)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Convocatoria>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
|
|
|||
44
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/UsuarioExterno.cs
Normal file
44
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/UsuarioExterno.cs
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
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.UsuarioExterno")]
|
||||
public partial class UsuarioExterno
|
||||
{
|
||||
[Key]
|
||||
[StringLength(200)]
|
||||
public string Usuario { get; set; }
|
||||
|
||||
[Required]
|
||||
[StringLength(200)]
|
||||
public string Password { get; set; }
|
||||
|
||||
[StringLength(200)]
|
||||
public string Nombre { get; set; }
|
||||
|
||||
[StringLength(200)]
|
||||
public string Apellido1 { get; set; }
|
||||
|
||||
[StringLength(200)]
|
||||
public string Apellido2 { get; set; }
|
||||
|
||||
[StringLength(200)]
|
||||
public string Email { 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; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue