git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C28
This commit is contained in:
parent
b27137cb6e
commit
1e39ec671b
64 changed files with 1325 additions and 361 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -183,6 +183,7 @@
|
|||
<Compile Include="App_Start\Startup.Auth.cs" />
|
||||
<Compile Include="App_Start\WebApiConfig.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" />
|
||||
|
|
@ -6509,6 +6510,59 @@
|
|||
<Content Include="Content\bootstrap-reboot.min.css" />
|
||||
<Content Include="Content\bootstrap.css" />
|
||||
<Content Include="Content\bootstrap.min.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\dataTables.autoFill.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\dataTables.autoFill.min.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\dataTables.bootstrap.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\dataTables.colReorder.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\dataTables.colReorder.min.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\dataTables.colVis.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\dataTables.colvis.jqueryui.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\dataTables.colVis.min.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\dataTables.fixedColumns.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\dataTables.fixedColumns.min.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\dataTables.fixedHeader.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\dataTables.fixedHeader.min.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\dataTables.foundation.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\dataTables.jqueryui.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\dataTables.keyTable.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\dataTables.keyTable.min.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\dataTables.scroller.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\dataTables.scroller.min.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\dataTables.tableTools.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\dataTables.tableTools.min.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\jquery.dataTables.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\jquery.dataTables.min.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\jquery.dataTables_themeroller.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\jquery.dataTables_themeroller.min.css" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\background.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\back_disabled.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\back_enabled.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\back_enabled_hover.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\collection.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\collection_hover.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\copy.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\copy_hover.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\csv.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\csv_hover.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\filler.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\forward_disabled.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\forward_enabled.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\forward_enabled_hover.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\insert.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\loading-background.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\pdf.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\pdf_hover.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\print.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\print_hover.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\sort_asc.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\sort_asc_disabled.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\sort_both.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\sort_desc.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\sort_desc_disabled.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\xls.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\images\xls_hover.png" />
|
||||
<Content Include="Content\DataTables-1.10.0\swf\copy_csv_xls.swf" />
|
||||
<Content Include="Content\DataTables-1.10.0\swf\copy_csv_xls_pdf.swf" />
|
||||
<Content Include="Content\easyui\themes\angular.css" />
|
||||
<Content Include="Content\easyui\themes\black\accordion.css" />
|
||||
<Content Include="Content\easyui\themes\black\calendar.css" />
|
||||
|
|
@ -7216,6 +7270,27 @@
|
|||
<Content Include="Scripts\bootstrap.min.js" />
|
||||
<Content Include="Scripts\Chart.js" />
|
||||
<Content Include="Scripts\Chart.min.js" />
|
||||
<Content Include="Scripts\DataTables-1.10.0\dataTables.autoFill.js" />
|
||||
<Content Include="Scripts\DataTables-1.10.0\dataTables.autoFill.min.js" />
|
||||
<Content Include="Scripts\DataTables-1.10.0\dataTables.bootstrap.js" />
|
||||
<Content Include="Scripts\DataTables-1.10.0\dataTables.colReorder.js" />
|
||||
<Content Include="Scripts\DataTables-1.10.0\dataTables.colReorder.min.js" />
|
||||
<Content Include="Scripts\DataTables-1.10.0\dataTables.colVis.js" />
|
||||
<Content Include="Scripts\DataTables-1.10.0\dataTables.colVis.min.js" />
|
||||
<Content Include="Scripts\DataTables-1.10.0\dataTables.fixedColumns.js" />
|
||||
<Content Include="Scripts\DataTables-1.10.0\dataTables.fixedColumns.min.js" />
|
||||
<Content Include="Scripts\DataTables-1.10.0\dataTables.fixedHeader.js" />
|
||||
<Content Include="Scripts\DataTables-1.10.0\dataTables.fixedHeader.min.js" />
|
||||
<Content Include="Scripts\DataTables-1.10.0\dataTables.foundation.js" />
|
||||
<Content Include="Scripts\DataTables-1.10.0\dataTables.jqueryui.js" />
|
||||
<Content Include="Scripts\DataTables-1.10.0\dataTables.keyTable.js" />
|
||||
<Content Include="Scripts\DataTables-1.10.0\dataTables.keyTable.min.js" />
|
||||
<Content Include="Scripts\DataTables-1.10.0\dataTables.scroller.js" />
|
||||
<Content Include="Scripts\DataTables-1.10.0\dataTables.scroller.min.js" />
|
||||
<Content Include="Scripts\DataTables-1.10.0\dataTables.tableTools.js" />
|
||||
<Content Include="Scripts\DataTables-1.10.0\dataTables.tableTools.min.js" />
|
||||
<Content Include="Scripts\DataTables-1.10.0\jquery.dataTables.js" />
|
||||
<Content Include="Scripts\DataTables-1.10.0\jquery.dataTables.min.js" />
|
||||
<Content Include="Scripts\easyloader.js" />
|
||||
<Content Include="Scripts\esm\popper-utils.js" />
|
||||
<Content Include="Scripts\esm\popper-utils.min.js" />
|
||||
|
|
@ -7944,6 +8019,7 @@
|
|||
<Content Include="fonts\fontawesome-webfont.ttf" />
|
||||
<Content Include="fonts\fontawesome-webfont.eot" />
|
||||
<Content Include="fonts\FontAwesome.otf" />
|
||||
<Content Include="Content\DataTables-1.10.0\css\dataTables.jqueryui.scss" />
|
||||
<None Include="Scripts\jquery-3.3.1.intellisense.js" />
|
||||
<Content Include="Scripts\jquery-3.3.1.js" />
|
||||
<Content Include="Scripts\jquery-3.3.1.min.js" />
|
||||
|
|
@ -8029,6 +8105,7 @@
|
|||
<Content Include="Sinort-Scripts\AdministrarCatalogos.js" />
|
||||
<Content Include="Sinort-Scripts\EmisorPN.js" />
|
||||
<Content Include="Sinort-Scripts\Global.js" />
|
||||
<Content Include="Sinort-Scripts\Mantenimientos.js" />
|
||||
<Content Include="Web.config" />
|
||||
<Content Include="Web.Debug.config">
|
||||
<DependentUpon>Web.config</DependentUpon>
|
||||
|
|
@ -8074,12 +8151,14 @@
|
|||
<Content Include="Scripts\popper.js.map" />
|
||||
<Content Include="Views\Home\Normativa_Reglamentacion_Tecnica.cshtml" />
|
||||
<Content Include="Views\Catalogos\EmisorPN.cshtml" />
|
||||
<Content Include="Views\Catalogos\Mantenimiento.cshtml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="App_Data\" />
|
||||
<Folder Include="Content\themes\base\minified\images\" />
|
||||
<Folder Include="Views\Base\" />
|
||||
<Folder Include="Views\CatalogosController\" />
|
||||
<Folder Include="Views\MantenimientoAPI\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="packages.config" />
|
||||
|
|
|
|||
|
|
@ -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"));
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,6 +14,10 @@ namespace AYA.SlnSinort.Controllers.Catalogos
|
|||
InitControllers();
|
||||
return View();
|
||||
}
|
||||
|
||||
public ActionResult Mantenimiento()
|
||||
{
|
||||
InitControllers();
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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<Mantenimiento> ObtenerMantenimientoCatalogos()
|
||||
{
|
||||
List<Mantenimiento> respuesta = null;
|
||||
try
|
||||
{
|
||||
respuesta = new MantenimientoDAL().ObtenerMantenimientoCatalogos();
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw;
|
||||
}
|
||||
return respuesta;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Binary file not shown.
57
AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Mantenimientos.js
Normal file
57
AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Mantenimientos.js
Normal file
|
|
@ -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;
|
||||
|
||||
});
|
||||
|
|
@ -0,0 +1,35 @@
|
|||
|
||||
@{
|
||||
ViewBag.Title = "Mantenimiento";
|
||||
Layout = "~/Views/Shared/_Layout.cshtml";
|
||||
}
|
||||
|
||||
|
||||
<form id="formCatalogo" class="form-horizontal" role="form">
|
||||
<h3><i class="fa fa-list-ul"></i> Mantenimientos </h3>
|
||||
<div>
|
||||
<table id="tableMantenimiento" class="table table-condensed dataTable no-footer">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="col-sm-3">Catalogo</th>
|
||||
<th>Acción</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
<div id="ucbtnVista" style=" display:none;">
|
||||
<button type="button" id="btnseleccionar" class="btn btn-default btn-xs">
|
||||
<i class="fa fa-check"></i> Seleccionar
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@Scripts.Render("~/Script-Catalogos")
|
||||
|
||||
|
||||
|
|
@ -64,6 +64,7 @@
|
|||
<Compile Include="Sinort\EmisorDAL.cs" />
|
||||
<Compile Include="Sinort\EstadoDAL.cs" />
|
||||
<Compile Include="Sinort\ForoDAL.cs" />
|
||||
<Compile Include="Sinort\MantenimientoDAL.cs" />
|
||||
<Compile Include="Sinort\MatrizDAL.cs" />
|
||||
<Compile Include="Sinort\PermisosUsuarioDAL.cs" />
|
||||
<Compile Include="Sinort\PlantillaEmailDAL.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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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<Mantenimiento> ObtenerMantenimientoCatalogos()
|
||||
{
|
||||
List<Mantenimiento> 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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -70,6 +70,7 @@
|
|||
<Compile Include="Sinort\Emisor.cs" />
|
||||
<Compile Include="Sinort\Estado.cs" />
|
||||
<Compile Include="Sinort\Foro.cs" />
|
||||
<Compile Include="Sinort\Mantenimiento.cs" />
|
||||
<Compile Include="Sinort\Matriz.cs" />
|
||||
<Compile Include="Sinort\Partial\Contex.cs" />
|
||||
<Compile Include="Sinort\PermisosUsuario.cs" />
|
||||
|
|
|
|||
26
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AllDocStreams.cs
Normal file
26
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AllDocStreams.cs
Normal file
|
|
@ -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; }
|
||||
}
|
||||
}
|
||||
32
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AllDocVersions.cs
Normal file
32
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AllDocVersions.cs
Normal file
|
|
@ -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; }
|
||||
}
|
||||
}
|
||||
43
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AllDocs.cs
Normal file
43
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AllDocs.cs
Normal file
|
|
@ -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; }
|
||||
}
|
||||
}
|
||||
45
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AllLinks.cs
Normal file
45
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AllLinks.cs
Normal file
|
|
@ -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; }
|
||||
}
|
||||
}
|
||||
44
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AllLists.cs
Normal file
44
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AllLists.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;
|
||||
|
||||
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; }
|
||||
}
|
||||
}
|
||||
|
|
@ -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; }
|
||||
|
||||
|
|
|
|||
39
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AplicacionNyRT.cs
Normal file
39
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AplicacionNyRT.cs
Normal file
|
|
@ -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<FichaTecnica>();
|
||||
}
|
||||
|
||||
[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> FichaTecnica { get; set; }
|
||||
}
|
||||
}
|
||||
39
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AplicacionPN.cs
Normal file
39
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AplicacionPN.cs
Normal file
|
|
@ -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<PropuestaNormativa>();
|
||||
}
|
||||
|
||||
[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> PropuestaNormativa { get; set; }
|
||||
}
|
||||
}
|
||||
35
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AsignacionRol.cs
Normal file
35
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/AsignacionRol.cs
Normal file
|
|
@ -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; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
namespace AYA.SlnSinortModel.Synort
|
||||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace AYA.SlnSinortModel.Synort
|
||||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace AYA.SlnSinortModel.Synort
|
||||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace AYA.SlnSinortModel.Synort
|
||||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
|||
43
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/ContenidoNyRT.cs
Normal file
43
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/ContenidoNyRT.cs
Normal file
|
|
@ -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<SubCatContenidoNyRT>();
|
||||
FichaTecnica = new HashSet<FichaTecnica>();
|
||||
}
|
||||
|
||||
[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> SubCatContenidoNyRT { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<FichaTecnica> FichaTecnica { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -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; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
namespace AYA.SlnSinortModel.Synort
|
||||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
namespace AYA.SlnSinortModel.Synort
|
||||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace AYA.SlnSinortModel.Synort
|
||||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
|
||||
|
|
|
|||
39
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/EmisorNyRT.cs
Normal file
39
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/EmisorNyRT.cs
Normal file
|
|
@ -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<FichaTecnica>();
|
||||
}
|
||||
|
||||
[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> FichaTecnica { get; set; }
|
||||
}
|
||||
}
|
||||
39
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/EmisorPN.cs
Normal file
39
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/EmisorPN.cs
Normal file
|
|
@ -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<PropuestaNormativa>();
|
||||
}
|
||||
|
||||
[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> PropuestaNormativa { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
namespace AYA.SlnSinortModel.Synort
|
||||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
|||
37
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/EstadoFichaTecnica.cs
Normal file
37
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/EstadoFichaTecnica.cs
Normal file
|
|
@ -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<FichaTecnica>();
|
||||
}
|
||||
|
||||
[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> FichaTecnica { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -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<PropuestaNormativa>();
|
||||
}
|
||||
|
||||
[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> PropuestaNormativa { get; set; }
|
||||
}
|
||||
}
|
||||
50
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/EventLog.cs
Normal file
50
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/EventLog.cs
Normal file
|
|
@ -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; }
|
||||
}
|
||||
}
|
||||
29
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Features.cs
Normal file
29
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Features.cs
Normal file
|
|
@ -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; }
|
||||
}
|
||||
}
|
||||
79
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/FichaTecnica.cs
Normal file
79
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/FichaTecnica.cs
Normal file
|
|
@ -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; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
namespace AYA.SlnSinortModel.Synort
|
||||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
|||
27
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Groups.cs
Normal file
27
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Groups.cs
Normal file
|
|
@ -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; }
|
||||
}
|
||||
}
|
||||
43
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/GrupoTematicoNyRT.cs
Normal file
43
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/GrupoTematicoNyRT.cs
Normal file
|
|
@ -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<FichaTecnica>();
|
||||
SubCatGrupoTematicoNyRT = new HashSet<SubCatGrupoTematicoNyRT>();
|
||||
}
|
||||
|
||||
[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> FichaTecnica { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<SubCatGrupoTematicoNyRT> SubCatGrupoTematicoNyRT { get; set; }
|
||||
}
|
||||
}
|
||||
34
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Mantenimiento.cs
Normal file
34
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Mantenimiento.cs
Normal file
|
|
@ -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; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
namespace AYA.SlnSinortModel.Synort
|
||||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
|||
39
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PalabraClaveNyRT.cs
Normal file
39
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PalabraClaveNyRT.cs
Normal file
|
|
@ -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<FichaTecnica>();
|
||||
}
|
||||
|
||||
[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> FichaTecnica { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
namespace AYA.SlnSinortModel.Synort
|
||||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace AYA.SlnSinortModel.Synort
|
||||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
|||
58
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PropuestaNormativa.cs
Normal file
58
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PropuestaNormativa.cs
Normal file
|
|
@ -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<ConvocadosPropuestaNormativa>();
|
||||
}
|
||||
|
||||
[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> ConvocadosPropuestaNormativa { get; set; }
|
||||
|
||||
public virtual EmisorPN EmisorPN { get; set; }
|
||||
|
||||
public virtual Estado_PropuestaNormativa Estado_PropuestaNormativa { get; set; }
|
||||
|
||||
public virtual Usuario Usuario { get; set; }
|
||||
}
|
||||
}
|
||||
42
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Rol.cs
Normal file
42
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Rol.cs
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Rol")]
|
||||
public partial class Rol
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Rol()
|
||||
{
|
||||
AsignacionRol = new HashSet<AsignacionRol>();
|
||||
}
|
||||
|
||||
[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> AsignacionRol { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
namespace AYA.SlnSinortModel.Synort
|
||||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
|||
|
|
@ -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> 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<PermisosUsuario> PermisosUsuario { get; set; }
|
||||
public virtual DbSet<PlantillaEmail> PlantillaEmail { get; set; }
|
||||
public virtual DbSet<Roles> Roles { 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<sysdiagrams> sysdiagrams { 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<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<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);
|
||||
}
|
||||
}
|
||||
}
|
||||
43
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/SubCatContenidoNyRT.cs
Normal file
43
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/SubCatContenidoNyRT.cs
Normal file
|
|
@ -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<FichaTecnica>();
|
||||
}
|
||||
|
||||
[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> FichaTecnica { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -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<FichaTecnica>();
|
||||
}
|
||||
|
||||
[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> FichaTecnica { get; set; }
|
||||
|
||||
public virtual GrupoTematicoNyRT GrupoTematicoNyRT { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
namespace AYA.SlnSinortModel.Synort
|
||||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace AYA.SlnSinortModel.Synort
|
||||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace AYA.SlnSinortModel.Synort
|
||||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace AYA.SlnSinortModel.Synort
|
||||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace AYA.SlnSinortModel.Synort
|
||||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace AYA.SlnSinortModel.Synort
|
||||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace AYA.SlnSinortModel.Synort
|
||||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue