git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C43
This commit is contained in:
parent
09cd7d49e7
commit
d0ef2af557
29 changed files with 193884 additions and 236 deletions
|
|
@ -128,5 +128,13 @@ namespace AYA.SlnSinort.WCF
|
|||
return respuesta;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Pantallas
|
||||
public List<Pantallas> ObtenerPantallas(Usuario model)
|
||||
{
|
||||
return new PantallasDAL().ObtenerPantallas(model);
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -182,9 +182,6 @@
|
|||
<Compile Include="App_Start\RouteConfig.cs" />
|
||||
<Compile Include="App_Start\Startup.Auth.cs" />
|
||||
<Compile Include="App_Start\WebApiConfig.cs" />
|
||||
<Compile Include="ControllersWebApi\Matenimimento\AplicacionAPIController.cs" />
|
||||
<Compile Include="ControllersWebApi\Matenimimento\EmisorAPIController.cs" />
|
||||
<Compile Include="ControllersWebApi\Matenimimento\MantenimientoAPIController.cs" />
|
||||
<Compile Include="Controllers\AccountController.cs" />
|
||||
<Compile Include="Controllers\BaseController.cs" />
|
||||
<Compile Include="Controllers\Catalogos\CatalogosController.cs" />
|
||||
|
|
@ -7734,6 +7731,9 @@
|
|||
<Name>AYA.SlnSinortModel</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<WCFMetadata Include="Service References\" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@ using System.Linq;
|
|||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
using System.Configuration;
|
||||
using AYA.SlnSinortModel.Sinort;
|
||||
using AYA.SlnSinortModel.DAL.Sinort;
|
||||
|
||||
namespace AYA.SlnSinort.Controllers
|
||||
{
|
||||
|
|
@ -17,6 +19,10 @@ namespace AYA.SlnSinort.Controllers
|
|||
|
||||
ViewBag.SinortWCF = SinortWCF;
|
||||
ViewBag.SinortCatalogosWCF = SinortCatalogosWCF;
|
||||
|
||||
var ListaPantallas = new PantallasDAL().ObtenerPantallas(null);
|
||||
|
||||
ViewBag.ListaPantallas = ListaPantallas;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -14,20 +14,6 @@ namespace AYA.SlnSinort.Controllers
|
|||
return View();
|
||||
}
|
||||
|
||||
public ActionResult About()
|
||||
{
|
||||
ViewBag.Message = "Your application description page.";
|
||||
|
||||
return View();
|
||||
}
|
||||
|
||||
public ActionResult Contact()
|
||||
{
|
||||
ViewBag.Message = "Your contact page.";
|
||||
|
||||
return View();
|
||||
}
|
||||
|
||||
public ActionResult Normativa_Reglamentacion_Tecnica()
|
||||
{
|
||||
return View();
|
||||
|
|
|
|||
|
|
@ -1,51 +0,0 @@
|
|||
using AYA.SlnSinortModel.DAL.Sinort;
|
||||
using AYA.SlnSinortModel.Entidades;
|
||||
using AYA.SlnSinortModel.Sinort;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Http;
|
||||
|
||||
|
||||
namespace AYA.SlnSinort.ControllersWebApi.Matenimimento
|
||||
{
|
||||
public class AplicacionAPIController : ApiController
|
||||
{
|
||||
#region Aplicacion
|
||||
[HttpGet]
|
||||
public List<Aplicacion> ObtenerAplicacion()
|
||||
{
|
||||
List<Aplicacion> respuesta = null;
|
||||
try
|
||||
{
|
||||
respuesta = new AplicacionDAL().ObtenerAplicacion();
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw;
|
||||
}
|
||||
return respuesta;
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
public BaseJson InsertarActualizarAplicacion(Aplicacion model)
|
||||
{
|
||||
BaseJson respuesta = new BaseJson();
|
||||
try
|
||||
{
|
||||
respuesta = new AplicacionDAL().InsertarActualizarAplicacion(model);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
throw;
|
||||
}
|
||||
return respuesta;
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
|
@ -1,52 +0,0 @@
|
|||
using AYA.SlnSinortModel.DAL.Sinort;
|
||||
using AYA.SlnSinortModel.Entidades;
|
||||
using AYA.SlnSinortModel.Sinort;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Http;
|
||||
|
||||
namespace AYA.SlnSinort.ControllersWebApi.Matenimimento
|
||||
{
|
||||
public class EmisorAPIController : ApiController
|
||||
{
|
||||
#region Emisor
|
||||
[HttpGet]
|
||||
public List<Emisor> ObtenerEmisor()
|
||||
{
|
||||
List<Emisor> respuesta = null;
|
||||
try
|
||||
{
|
||||
respuesta = new EmisorDAL().ObtenerEmisor();
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw;
|
||||
}
|
||||
return respuesta;
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
public BaseJson InsertarActualizarEmisor(Emisor model)
|
||||
{
|
||||
BaseJson respuesta = new BaseJson();
|
||||
try
|
||||
{
|
||||
respuesta = new EmisorDAL().InsertarActualizarEmisor(model);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
throw;
|
||||
}
|
||||
return respuesta;
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
using AYA.SlnSinortModel.DAL.Sinort;
|
||||
using AYA.SlnSinortModel.Entidades;
|
||||
using AYA.SlnSinortModel.Sinort;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Http;
|
||||
|
||||
|
||||
namespace AYA.SlnSinort.ControllersWebApi.Matenimimento
|
||||
{
|
||||
public class MantenimientoAPIController : ApiController
|
||||
{
|
||||
|
||||
[HttpGet]
|
||||
public List<Mantenimiento> ObtenerMantenimientoCatalogos()
|
||||
{
|
||||
List<Mantenimiento> respuesta = null;
|
||||
try
|
||||
{
|
||||
respuesta = new MantenimientoDAL().ObtenerMantenimientoCatalogos();
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw;
|
||||
}
|
||||
return respuesta;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
<!-- Google Font -->
|
||||
<link rel="stylesheet"
|
||||
href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
|
||||
<link rel="stylesheet" href="~/Content/Principal.css" >
|
||||
<link rel="stylesheet" href="~/Content/Principal.css">
|
||||
@*@Styles.Render("~/Content/dashboard")*@
|
||||
@Scripts.Render("~/bundles/modernizr")
|
||||
@Scripts.Render("~/bundles/jquery")
|
||||
|
|
@ -49,30 +49,8 @@
|
|||
<span class="logo-lg"><img src="~/dist/img/LogoAyA.jpg" alt="logo"></span>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<nav class="navbar navbar-static-top" role="navigation">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
</a>
|
||||
|
|
@ -176,7 +154,7 @@
|
|||
<li class="user-body">
|
||||
<div class="row">
|
||||
<div class="col-xs-4 text-center">
|
||||
<a href="#">usuaro@aya.go.cr</a>
|
||||
<a href="#">usuario@aya.go.cr</a>
|
||||
</div>
|
||||
<div class="col-xs-4 text-center">
|
||||
<a href="#"></a>
|
||||
|
|
@ -234,7 +212,35 @@
|
|||
<ul class="sidebar-menu" data-widget="tree">
|
||||
<li class="header">PANEL PRINCIPAL</li>
|
||||
|
||||
@foreach (var option in ViewBag.ListaPantallas)
|
||||
{
|
||||
|
||||
<li class="treeview">
|
||||
@if (@option.IdPadre == null)
|
||||
{
|
||||
<a href="#">
|
||||
<i class="fa fa-book"></i>
|
||||
<span>
|
||||
@option.Descripcion
|
||||
</span>
|
||||
<span class="pull-right-container">
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</span>
|
||||
</a>
|
||||
}
|
||||
|
||||
@if (!string.IsNullOrWhiteSpace(option.Vista))
|
||||
{
|
||||
string[] mvc = @option.Vista.Split('/');
|
||||
<ul class="treeview-menu">
|
||||
<li><a href="@Url.Action(mvc[1],mvc[0])"> @option.Descripcion</a></li>
|
||||
</ul>
|
||||
}
|
||||
|
||||
</li>
|
||||
}
|
||||
|
||||
@*<li class="treeview">
|
||||
<a href="#">
|
||||
<i class="fa fa-book"></i> <span>Normativa y </br> Reglamentación Técnica </span> <span class="pull-right-container">
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
|
|
@ -282,7 +288,7 @@
|
|||
<li><a href="#">Estadisticas</a></li>
|
||||
<li><a href="#">Documentos</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</li>*@
|
||||
|
||||
</ul>
|
||||
|
||||
|
|
@ -430,7 +436,7 @@
|
|||
<div class="control-sidebar-bg"></div>
|
||||
</div>
|
||||
|
||||
<input type="hidden" id="hiddenSinortWCF" value="@ViewBag.SinortWCF"/>
|
||||
<input type="hidden" id="hiddenSinortWCF" value="@ViewBag.SinortWCF" />
|
||||
<input type="hidden" id="hiddenSinortCatalogosWCF" value="@ViewBag.SinortCatalogosWCF" />
|
||||
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -66,6 +66,7 @@
|
|||
<Compile Include="Sinort\ForoDAL.cs" />
|
||||
<Compile Include="Sinort\MantenimientoDAL.cs" />
|
||||
<Compile Include="Sinort\MatrizDAL.cs" />
|
||||
<Compile Include="Sinort\PantallasDAL.cs" />
|
||||
<Compile Include="Sinort\PermisosUsuarioDAL.cs" />
|
||||
<Compile Include="Sinort\PlantillaEmailDAL.cs" />
|
||||
<Compile Include="Sinort\RolesDAL.cs" />
|
||||
|
|
|
|||
31
AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/PantallasDAL.cs
Normal file
31
AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/PantallasDAL.cs
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
using AYA.SlnSinortModel.Sinort;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AYA.SlnSinortModel.DAL.Sinort
|
||||
{
|
||||
public class PantallasDAL
|
||||
{
|
||||
public List<Pantallas> ObtenerPantallas(Usuario model)
|
||||
{
|
||||
List<Pantallas> registros = null;
|
||||
try
|
||||
{
|
||||
using (SinortContex db = new SinortContex())
|
||||
{
|
||||
registros = db.Pantallas.Where(t => t.Estado == true).OrderBy(q => q.IdPantalla).ToList();
|
||||
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
//log.Error(ex);
|
||||
}
|
||||
|
||||
return registros;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -72,6 +72,7 @@
|
|||
<Compile Include="Sinort\Foro.cs" />
|
||||
<Compile Include="Sinort\Mantenimiento.cs" />
|
||||
<Compile Include="Sinort\Matriz.cs" />
|
||||
<Compile Include="Sinort\Pantallas.cs" />
|
||||
<Compile Include="Sinort\Partial\Contex.cs" />
|
||||
<Compile Include="Sinort\PermisosUsuario.cs" />
|
||||
<Compile Include="Sinort\PlantillaEmail.cs" />
|
||||
|
|
|
|||
36
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Pantallas.cs
Normal file
36
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Pantallas.cs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
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.Pantallas")]
|
||||
public partial class Pantallas
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int IdPantalla { get; set; }
|
||||
|
||||
public int? IdPadre { get; set; }
|
||||
|
||||
[StringLength(100)]
|
||||
public string Descripcion { get; set; }
|
||||
|
||||
[StringLength(200)]
|
||||
public string Vista { 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; }
|
||||
}
|
||||
}
|
||||
375
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/SinortContex.cs
Normal file
375
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/SinortContex.cs
Normal file
|
|
@ -0,0 +1,375 @@
|
|||
using System;
|
||||
using System.Data.Entity;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using AYA.SlnSinortModel.Sinort.Partial;
|
||||
|
||||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
|
||||
public partial class SinortContex : Contex
|
||||
{
|
||||
public virtual DbSet<Aplicacion> Aplicacion { get; set; }
|
||||
public virtual DbSet<Categoria> Categoria { get; set; }
|
||||
public virtual DbSet<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<PermisosUsuario> PermisosUsuario { get; set; }
|
||||
public virtual DbSet<PlantillaEmail> PlantillaEmail { get; set; }
|
||||
public virtual DbSet<Roles> Roles { 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<TipoForo> TipoForo { get; set; }
|
||||
public virtual DbSet<TipoMatriz> TipoMatriz { 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<ComentariosForo> ComentariosForo { get; set; }
|
||||
public virtual DbSet<ComentariosMatriz> ComentariosMatriz { get; set; }
|
||||
public virtual DbSet<Convocatoria> Convocatoria { get; set; }
|
||||
public virtual DbSet<Foro> Foro { get; set; }
|
||||
public virtual DbSet<Matriz> Matriz { 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<PermisosUsuario>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<PermisosUsuario>()
|
||||
.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<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<TipoForo>()
|
||||
.Property(e => e.Descripcion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TipoForo>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TipoForo>()
|
||||
.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<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<ComentariosForo>()
|
||||
.Property(e => e.Asunto)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ComentariosForo>()
|
||||
.Property(e => e.Respuesta)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ComentariosForo>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ComentariosForo>()
|
||||
.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<Convocatoria>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Convocatoria>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Foro>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Foro>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Foro>()
|
||||
.HasMany(e => e.Convocatoria)
|
||||
.WithRequired(e => e.Foro)
|
||||
.WillCascadeOnDelete(false);
|
||||
|
||||
modelBuilder.Entity<Matriz>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Matriz>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -37,6 +37,10 @@
|
|||
<Reference Include="APCEncryptLibrary">
|
||||
<HintPath>..\..\..\..\..\..\..\..\DLL\APCEncryptLibrary.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\log4net.2.0.8\lib\net45-full\log4net.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.11.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="log4net" version="2.0.8" targetFramework="net45" />
|
||||
<package id="Newtonsoft.Json" version="11.0.2" targetFramework="net45" />
|
||||
</packages>
|
||||
BIN
AYA.SlnSynor/packages/log4net.2.0.8/lib/net20-full/log4net.dll
vendored
Normal file
BIN
AYA.SlnSynor/packages/log4net.2.0.8/lib/net20-full/log4net.dll
vendored
Normal file
Binary file not shown.
31421
AYA.SlnSynor/packages/log4net.2.0.8/lib/net20-full/log4net.xml
vendored
Normal file
31421
AYA.SlnSynor/packages/log4net.2.0.8/lib/net20-full/log4net.xml
vendored
Normal file
File diff suppressed because it is too large
Load diff
BIN
AYA.SlnSynor/packages/log4net.2.0.8/lib/net35-client/log4net.dll
vendored
Normal file
BIN
AYA.SlnSynor/packages/log4net.2.0.8/lib/net35-client/log4net.dll
vendored
Normal file
Binary file not shown.
32259
AYA.SlnSynor/packages/log4net.2.0.8/lib/net35-client/log4net.xml
vendored
Normal file
32259
AYA.SlnSynor/packages/log4net.2.0.8/lib/net35-client/log4net.xml
vendored
Normal file
File diff suppressed because it is too large
Load diff
BIN
AYA.SlnSynor/packages/log4net.2.0.8/lib/net35-full/log4net.dll
vendored
Normal file
BIN
AYA.SlnSynor/packages/log4net.2.0.8/lib/net35-full/log4net.dll
vendored
Normal file
Binary file not shown.
32464
AYA.SlnSynor/packages/log4net.2.0.8/lib/net35-full/log4net.xml
vendored
Normal file
32464
AYA.SlnSynor/packages/log4net.2.0.8/lib/net35-full/log4net.xml
vendored
Normal file
File diff suppressed because it is too large
Load diff
BIN
AYA.SlnSynor/packages/log4net.2.0.8/lib/net40-client/log4net.dll
vendored
Normal file
BIN
AYA.SlnSynor/packages/log4net.2.0.8/lib/net40-client/log4net.dll
vendored
Normal file
Binary file not shown.
32259
AYA.SlnSynor/packages/log4net.2.0.8/lib/net40-client/log4net.xml
vendored
Normal file
32259
AYA.SlnSynor/packages/log4net.2.0.8/lib/net40-client/log4net.xml
vendored
Normal file
File diff suppressed because it is too large
Load diff
BIN
AYA.SlnSynor/packages/log4net.2.0.8/lib/net40-full/log4net.dll
vendored
Normal file
BIN
AYA.SlnSynor/packages/log4net.2.0.8/lib/net40-full/log4net.dll
vendored
Normal file
Binary file not shown.
32464
AYA.SlnSynor/packages/log4net.2.0.8/lib/net40-full/log4net.xml
vendored
Normal file
32464
AYA.SlnSynor/packages/log4net.2.0.8/lib/net40-full/log4net.xml
vendored
Normal file
File diff suppressed because it is too large
Load diff
BIN
AYA.SlnSynor/packages/log4net.2.0.8/lib/net45-full/log4net.dll
vendored
Normal file
BIN
AYA.SlnSynor/packages/log4net.2.0.8/lib/net45-full/log4net.dll
vendored
Normal file
Binary file not shown.
32464
AYA.SlnSynor/packages/log4net.2.0.8/lib/net45-full/log4net.xml
vendored
Normal file
32464
AYA.SlnSynor/packages/log4net.2.0.8/lib/net45-full/log4net.xml
vendored
Normal file
File diff suppressed because it is too large
Load diff
BIN
AYA.SlnSynor/packages/log4net.2.0.8/lib/netstandard1.3/log4net.dll
vendored
Normal file
BIN
AYA.SlnSynor/packages/log4net.2.0.8/lib/netstandard1.3/log4net.dll
vendored
Normal file
Binary file not shown.
BIN
AYA.SlnSynor/packages/log4net.2.0.8/log4net.2.0.8.nupkg
vendored
Normal file
BIN
AYA.SlnSynor/packages/log4net.2.0.8/log4net.2.0.8.nupkg
vendored
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue