diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/ISinortCatalogos.cs b/AYA.SlnSynor/AYA.SlnSynor.WCF/ISinortCatalogos.cs
index a7947209d..4ba6cc615 100644
--- a/AYA.SlnSynor/AYA.SlnSynor.WCF/ISinortCatalogos.cs
+++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/ISinortCatalogos.cs
@@ -1,7 +1,7 @@
using AYA.SlnSinortModel.Constantes;
using AYA.SlnSinortModel.Entidades;
-using AYA.SlnSinortModel.Synort;
+using AYA.SlnSinortModel.Sinort;
using System;
using System.Collections.Generic;
using System.Linq;
diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/SinortCatalogos.svc.cs b/AYA.SlnSynor/AYA.SlnSynor.WCF/SinortCatalogos.svc.cs
index a79781043..74d0e16ef 100644
--- a/AYA.SlnSynor/AYA.SlnSynor.WCF/SinortCatalogos.svc.cs
+++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/SinortCatalogos.svc.cs
@@ -1,7 +1,7 @@
using AYA.SlnSinortModel.Constantes;
using AYA.SlnSinortModel.DAL.Sinort;
using AYA.SlnSinortModel.Entidades;
-using AYA.SlnSinortModel.Synort;
+using AYA.SlnSinortModel.Sinort;
using System;
using System.Collections.Generic;
using System.Linq;
diff --git a/AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSinort.csproj b/AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSinort.csproj
index 8490580fc..d86210a5a 100644
--- a/AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSinort.csproj
+++ b/AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSinort.csproj
@@ -183,6 +183,7 @@
+
@@ -6509,6 +6510,59 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -7216,6 +7270,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -7944,6 +8019,7 @@
+
@@ -8029,6 +8105,7 @@
+
Web.config
@@ -8074,12 +8151,14 @@
+
+
diff --git a/AYA.SlnSynor/AYA.SlnSynor/App_Start/BundleConfig.cs b/AYA.SlnSynor/AYA.SlnSynor/App_Start/BundleConfig.cs
index 3b9b66cf9..09742166d 100644
--- a/AYA.SlnSynor/AYA.SlnSynor/App_Start/BundleConfig.cs
+++ b/AYA.SlnSynor/AYA.SlnSynor/App_Start/BundleConfig.cs
@@ -52,7 +52,8 @@ namespace AYA.SlnSinort
.Include("~/Scripts/jquery.validate.min.js"));
bundles.Add(new ScriptBundle("~/Script-Catalogos")
- .Include("~/Sinort-Scripts/EmisorPN.js"));
+ .Include("~/Sinort-Scripts/EmisorPN.js")
+ .Include("~/Sinort-Scripts/Mantenimientos.js"));
}
}
diff --git a/AYA.SlnSynor/AYA.SlnSynor/Controllers/Catalogos/CatalogosController.cs b/AYA.SlnSynor/AYA.SlnSynor/Controllers/Catalogos/CatalogosController.cs
index 69201deae..e08a19c7d 100644
--- a/AYA.SlnSynor/AYA.SlnSynor/Controllers/Catalogos/CatalogosController.cs
+++ b/AYA.SlnSynor/AYA.SlnSynor/Controllers/Catalogos/CatalogosController.cs
@@ -14,6 +14,10 @@ namespace AYA.SlnSinort.Controllers.Catalogos
InitControllers();
return View();
}
-
+ public ActionResult Mantenimiento()
+ {
+ InitControllers();
+ return View();
+ }
}
}
\ No newline at end of file
diff --git a/AYA.SlnSynor/AYA.SlnSynor/ControllersWebApi/Matenimimento/EmisorAPIController.cs b/AYA.SlnSynor/AYA.SlnSynor/ControllersWebApi/Matenimimento/EmisorAPIController.cs
index c29ec284c..b5163c004 100644
--- a/AYA.SlnSynor/AYA.SlnSynor/ControllersWebApi/Matenimimento/EmisorAPIController.cs
+++ b/AYA.SlnSynor/AYA.SlnSynor/ControllersWebApi/Matenimimento/EmisorAPIController.cs
@@ -1,6 +1,6 @@
using AYA.SlnSinortModel.DAL.Sinort;
using AYA.SlnSinortModel.Entidades;
-using AYA.SlnSinortModel.Synort;
+using AYA.SlnSinortModel.Sinort;
using System;
using System.Collections.Generic;
using System.Linq;
diff --git a/AYA.SlnSynor/AYA.SlnSynor/ControllersWebApi/Matenimimento/MantenimientoAPIController.cs b/AYA.SlnSynor/AYA.SlnSynor/ControllersWebApi/Matenimimento/MantenimientoAPIController.cs
new file mode 100644
index 000000000..724645a96
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynor/ControllersWebApi/Matenimimento/MantenimientoAPIController.cs
@@ -0,0 +1,35 @@
+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 ObtenerMantenimientoCatalogos()
+ {
+ List respuesta = null;
+ try
+ {
+ respuesta = new MantenimientoDAL().ObtenerMantenimientoCatalogos();
+
+ }
+ catch (Exception ex)
+ {
+ throw;
+ }
+ return respuesta;
+ }
+
+
+
+ }
+}
\ No newline at end of file
diff --git a/AYA.SlnSynor/AYA.SlnSynor/Scripts/_references.js b/AYA.SlnSynor/AYA.SlnSynor/Scripts/_references.js
index 9e75fdd7f..fa1e8ba84 100644
Binary files a/AYA.SlnSynor/AYA.SlnSynor/Scripts/_references.js and b/AYA.SlnSynor/AYA.SlnSynor/Scripts/_references.js differ
diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Mantenimientos.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Mantenimientos.js
new file mode 100644
index 000000000..a5b1e2ad6
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Mantenimientos.js
@@ -0,0 +1,57 @@
+//#region READY
+
+jQuery(document).ready(function () {
+ CargarMantenimiento();
+});
+
+//#endregion
+
+this.CargarMantenimiento = function () {
+
+ var uri = "api/MantenimientoAPI/ObtenerMantenimientoCatalogos"
+ STARTREQUEST();
+
+ $.getJSON(server + uri).done(function (data) {
+
+ if (data != null) {
+ lista = data;
+ var Seleccionar = $("#ucbtnVista").html();
+ var columnDefinition = [
+ { "data": "Catalogo" },
+ { "data": null, className: "center", defaultContent: Seleccionar }
+ ];
+
+ $('#tableMantenimiento').TableInitSpanish(1, true, true, true, true, columnDefinition, lista);
+
+ if ($.fn.DataTable.isDataTable('#tableMantenimiento')) {
+ LoadMessage();
+ $('#tableMantenimiento').DataTable().search('').draw();
+ ENDREQUEST();
+ }
+ }
+
+ else {
+ toastr.error("Ha ocurrido un error inesperado. Vuelva a intentarlo mas tarde", Message_Error);
+ }
+
+ }).fail(function (jqxhr, textStatus, error) {
+ ENDREQUEST();
+ toastr.error("Ha ocurrido un error inesperado. Vuelva a intentarlo mas tarde", Message_Error);
+ }).then(function (value) {
+ ENDREQUEST();
+ });
+}
+
+$('#tableMantenimiento').on('click', 'button', function () {
+
+ var data = $('#tableMantenimiento').DataTable().row($(this).parents('tr')).data();
+
+ var mtzView = data.Vista.split('/')
+
+ url = $("#hiddenHref").val();
+ url = url.replace("View", mtzView[1]);
+ url = url.replace("Controller", mtzView[0]);
+
+ document.location.href = url;
+
+});
\ No newline at end of file
diff --git a/AYA.SlnSynor/AYA.SlnSynor/Views/Catalogos/Mantenimiento.cshtml b/AYA.SlnSynor/AYA.SlnSynor/Views/Catalogos/Mantenimiento.cshtml
new file mode 100644
index 000000000..8f92330e1
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynor/Views/Catalogos/Mantenimiento.cshtml
@@ -0,0 +1,35 @@
+
+@{
+ ViewBag.Title = "Mantenimiento";
+ Layout = "~/Views/Shared/_Layout.cshtml";
+}
+
+
+
+
+
+
+
+
+
+
+
+
+@Scripts.Render("~/Script-Catalogos")
+
+
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/AYA.SlnSinortModel.DAL.csproj b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/AYA.SlnSinortModel.DAL.csproj
index 9b2b3408a..3b5e86113 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/AYA.SlnSinortModel.DAL.csproj
+++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/AYA.SlnSinortModel.DAL.csproj
@@ -64,6 +64,7 @@
+
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/AplicacionDAL.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/AplicacionDAL.cs
index b4a769dc1..8e1e3c09b 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/AplicacionDAL.cs
+++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/AplicacionDAL.cs
@@ -5,7 +5,7 @@ using System.Text;
using System.Threading.Tasks;
using AYA.SlnSinortModel;
using AYA.SlnSinortModel.Entidades;
-using AYA.SlnSinortModel.Synort;
+using AYA.SlnSinortModel.Sinort;
namespace AYA.SlnSinortModel.DAL.Sinort
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/EmisorDAL.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/EmisorDAL.cs
index e2bfd2b0f..cb7d6522b 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/EmisorDAL.cs
+++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/EmisorDAL.cs
@@ -1,5 +1,5 @@
using AYA.SlnSinortModel.Entidades;
-using AYA.SlnSinortModel.Synort;
+using AYA.SlnSinortModel.Sinort;
using System;
using System.Collections.Generic;
using System.Linq;
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/MantenimientoDAL.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/MantenimientoDAL.cs
new file mode 100644
index 000000000..8f9e9ace6
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/MantenimientoDAL.cs
@@ -0,0 +1,34 @@
+using AYA.SlnSinortModel.Entidades;
+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 MantenimientoDAL
+ {
+
+ public List ObtenerMantenimientoCatalogos()
+ {
+ List registros = null;
+ try
+ {
+ using (SinortContex db = new SinortContex())
+ {
+ registros = db.Mantenimiento.Where(t => t.Estado == true).OrderBy(q => q.Catalogo).ToList();
+
+ }
+ }
+ catch (Exception ex)
+ {
+ //log.Error(ex);
+ }
+
+ return registros;
+ }
+
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/AYA.SlnSinortModel.csproj b/AYA.SlnSynor/AYA.SlnSynorModel/AYA.SlnSinortModel.csproj
index 9ca0af04a..63f054d56 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel/AYA.SlnSinortModel.csproj
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/AYA.SlnSinortModel.csproj
@@ -70,6 +70,7 @@
+
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AllDocStreams.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AllDocStreams.cs
new file mode 100644
index 000000000..a71525cae
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AllDocStreams.cs
@@ -0,0 +1,26 @@
+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 AllDocStreams
+ {
+ [Key]
+ [Column(Order = 0)]
+ public Guid Id { get; set; }
+
+ [Key]
+ [Column(Order = 1)]
+ public Guid SiteId { get; set; }
+
+ [Key]
+ [Column(Order = 2)]
+ [DatabaseGenerated(DatabaseGeneratedOption.None)]
+ public int InternalVersion { get; set; }
+
+ public byte[] Content { get; set; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AllDocVersions.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AllDocVersions.cs
new file mode 100644
index 000000000..9e306525d
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AllDocVersions.cs
@@ -0,0 +1,32 @@
+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 AllDocVersions
+ {
+ [Key]
+ [Column(Order = 0)]
+ public Guid SiteId { get; set; }
+
+ [Key]
+ [Column(Order = 1)]
+ public Guid Id { get; set; }
+
+ [Key]
+ [Column(Order = 2)]
+ [DatabaseGenerated(DatabaseGeneratedOption.None)]
+ public int UIVersion { get; set; }
+
+ public int? InternalVersion { get; set; }
+
+ public DateTime? TimeCreated { get; set; }
+
+ public int? Size { get; set; }
+
+ public byte[] MetaInfo { get; set; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AllDocs.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AllDocs.cs
new file mode 100644
index 000000000..49b2389e7
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AllDocs.cs
@@ -0,0 +1,43 @@
+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 AllDocs
+ {
+ [Key]
+ [Column(Order = 0)]
+ public Guid Id { get; set; }
+
+ [Key]
+ [Column(Order = 1)]
+ public Guid SiteId { get; set; }
+
+ [Required]
+ [StringLength(256)]
+ public string DirName { get; set; }
+
+ [Required]
+ [StringLength(128)]
+ public string LeafName { get; set; }
+
+ public Guid? ListId { get; set; }
+
+ public int? Size { get; set; }
+
+ public int? InternalVersion { get; set; }
+
+ public int UIVersion { get; set; }
+
+ public DateTime TimeCreated { get; set; }
+
+ public DateTime TimeLastModified { get; set; }
+
+ [DatabaseGenerated(DatabaseGeneratedOption.Computed)]
+ [StringLength(128)]
+ public string Extension { get; set; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AllLinks.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AllLinks.cs
new file mode 100644
index 000000000..e04062f00
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AllLinks.cs
@@ -0,0 +1,45 @@
+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 AllLinks
+ {
+ [Key]
+ [Column(Order = 0)]
+ public Guid SiteId { get; set; }
+
+ [Key]
+ [Column(Order = 1)]
+ public Guid ParentId { get; set; }
+
+ [Key]
+ [Column(Order = 2)]
+ public Guid DocId { get; set; }
+
+ public Guid? WebPartId { get; set; }
+
+ public Guid? FieldId { get; set; }
+
+ [Key]
+ [Column(Order = 3)]
+ [DatabaseGenerated(DatabaseGeneratedOption.None)]
+ public int LinkNumber { get; set; }
+
+ [Key]
+ [Column(Order = 4)]
+ [StringLength(256)]
+ public string TargetDirName { get; set; }
+
+ [Key]
+ [Column(Order = 5)]
+ public string TargetLeafName { get; set; }
+
+ [Key]
+ [Column(Order = 6)]
+ public string Search { get; set; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AllLists.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AllLists.cs
new file mode 100644
index 000000000..90655c9fc
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AllLists.cs
@@ -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;
+
+ public partial class AllLists
+ {
+ [Key]
+ [Column(Order = 0)]
+ public Guid tp_WebId { get; set; }
+
+ [Key]
+ [Column(Order = 1)]
+ public Guid tp_ID { get; set; }
+
+ [Required]
+ [StringLength(255)]
+ public string tp_Title { get; set; }
+
+ public DateTime tp_Created { get; set; }
+
+ public Guid? tp_FeatureId { get; set; }
+
+ public Guid tp_RootFolder { get; set; }
+
+ public Guid? tp_Template { get; set; }
+
+ [Required]
+ [StringLength(255)]
+ public string tp_ImageUrl { get; set; }
+
+ [Required]
+ public string tp_Description { get; set; }
+
+ public Guid tp_ScopeId { get; set; }
+
+ public byte[] tp_Fields { get; set; }
+
+ public byte[] tp_ContentTypes { get; set; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Aplicacion.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Aplicacion.cs
index ef779bd27..00fc10644 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Aplicacion.cs
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Aplicacion.cs
@@ -1,4 +1,4 @@
-namespace AYA.SlnSinortModel.Synort
+namespace AYA.SlnSinortModel.Sinort
{
using System;
using System.Collections.Generic;
@@ -15,8 +15,8 @@ namespace AYA.SlnSinortModel.Synort
[StringLength(200)]
public string Descripcion { get; set; }
- public bool? Estado { get; set; }
+ public bool? Estado { get; set; }
public DateTime? FechaCreacion { get; set; }
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AplicacionNyRT.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AplicacionNyRT.cs
new file mode 100644
index 000000000..c0108ae97
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AplicacionNyRT.cs
@@ -0,0 +1,39 @@
+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("AplicacionNyRT")]
+ public partial class AplicacionNyRT
+ {
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
+ public AplicacionNyRT()
+ {
+ FichaTecnica = new HashSet();
+ }
+
+ [Key]
+ public int id_aplicacion { get; set; }
+
+ [StringLength(100)]
+ public string titulo { get; set; }
+
+ public DateTime? fecha_creacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_creacion { get; set; }
+
+ public DateTime? fecha_modificacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_modificacion { get; set; }
+
+ public bool? estado { get; set; }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
+ public virtual ICollection FichaTecnica { get; set; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AplicacionPN.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AplicacionPN.cs
new file mode 100644
index 000000000..da0fccad8
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AplicacionPN.cs
@@ -0,0 +1,39 @@
+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("AplicacionPN")]
+ public partial class AplicacionPN
+ {
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
+ public AplicacionPN()
+ {
+ PropuestaNormativa = new HashSet();
+ }
+
+ [Key]
+ public int id_aplicacion { get; set; }
+
+ [StringLength(100)]
+ public string titulo { get; set; }
+
+ public DateTime? fecha_creacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_creacion { get; set; }
+
+ public DateTime? fecha_modificacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_modificacion { get; set; }
+
+ public bool? estado { get; set; }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
+ public virtual ICollection PropuestaNormativa { get; set; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AsignacionRol.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AsignacionRol.cs
new file mode 100644
index 000000000..ae4c0d191
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AsignacionRol.cs
@@ -0,0 +1,35 @@
+namespace AYA.SlnSinortModel.Sinort
+{
+ using System;
+ using System.Collections.Generic;
+ using System.ComponentModel.DataAnnotations;
+ using System.ComponentModel.DataAnnotations.Schema;
+ using System.Data.Entity.Spatial;
+
+ [Table("AsignacionRol")]
+ public partial class AsignacionRol
+ {
+ [Key]
+ public int id_asignacion { get; set; }
+
+ public int? id_usuario { get; set; }
+
+ public int? id_rol { get; set; }
+
+ public DateTime? fecha_creacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_creacion { get; set; }
+
+ public DateTime? fecha_modificacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_modificacion { get; set; }
+
+ public bool? estado { get; set; }
+
+ public virtual Rol Rol { get; set; }
+
+ public virtual Usuario Usuario { get; set; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/BitacoraDocumentos.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/BitacoraDocumentos.cs
index 070b11aea..a6a3cb282 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/BitacoraDocumentos.cs
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/BitacoraDocumentos.cs
@@ -1,4 +1,4 @@
-namespace AYA.SlnSinortModel.Synort
+namespace AYA.SlnSinortModel.Sinort
{
using System;
using System.Collections.Generic;
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Categoria.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Categoria.cs
index a92daf46d..89375b603 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Categoria.cs
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Categoria.cs
@@ -1,4 +1,4 @@
-namespace AYA.SlnSinortModel.Synort
+namespace AYA.SlnSinortModel.Sinort
{
using System;
using System.Collections.Generic;
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/ComentariosForo.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/ComentariosForo.cs
index 395e9f543..387588659 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/ComentariosForo.cs
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/ComentariosForo.cs
@@ -1,4 +1,4 @@
-namespace AYA.SlnSinortModel.Synort
+namespace AYA.SlnSinortModel.Sinort
{
using System;
using System.Collections.Generic;
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/ComentariosMatriz.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/ComentariosMatriz.cs
index f4cd9019a..b3db6473b 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/ComentariosMatriz.cs
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/ComentariosMatriz.cs
@@ -1,4 +1,4 @@
-namespace AYA.SlnSinortModel.Synort
+namespace AYA.SlnSinortModel.Sinort
{
using System;
using System.Collections.Generic;
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/ContenidoNyRT.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/ContenidoNyRT.cs
new file mode 100644
index 000000000..239ce8dc6
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/ContenidoNyRT.cs
@@ -0,0 +1,43 @@
+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("ContenidoNyRT")]
+ public partial class ContenidoNyRT
+ {
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
+ public ContenidoNyRT()
+ {
+ SubCatContenidoNyRT = new HashSet();
+ FichaTecnica = new HashSet();
+ }
+
+ [Key]
+ public int id_contenido { get; set; }
+
+ [StringLength(100)]
+ public string titulo { get; set; }
+
+ public DateTime? fecha_creacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_creacion { get; set; }
+
+ public DateTime? fecha_modificacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_modificacion { get; set; }
+
+ public bool? estado { get; set; }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
+ public virtual ICollection SubCatContenidoNyRT { get; set; }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
+ public virtual ICollection FichaTecnica { get; set; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/ConvocadosPropuestaNormativa.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/ConvocadosPropuestaNormativa.cs
new file mode 100644
index 000000000..36c2bb32f
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/ConvocadosPropuestaNormativa.cs
@@ -0,0 +1,43 @@
+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("ConvocadosPropuestaNormativa")]
+ public partial class ConvocadosPropuestaNormativa
+ {
+ [Key]
+ [Column(Order = 0)]
+ [DatabaseGenerated(DatabaseGeneratedOption.None)]
+ public int id_propuesta { get; set; }
+
+ [Key]
+ [Column(Order = 1)]
+ [DatabaseGenerated(DatabaseGeneratedOption.None)]
+ public int id_usuario { get; set; }
+
+ public bool? participar { get; set; }
+
+ [StringLength(500)]
+ public string justificacion { get; set; }
+
+ public DateTime? fecha_max_confirmar { get; set; }
+
+ public DateTime? fecha_creacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_creacion { get; set; }
+
+ public DateTime? fecha_modificacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_modificacion { get; set; }
+
+ public virtual PropuestaNormativa PropuestaNormativa { get; set; }
+
+ public virtual Usuario Usuario { get; set; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Convocatoria.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Convocatoria.cs
index 9ab2dd3f4..08789ab02 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Convocatoria.cs
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Convocatoria.cs
@@ -1,4 +1,4 @@
-namespace AYA.SlnSinortModel.Synort
+namespace AYA.SlnSinortModel.Sinort
{
using System;
using System.Collections.Generic;
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/DocumentoTecnicoNyRT.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/DocumentoTecnicoNyRT.cs
new file mode 100644
index 000000000..6b84f4e56
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/DocumentoTecnicoNyRT.cs
@@ -0,0 +1,30 @@
+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("DocumentoTecnicoNyRT")]
+ public partial class DocumentoTecnicoNyRT
+ {
+ [Key]
+ public int id_documento { get; set; }
+
+ [StringLength(100)]
+ public string titulo { get; set; }
+
+ public DateTime? fecha_creacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_creacion { get; set; }
+
+ public DateTime? fecha_modificacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_modificacion { get; set; }
+
+ public bool? estado { get; set; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Documentos.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Documentos.cs
index 8c655efb3..dc20839dc 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Documentos.cs
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Documentos.cs
@@ -1,4 +1,4 @@
-namespace AYA.SlnSinortModel.Synort
+namespace AYA.SlnSinortModel.Sinort
{
using System;
using System.Collections.Generic;
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/DocumentosAdjuntos.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/DocumentosAdjuntos.cs
index b0bdc4139..36e60770c 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/DocumentosAdjuntos.cs
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/DocumentosAdjuntos.cs
@@ -1,4 +1,4 @@
-namespace AYA.SlnSinortModel.Synort
+namespace AYA.SlnSinortModel.Sinort
{
using System;
using System.Collections.Generic;
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Emisor.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Emisor.cs
index 33065dc5d..57daa9ec8 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Emisor.cs
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Emisor.cs
@@ -1,4 +1,4 @@
-namespace AYA.SlnSinortModel.Synort
+namespace AYA.SlnSinortModel.Sinort
{
using System;
using System.Collections.Generic;
@@ -18,7 +18,7 @@ namespace AYA.SlnSinortModel.Synort
[StringLength(500)]
public string Descripcion { get; set; }
- public bool Estado { get; set; }
+ public bool? Estado { get; set; }
public DateTime? FechaCreacion { get; set; }
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/EmisorNyRT.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/EmisorNyRT.cs
new file mode 100644
index 000000000..f4e9de429
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/EmisorNyRT.cs
@@ -0,0 +1,39 @@
+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("EmisorNyRT")]
+ public partial class EmisorNyRT
+ {
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
+ public EmisorNyRT()
+ {
+ FichaTecnica = new HashSet();
+ }
+
+ [Key]
+ public int id_emisor { get; set; }
+
+ [StringLength(100)]
+ public string titulo { get; set; }
+
+ public DateTime? fecha_creacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_creacion { get; set; }
+
+ public DateTime? fecha_modificacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_modificacion { get; set; }
+
+ public bool? estado { get; set; }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
+ public virtual ICollection FichaTecnica { get; set; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/EmisorPN.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/EmisorPN.cs
new file mode 100644
index 000000000..3c64d51fc
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/EmisorPN.cs
@@ -0,0 +1,39 @@
+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("EmisorPN")]
+ public partial class EmisorPN
+ {
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
+ public EmisorPN()
+ {
+ PropuestaNormativa = new HashSet();
+ }
+
+ [Key]
+ public int id_emisor { get; set; }
+
+ [StringLength(100)]
+ public string titulo { get; set; }
+
+ public DateTime? fecha_creacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_creacion { get; set; }
+
+ public DateTime? fecha_modificacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_modificacion { get; set; }
+
+ public bool? estado { get; set; }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
+ public virtual ICollection PropuestaNormativa { get; set; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Estado.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Estado.cs
index a3de58f69..a1d33c44d 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Estado.cs
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Estado.cs
@@ -1,4 +1,4 @@
-namespace AYA.SlnSinortModel.Synort
+namespace AYA.SlnSinortModel.Sinort
{
using System;
using System.Collections.Generic;
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/EstadoFichaTecnica.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/EstadoFichaTecnica.cs
new file mode 100644
index 000000000..344c61346
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/EstadoFichaTecnica.cs
@@ -0,0 +1,37 @@
+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("EstadoFichaTecnica")]
+ public partial class EstadoFichaTecnica
+ {
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
+ public EstadoFichaTecnica()
+ {
+ FichaTecnica = new HashSet();
+ }
+
+ [Key]
+ public int id_estado { get; set; }
+
+ [StringLength(100)]
+ public string titulo { get; set; }
+
+ public DateTime? fecha_creacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_creacion { get; set; }
+
+ public DateTime? fecha_modificacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_modificacion { get; set; }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
+ public virtual ICollection FichaTecnica { get; set; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Estado_PropuestaNormativa.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Estado_PropuestaNormativa.cs
new file mode 100644
index 000000000..25d0e5150
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Estado_PropuestaNormativa.cs
@@ -0,0 +1,26 @@
+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 Estado_PropuestaNormativa
+ {
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
+ public Estado_PropuestaNormativa()
+ {
+ PropuestaNormativa = new HashSet();
+ }
+
+ [Key]
+ public int id_estado { get; set; }
+
+ [StringLength(50)]
+ public string titulo { get; set; }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
+ public virtual ICollection PropuestaNormativa { get; set; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/EventLog.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/EventLog.cs
new file mode 100644
index 000000000..b7997b9f7
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/EventLog.cs
@@ -0,0 +1,50 @@
+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("EventLog")]
+ public partial class EventLog
+ {
+ [Key]
+ [Column(Order = 0)]
+ [DatabaseGenerated(DatabaseGeneratedOption.None)]
+ public long Id { get; set; }
+
+ [Key]
+ [Column(Order = 1)]
+ public Guid SiteId { get; set; }
+
+ [Key]
+ [Column(Order = 2)]
+ public DateTime EventTime { get; set; }
+
+ [Key]
+ [Column(Order = 3)]
+ public Guid ListId { get; set; }
+
+ [Key]
+ [Column(Order = 4)]
+ [DatabaseGenerated(DatabaseGeneratedOption.None)]
+ public int ItemId { get; set; }
+
+ [StringLength(255)]
+ public string ItemName { get; set; }
+
+ [StringLength(260)]
+ public string ItemFullUrl { get; set; }
+
+ [Key]
+ [Column(Order = 5)]
+ [DatabaseGenerated(DatabaseGeneratedOption.None)]
+ public int EventType { get; set; }
+
+ [StringLength(255)]
+ public string ModifiedBy { get; set; }
+
+ public byte[] EventData { get; set; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Features.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Features.cs
new file mode 100644
index 000000000..08b35b7ab
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Features.cs
@@ -0,0 +1,29 @@
+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 Features
+ {
+ [Key]
+ [Column(Order = 0)]
+ public Guid SiteId { get; set; }
+
+ [Key]
+ [Column(Order = 1)]
+ public Guid WebId { get; set; }
+
+ [Key]
+ [Column(Order = 2)]
+ public Guid FeatureId { get; set; }
+
+ [Required]
+ [StringLength(64)]
+ public string Version { get; set; }
+
+ public DateTime TimeActivated { get; set; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/FichaTecnica.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/FichaTecnica.cs
new file mode 100644
index 000000000..3e55334ed
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/FichaTecnica.cs
@@ -0,0 +1,79 @@
+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("FichaTecnica")]
+ public partial class FichaTecnica
+ {
+ [Key]
+ public int id_ficha_tecnica { get; set; }
+
+ [StringLength(200)]
+ public string nombre { get; set; }
+
+ [StringLength(500)]
+ public string identificacion { get; set; }
+
+ public int? estado { get; set; }
+
+ [StringLength(100)]
+ public string documento_ingreso { get; set; }
+
+ [StringLength(100)]
+ public string documento_egreso { get; set; }
+
+ public int? aplicacion { get; set; }
+
+ public int? contenido { get; set; }
+
+ public int? subcategoria_contenido { get; set; }
+
+ public int? grupo_tematico { get; set; }
+
+ public int? subcategoria_grupo_tematico { get; set; }
+
+ public int? emisor { get; set; }
+
+ public int? palabra_clave { get; set; }
+
+ public DateTime? fecha_publicacion { get; set; }
+
+ [StringLength(100)]
+ public string numero_publicacion { get; set; }
+
+ [StringLength(200)]
+ public string enlace_documento { get; set; }
+
+ public int? cantidad_accesos { get; set; }
+
+ public bool? solicitar_modificacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_creacion { get; set; }
+
+ public DateTime? fecha_modificacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_modificacion { get; set; }
+
+ public virtual AplicacionNyRT AplicacionNyRT { get; set; }
+
+ public virtual ContenidoNyRT ContenidoNyRT { get; set; }
+
+ public virtual EmisorNyRT EmisorNyRT { get; set; }
+
+ public virtual EstadoFichaTecnica EstadoFichaTecnica { get; set; }
+
+ public virtual GrupoTematicoNyRT GrupoTematicoNyRT { get; set; }
+
+ public virtual PalabraClaveNyRT PalabraClaveNyRT { get; set; }
+
+ public virtual SubCatContenidoNyRT SubCatContenidoNyRT { get; set; }
+
+ public virtual SubCatGrupoTematicoNyRT SubCatGrupoTematicoNyRT { get; set; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Foro.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Foro.cs
index 528e4b25f..7944e87b9 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Foro.cs
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Foro.cs
@@ -1,4 +1,4 @@
-namespace AYA.SlnSinortModel.Synort
+namespace AYA.SlnSinortModel.Sinort
{
using System;
using System.Collections.Generic;
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Groups.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Groups.cs
new file mode 100644
index 000000000..1136eb3bb
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Groups.cs
@@ -0,0 +1,27 @@
+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 Groups
+ {
+ [Key]
+ [Column(Order = 0)]
+ public Guid SiteId { get; set; }
+
+ [Key]
+ [Column(Order = 1)]
+ [DatabaseGenerated(DatabaseGeneratedOption.None)]
+ public int ID { get; set; }
+
+ [Required]
+ [StringLength(255)]
+ public string Title { get; set; }
+
+ [StringLength(512)]
+ public string Description { get; set; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/GrupoTematicoNyRT.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/GrupoTematicoNyRT.cs
new file mode 100644
index 000000000..9266021cb
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/GrupoTematicoNyRT.cs
@@ -0,0 +1,43 @@
+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("GrupoTematicoNyRT")]
+ public partial class GrupoTematicoNyRT
+ {
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
+ public GrupoTematicoNyRT()
+ {
+ FichaTecnica = new HashSet();
+ SubCatGrupoTematicoNyRT = new HashSet();
+ }
+
+ [Key]
+ public int id_grupo { get; set; }
+
+ [StringLength(100)]
+ public string titulo { get; set; }
+
+ public DateTime? fecha_creacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_creacion { get; set; }
+
+ public DateTime? fecha_modificacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_modificacion { get; set; }
+
+ public bool? estado { get; set; }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
+ public virtual ICollection FichaTecnica { get; set; }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
+ public virtual ICollection SubCatGrupoTematicoNyRT { get; set; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Mantenimiento.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Mantenimiento.cs
new file mode 100644
index 000000000..6b3ca3671
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Mantenimiento.cs
@@ -0,0 +1,34 @@
+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.Mantenimiento")]
+ public partial class Mantenimiento
+ {
+ [Key]
+ [DatabaseGenerated(DatabaseGeneratedOption.None)]
+ public int IdMantenimiento { get; set; }
+
+ [StringLength(50)]
+ public string Catalogo { get; set; }
+
+ [StringLength(150)]
+ 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; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Matriz.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Matriz.cs
index 483b73c7c..29142c848 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Matriz.cs
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Matriz.cs
@@ -1,4 +1,4 @@
-namespace AYA.SlnSinortModel.Synort
+namespace AYA.SlnSinortModel.Sinort
{
using System;
using System.Collections.Generic;
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PalabraClaveNyRT.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PalabraClaveNyRT.cs
new file mode 100644
index 000000000..7380f7430
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PalabraClaveNyRT.cs
@@ -0,0 +1,39 @@
+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("PalabraClaveNyRT")]
+ public partial class PalabraClaveNyRT
+ {
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
+ public PalabraClaveNyRT()
+ {
+ FichaTecnica = new HashSet();
+ }
+
+ [Key]
+ public int id_palabra { get; set; }
+
+ [StringLength(100)]
+ public string titulo { get; set; }
+
+ public DateTime? fecha_creacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_creacion { get; set; }
+
+ public DateTime? fecha_modificacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_modificacion { get; set; }
+
+ public bool? estado { get; set; }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
+ public virtual ICollection FichaTecnica { get; set; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PermisosUsuario.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PermisosUsuario.cs
index 3c50e2d59..b8aabeb30 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PermisosUsuario.cs
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PermisosUsuario.cs
@@ -1,4 +1,4 @@
-namespace AYA.SlnSinortModel.Synort
+namespace AYA.SlnSinortModel.Sinort
{
using System;
using System.Collections.Generic;
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PlantillaEmail.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PlantillaEmail.cs
index 20e62c079..80a0c3c45 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PlantillaEmail.cs
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PlantillaEmail.cs
@@ -1,4 +1,4 @@
-namespace AYA.SlnSinortModel.Synort
+namespace AYA.SlnSinortModel.Sinort
{
using System;
using System.Collections.Generic;
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PropuestaNormativa.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PropuestaNormativa.cs
new file mode 100644
index 000000000..c3086e4e1
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PropuestaNormativa.cs
@@ -0,0 +1,58 @@
+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("PropuestaNormativa")]
+ public partial class PropuestaNormativa
+ {
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
+ public PropuestaNormativa()
+ {
+ ConvocadosPropuestaNormativa = new HashSet();
+ }
+
+ [Key]
+ public int id_propuesta { get; set; }
+
+ public int? proyecto_normativo { get; set; }
+
+ public int? emisor { get; set; }
+
+ public int? aplicacion { get; set; }
+
+ public DateTime? fecha_inicio_consulta { get; set; }
+
+ public DateTime? fecha_fin_consulta { get; set; }
+
+ public int? promotor { get; set; }
+
+ public int? estado_propuesta { get; set; }
+
+ public DateTime? fecha_creacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_creacion { get; set; }
+
+ public DateTime? fecha_modificacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_modificacion { get; set; }
+
+ public bool? estado { get; set; }
+
+ public virtual AplicacionPN AplicacionPN { get; set; }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
+ public virtual ICollection ConvocadosPropuestaNormativa { get; set; }
+
+ public virtual EmisorPN EmisorPN { get; set; }
+
+ public virtual Estado_PropuestaNormativa Estado_PropuestaNormativa { get; set; }
+
+ public virtual Usuario Usuario { get; set; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Rol.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Rol.cs
new file mode 100644
index 000000000..8718617fd
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Rol.cs
@@ -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("Rol")]
+ public partial class Rol
+ {
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
+ public Rol()
+ {
+ AsignacionRol = new HashSet();
+ }
+
+ [Key]
+ public int id_rol { get; set; }
+
+ [StringLength(50)]
+ public string nombre { get; set; }
+
+ [StringLength(100)]
+ public string descripcion { get; set; }
+
+ public DateTime? fecha_creacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_creacion { get; set; }
+
+ public DateTime? fecha_modificacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_modificacion { get; set; }
+
+ public bool? estado { get; set; }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
+ public virtual ICollection AsignacionRol { get; set; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Roles.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Roles.cs
index e593ecd7b..01269bd58 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Roles.cs
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Roles.cs
@@ -1,4 +1,4 @@
-namespace AYA.SlnSinortModel.Synort
+namespace AYA.SlnSinortModel.Sinort
{
using System;
using System.Collections.Generic;
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/SinortContex.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/SinortContex.cs
deleted file mode 100644
index f5a0da244..000000000
--- a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/SinortContex.cs
+++ /dev/null
@@ -1,330 +0,0 @@
-namespace AYA.SlnSinortModel.Synort
-{
- 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 { get; set; }
- public virtual DbSet Categoria { get; set; }
- public virtual DbSet Emisor { get; set; }
- public virtual DbSet Estado { get; set; }
- public virtual DbSet PermisosUsuario { get; set; }
- public virtual DbSet PlantillaEmail { get; set; }
- public virtual DbSet Roles { get; set; }
- public virtual DbSet TipoDocumento { get; set; }
- public virtual DbSet TipoEmisor { get; set; }
- public virtual DbSet TipoEstado { get; set; }
- public virtual DbSet TipoForo { get; set; }
- public virtual DbSet TipoMatriz { get; set; }
- public virtual DbSet Usuario { get; set; }
- public virtual DbSet sysdiagrams { get; set; }
- public virtual DbSet BitacoraDocumentos { get; set; }
- public virtual DbSet Documentos { get; set; }
- public virtual DbSet DocumentosAdjuntos { get; set; }
- public virtual DbSet ComentariosForo { get; set; }
- public virtual DbSet ComentariosMatriz { get; set; }
- public virtual DbSet Convocatoria { get; set; }
- public virtual DbSet Foro { get; set; }
- public virtual DbSet Matriz { get; set; }
-
- protected override void OnModelCreating(DbModelBuilder modelBuilder)
- {
- modelBuilder.Entity()
- .Property(e => e.Descripcion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioCreacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioModificacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.Descripcion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioCreacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioModificacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.Descripcion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioCreacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioModificacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.Descripcion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioCreacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioModificacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioCreacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioModificacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.NombrePlatilla)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.Body)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.Subject)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioCreacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioModificacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.Descripcion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioCreacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioModificacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.Descripcion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioCreacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioModificacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.Descripcion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioCreacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioModificacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.Descripcion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioCreacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioModificacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.Descripcion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioCreacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioModificacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.Descripcion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioCreacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioModificacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioSistema)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.NombreUsuario)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.EmailUsuario)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioCreacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioModificacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .HasMany(e => e.Convocatoria)
- .WithRequired(e => e.Usuario)
- .WillCascadeOnDelete(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioCreacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioModificacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.NombreDocumento)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioCreacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioModificacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .HasMany(e => e.BitacoraDocumentos)
- .WithRequired(e => e.Documentos)
- .WillCascadeOnDelete(false);
-
- modelBuilder.Entity()
- .Property(e => e.Nombre)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.TipoArchivo)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioCreacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioModificacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.Asunto)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.Respuesta)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioCreacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioModificacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.Asunto)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.Capitulo)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.ApartadoSeccionParrafo)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.TextoOriginal)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.TextoPropuesto)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.ComentarioObservacionJustificacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioCreacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioModificacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioCreacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioModificacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioCreacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioModificacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .HasMany(e => e.Convocatoria)
- .WithRequired(e => e.Foro)
- .WillCascadeOnDelete(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioCreacion)
- .IsUnicode(false);
-
- modelBuilder.Entity()
- .Property(e => e.UsuarioModificacion)
- .IsUnicode(false);
- }
- }
-}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/SubCatContenidoNyRT.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/SubCatContenidoNyRT.cs
new file mode 100644
index 000000000..8c6d953e5
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/SubCatContenidoNyRT.cs
@@ -0,0 +1,43 @@
+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("SubCatContenidoNyRT")]
+ public partial class SubCatContenidoNyRT
+ {
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
+ public SubCatContenidoNyRT()
+ {
+ FichaTecnica = new HashSet();
+ }
+
+ [Key]
+ public int id_sub_contenido { get; set; }
+
+ public int? id_contenido { get; set; }
+
+ [StringLength(100)]
+ public string titulo { get; set; }
+
+ public DateTime? fecha_creacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_creacion { get; set; }
+
+ public DateTime? fecha_modificacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_modificacion { get; set; }
+
+ public bool? estado { get; set; }
+
+ public virtual ContenidoNyRT ContenidoNyRT { get; set; }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
+ public virtual ICollection FichaTecnica { get; set; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/SubCatGrupoTematicoNyRT.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/SubCatGrupoTematicoNyRT.cs
new file mode 100644
index 000000000..b28d1d12e
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/SubCatGrupoTematicoNyRT.cs
@@ -0,0 +1,43 @@
+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("SubCatGrupoTematicoNyRT")]
+ public partial class SubCatGrupoTematicoNyRT
+ {
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
+ public SubCatGrupoTematicoNyRT()
+ {
+ FichaTecnica = new HashSet();
+ }
+
+ [Key]
+ public int id_sub_grupo { get; set; }
+
+ public int? id_grupo { get; set; }
+
+ [StringLength(100)]
+ public string titulo { get; set; }
+
+ public DateTime? fecha_creacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_creacion { get; set; }
+
+ public DateTime? fecha_modificacion { get; set; }
+
+ [StringLength(50)]
+ public string usuario_modificacion { get; set; }
+
+ public bool? estado { get; set; }
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
+ public virtual ICollection FichaTecnica { get; set; }
+
+ public virtual GrupoTematicoNyRT GrupoTematicoNyRT { get; set; }
+ }
+}
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoDocumento.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoDocumento.cs
index 2af307dbb..b19ff04f0 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoDocumento.cs
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoDocumento.cs
@@ -1,4 +1,4 @@
-namespace AYA.SlnSinortModel.Synort
+namespace AYA.SlnSinortModel.Sinort
{
using System;
using System.Collections.Generic;
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoEmisor.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoEmisor.cs
index 0fd1cecd6..b3e80b65d 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoEmisor.cs
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoEmisor.cs
@@ -1,4 +1,4 @@
-namespace AYA.SlnSinortModel.Synort
+namespace AYA.SlnSinortModel.Sinort
{
using System;
using System.Collections.Generic;
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoEstado.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoEstado.cs
index 3f3966b6c..0a3ee2aec 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoEstado.cs
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoEstado.cs
@@ -1,4 +1,4 @@
-namespace AYA.SlnSinortModel.Synort
+namespace AYA.SlnSinortModel.Sinort
{
using System;
using System.Collections.Generic;
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoForo.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoForo.cs
index 25133608a..cd5ea7fb3 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoForo.cs
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoForo.cs
@@ -1,4 +1,4 @@
-namespace AYA.SlnSinortModel.Synort
+namespace AYA.SlnSinortModel.Sinort
{
using System;
using System.Collections.Generic;
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoMatriz.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoMatriz.cs
index a161d4acf..a8f2b2538 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoMatriz.cs
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoMatriz.cs
@@ -1,4 +1,4 @@
-namespace AYA.SlnSinortModel.Synort
+namespace AYA.SlnSinortModel.Sinort
{
using System;
using System.Collections.Generic;
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Usuario.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Usuario.cs
index 35ec5dba6..93ba2b149 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Usuario.cs
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Usuario.cs
@@ -1,4 +1,4 @@
-namespace AYA.SlnSinortModel.Synort
+namespace AYA.SlnSinortModel.Sinort
{
using System;
using System.Collections.Generic;
diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/sysdiagrams.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/sysdiagrams.cs
index f022b580a..6966c7270 100644
--- a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/sysdiagrams.cs
+++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/sysdiagrams.cs
@@ -1,4 +1,4 @@
-namespace AYA.SlnSinortModel.Synort
+namespace AYA.SlnSinortModel.Sinort
{
using System;
using System.Collections.Generic;