diff --git a/AYA.SlnSynor/AYA.SlnSynor.sln b/AYA.SlnSynor/AYA.SlnSinort.sln similarity index 54% rename from AYA.SlnSynor/AYA.SlnSynor.sln rename to AYA.SlnSynor/AYA.SlnSinort.sln index 66271d125..2d7e6b16b 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.sln +++ b/AYA.SlnSynor/AYA.SlnSinort.sln @@ -3,42 +3,47 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2013 VisualStudioVersion = 12.0.40629.0 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AYA.SlnSynor", "AYA.SlnSynor\AYA.SlnSynor.csproj", "{D672EAD6-E8C6-4374-B149-DED461546905}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AYA.SlnSinort", "AYA.SlnSynor\AYA.SlnSinort.csproj", "{D672EAD6-E8C6-4374-B149-DED461546905}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AYA.SlnSynor.Mantenimientos", "AYA.SlnSynor.Mantenimientos\AYA.SlnSynor.Mantenimientos.csproj", "{A9258A1D-E1D1-48F5-B3A9-FF6E69E1F466}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AYA.SlnSinort.Mantenimientos", "AYA.SlnSynor.Mantenimientos\AYA.SlnSinort.Mantenimientos.csproj", "{A9258A1D-E1D1-48F5-B3A9-FF6E69E1F466}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AYA.SlnSynor.WCF", "AYA.SlnSynor.WCF\AYA.SlnSynor.WCF.csproj", "{5FC0EE2B-8F9C-47E1-823F-C5787A3A3E6E}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AYA.SlnSinort.WCF", "AYA.SlnSynor.WCF\AYA.SlnSinort.WCF.csproj", "{5FC0EE2B-8F9C-47E1-823F-C5787A3A3E6E}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AYA.SlnSynorModel", "AYA.SlnSynorModel\AYA.SlnSynorModel.csproj", "{9ECD985B-2354-4156-AD6A-3EBD888C0241}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AYA.SlnSinortModel", "AYA.SlnSynorModel\AYA.SlnSinortModel.csproj", "{9ECD985B-2354-4156-AD6A-3EBD888C0241}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AYA.SlnSynorModel.DAL", "AYA.SlnSynorModel.DAL\AYA.SlnSynorModel.DAL.csproj", "{6188D201-EC99-47F0-BCD5-5C48EC354CD5}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AYA.SlnSinortModel.DAL", "AYA.SlnSynorModel.DAL\AYA.SlnSinortModel.DAL.csproj", "{6188D201-EC99-47F0-BCD5-5C48EC354CD5}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{ADB5B036-4ABE-4320-8B9A-7BAFB4B45202}" ProjectSection(SolutionItems) = preProject .nuget\packages.config = .nuget\packages.config EndProjectSection EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Atesa.Utilitarios", "Atesa.Utilitarios\Atesa.Utilitarios.csproj", "{DF92655D-08EA-4E25-A1E1-EE13CB7902D7}" +EndProject Global GlobalSection(TeamFoundationVersionControl) = preSolution - SccNumberOfProjects = 6 + SccNumberOfProjects = 7 SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C} SccTeamFoundationServer = http://192.168.1.10:8080/tfs/aya - SccLocalPath0 = . - SccProjectUniqueName1 = AYA.SlnSynor.Mantenimientos\\AYA.SlnSynor.Mantenimientos.csproj - SccProjectName1 = AYA.SlnSynor.Mantenimientos - SccLocalPath1 = AYA.SlnSynor.Mantenimientos - SccProjectUniqueName2 = AYA.SlnSynor.WCF\\AYA.SlnSynor.WCF.csproj - SccProjectName2 = AYA.SlnSynor.WCF - SccLocalPath2 = AYA.SlnSynor.WCF - SccProjectUniqueName3 = AYA.SlnSynor\\AYA.SlnSynor.csproj + SccProjectUniqueName0 = AYA.SlnSynorModel\\AYA.SlnSinortModel.csproj + SccProjectName0 = AYA.SlnSynorModel + SccLocalPath0 = AYA.SlnSynorModel + SccProjectUniqueName1 = AYA.SlnSynorModel.DAL\\AYA.SlnSinortModel.DAL.csproj + SccProjectName1 = AYA.SlnSynorModel.DAL + SccLocalPath1 = AYA.SlnSynorModel.DAL + SccLocalPath2 = . + SccProjectUniqueName3 = AYA.SlnSynor\\AYA.SlnSinort.csproj SccProjectName3 = AYA.SlnSynor SccLocalPath3 = AYA.SlnSynor - SccProjectUniqueName4 = AYA.SlnSynorModel.DAL\\AYA.SlnSynorModel.DAL.csproj - SccProjectName4 = AYA.SlnSynorModel.DAL - SccLocalPath4 = AYA.SlnSynorModel.DAL - SccProjectUniqueName5 = AYA.SlnSynorModel\\AYA.SlnSynorModel.csproj - SccProjectName5 = AYA.SlnSynorModel - SccLocalPath5 = AYA.SlnSynorModel + SccProjectUniqueName4 = AYA.SlnSynor.Mantenimientos\\AYA.SlnSinort.Mantenimientos.csproj + SccProjectName4 = AYA.SlnSynor.Mantenimientos + SccLocalPath4 = AYA.SlnSynor.Mantenimientos + SccProjectUniqueName5 = AYA.SlnSynor.WCF\\AYA.SlnSinort.WCF.csproj + SccProjectName5 = AYA.SlnSynor.WCF + SccLocalPath5 = AYA.SlnSynor.WCF + SccProjectUniqueName6 = Atesa.Utilitarios\\Atesa.Utilitarios.csproj + SccProjectName6 = Atesa.Utilitarios + SccLocalPath6 = Atesa.Utilitarios EndGlobalSection GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -65,6 +70,10 @@ Global {6188D201-EC99-47F0-BCD5-5C48EC354CD5}.Debug|Any CPU.Build.0 = Debug|Any CPU {6188D201-EC99-47F0-BCD5-5C48EC354CD5}.Release|Any CPU.ActiveCfg = Release|Any CPU {6188D201-EC99-47F0-BCD5-5C48EC354CD5}.Release|Any CPU.Build.0 = Release|Any CPU + {DF92655D-08EA-4E25-A1E1-EE13CB7902D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DF92655D-08EA-4E25-A1E1-EE13CB7902D7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DF92655D-08EA-4E25-A1E1-EE13CB7902D7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DF92655D-08EA-4E25-A1E1-EE13CB7902D7}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/AYA.SlnSynor/AYA.SlnSynor.vssscc b/AYA.SlnSynor/AYA.SlnSinort.vssscc similarity index 100% rename from AYA.SlnSynor/AYA.SlnSynor.vssscc rename to AYA.SlnSynor/AYA.SlnSinort.vssscc diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/AYA.SlnSynor.Mantenimientos.csproj b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/AYA.SlnSinort.Mantenimientos.csproj similarity index 97% rename from AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/AYA.SlnSynor.Mantenimientos.csproj rename to AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/AYA.SlnSinort.Mantenimientos.csproj index 55fd3ec96..c8b42f7cb 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/AYA.SlnSynor.Mantenimientos.csproj +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/AYA.SlnSinort.Mantenimientos.csproj @@ -12,8 +12,8 @@ {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} Library Properties - AYA.SlnSynor.Mantenimientos - AYA.SlnSynor.Mantenimientos + AYA.SlnSinort.Mantenimientos + AYA.SlnSinort.Mantenimientos v4.5 false false @@ -519,7 +519,7 @@ True 7945 / - http://localhost/AYA.SlnSynor.Mantenimientos + http://localhost/AYA.SlnSinort.Mantenimientos False False diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/AYA.SlnSynor.Mantenimientos.csproj.vspscc b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/AYA.SlnSinort.Mantenimientos.csproj.vspscc similarity index 100% rename from AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/AYA.SlnSynor.Mantenimientos.csproj.vspscc rename to AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/AYA.SlnSinort.Mantenimientos.csproj.vspscc diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/App_Start/BundleConfig.cs b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/App_Start/BundleConfig.cs index a09b85c2e..75a43d8af 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/App_Start/BundleConfig.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/App_Start/BundleConfig.cs @@ -1,7 +1,7 @@ using System.Web; using System.Web.Optimization; -namespace AYA.SlnSynor.Mantenimientos +namespace AYA.SlnSinort.Mantenimientos { public class BundleConfig { diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/App_Start/FilterConfig.cs b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/App_Start/FilterConfig.cs index b34b638da..6de5f2e96 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/App_Start/FilterConfig.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/App_Start/FilterConfig.cs @@ -1,7 +1,7 @@ using System.Web; using System.Web.Mvc; -namespace AYA.SlnSynor.Mantenimientos +namespace AYA.SlnSinort.Mantenimientos { public class FilterConfig { diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/App_Start/IdentityConfig.cs b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/App_Start/IdentityConfig.cs index 1bb5b4f96..1b05c0c17 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/App_Start/IdentityConfig.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/App_Start/IdentityConfig.cs @@ -10,9 +10,9 @@ using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using Microsoft.Owin.Security; -using AYA.SlnSynor.Mantenimientos.Models; +using AYA.SlnSinort.Mantenimientos.Models; -namespace AYA.SlnSynor.Mantenimientos +namespace AYA.SlnSinort.Mantenimientos { public class EmailService : IIdentityMessageService { diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/App_Start/RouteConfig.cs b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/App_Start/RouteConfig.cs index 4f5f344b7..7e3cd8457 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/App_Start/RouteConfig.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/App_Start/RouteConfig.cs @@ -5,7 +5,7 @@ using System.Web; using System.Web.Mvc; using System.Web.Routing; -namespace AYA.SlnSynor.Mantenimientos +namespace AYA.SlnSinort.Mantenimientos { public class RouteConfig { diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/App_Start/Startup.Auth.cs b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/App_Start/Startup.Auth.cs index 5cdeb81a9..acfc0b049 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/App_Start/Startup.Auth.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/App_Start/Startup.Auth.cs @@ -5,9 +5,9 @@ using Microsoft.Owin; using Microsoft.Owin.Security.Cookies; using Microsoft.Owin.Security.Google; using Owin; -using AYA.SlnSynor.Mantenimientos.Models; +using AYA.SlnSinort.Mantenimientos.Models; -namespace AYA.SlnSynor.Mantenimientos +namespace AYA.SlnSinort.Mantenimientos { public partial class Startup { diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/App_Start/WebApiConfig.cs b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/App_Start/WebApiConfig.cs index 963cd0b76..497809bcc 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/App_Start/WebApiConfig.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/App_Start/WebApiConfig.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Linq; using System.Web.Http; -namespace AYA.SlnSynor.Mantenimientos +namespace AYA.SlnSinort.Mantenimientos { public static class WebApiConfig { diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Controllers/AccountController.cs b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Controllers/AccountController.cs index 261cd95cc..7594ea5f9 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Controllers/AccountController.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Controllers/AccountController.cs @@ -8,9 +8,9 @@ using System.Web.Mvc; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security; -using AYA.SlnSynor.Mantenimientos.Models; +using AYA.SlnSinort.Mantenimientos.Models; -namespace AYA.SlnSynor.Mantenimientos.Controllers +namespace AYA.SlnSinort.Mantenimientos.Controllers { [Authorize] public class AccountController : Controller diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Controllers/HomeController.cs b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Controllers/HomeController.cs index a0319fb80..015a8df45 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Controllers/HomeController.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Controllers/HomeController.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Web; using System.Web.Mvc; -namespace AYA.SlnSynor.Mantenimientos.Controllers +namespace AYA.SlnSinort.Mantenimientos.Controllers { public class HomeController : Controller { diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Controllers/ManageController.cs b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Controllers/ManageController.cs index f1ea35d5d..98422ae2f 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Controllers/ManageController.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Controllers/ManageController.cs @@ -6,9 +6,9 @@ using System.Web.Mvc; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security; -using AYA.SlnSynor.Mantenimientos.Models; +using AYA.SlnSinort.Mantenimientos.Models; -namespace AYA.SlnSynor.Mantenimientos.Controllers +namespace AYA.SlnSinort.Mantenimientos.Controllers { [Authorize] public class ManageController : Controller diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Global.asax b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Global.asax index 5c9e07bdd..bcf1ed335 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Global.asax +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Global.asax @@ -1 +1 @@ -<%@ Application Codebehind="Global.asax.cs" Inherits="AYA.SlnSynor.Mantenimientos.MvcApplication" Language="C#" %> +<%@ Application Codebehind="Global.asax.cs" Inherits="AYA.SlnSinort.Mantenimientos.MvcApplication" Language="C#" %> diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Global.asax.cs b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Global.asax.cs index 43c68827f..6ca41f234 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Global.asax.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Global.asax.cs @@ -7,7 +7,7 @@ using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; -namespace AYA.SlnSynor.Mantenimientos +namespace AYA.SlnSinort.Mantenimientos { public class MvcApplication : System.Web.HttpApplication { diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Models/AccountViewModels.cs b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Models/AccountViewModels.cs index 6469002ed..6dc42d08f 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Models/AccountViewModels.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Models/AccountViewModels.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -namespace AYA.SlnSynor.Mantenimientos.Models +namespace AYA.SlnSinort.Mantenimientos.Models { public class ExternalLoginConfirmationViewModel { diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Models/IdentityModels.cs b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Models/IdentityModels.cs index 3cffd681c..20b599bc4 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Models/IdentityModels.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Models/IdentityModels.cs @@ -4,7 +4,7 @@ using System.Threading.Tasks; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; -namespace AYA.SlnSynor.Mantenimientos.Models +namespace AYA.SlnSinort.Mantenimientos.Models { // Puede agregar datos del perfil del usuario agregando más propiedades a la clase ApplicationUser. Para más información, visite http://go.microsoft.com/fwlink/?LinkID=317594. public class ApplicationUser : IdentityUser diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Models/ManageViewModels.cs b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Models/ManageViewModels.cs index 287365c67..5afe39db2 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Models/ManageViewModels.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Models/ManageViewModels.cs @@ -3,7 +3,7 @@ using System.ComponentModel.DataAnnotations; using Microsoft.AspNet.Identity; using Microsoft.Owin.Security; -namespace AYA.SlnSynor.Mantenimientos.Models +namespace AYA.SlnSinort.Mantenimientos.Models { public class IndexViewModel { diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Properties/AssemblyInfo.cs b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Properties/AssemblyInfo.cs index e32ec3b5a..14bd1e6df 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Properties/AssemblyInfo.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Properties/AssemblyInfo.cs @@ -5,11 +5,11 @@ using System.Runtime.InteropServices; // La información general sobre un ensamblado se controla mediante lo siguiente // conjunto de atributos. Cambie los valores de estos atributos para modificar la información // asociada con un ensamblado. -[assembly: AssemblyTitle("AYA.SlnSynor.Mantenimientos")] +[assembly: AssemblyTitle("AYA.SlnSinort.Mantenimientos")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("AYA.SlnSynor.Mantenimientos")] +[assembly: AssemblyProduct("AYA.SlnSinort.Mantenimientos")] [assembly: AssemblyCopyright("Copyright © 2018")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Startup.cs b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Startup.cs index 22193181c..de0d04eb7 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Startup.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Startup.cs @@ -1,8 +1,8 @@ using Microsoft.Owin; using Owin; -[assembly: OwinStartupAttribute(typeof(AYA.SlnSynor.Mantenimientos.Startup))] -namespace AYA.SlnSynor.Mantenimientos +[assembly: OwinStartupAttribute(typeof(AYA.SlnSinort.Mantenimientos.Startup))] +namespace AYA.SlnSinort.Mantenimientos { public partial class Startup { diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/ExternalLoginConfirmation.cshtml b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/ExternalLoginConfirmation.cshtml index 19582615b..3086bda9a 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/ExternalLoginConfirmation.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/ExternalLoginConfirmation.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Mantenimientos.Models.ExternalLoginConfirmationViewModel +@model AYA.SlnSinort.Mantenimientos.Models.ExternalLoginConfirmationViewModel @{ ViewBag.Title = "Registrarse"; } diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/ForgotPassword.cshtml b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/ForgotPassword.cshtml index 9d2e55d01..53ecf6a9b 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/ForgotPassword.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/ForgotPassword.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Mantenimientos.Models.ForgotPasswordViewModel +@model AYA.SlnSinort.Mantenimientos.Models.ForgotPasswordViewModel @{ ViewBag.Title = "¿Olvidó la contraseña?"; } diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/Login.cshtml b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/Login.cshtml index 6d69e1533..88430e37a 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/Login.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/Login.cshtml @@ -1,4 +1,4 @@ -@using AYA.SlnSynor.Mantenimientos.Models +@using AYA.SlnSinort.Mantenimientos.Models @model LoginViewModel @{ ViewBag.Title = "Iniciar sesión"; diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/Register.cshtml b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/Register.cshtml index a057fd6c7..d63ba03b2 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/Register.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/Register.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Mantenimientos.Models.RegisterViewModel +@model AYA.SlnSinort.Mantenimientos.Models.RegisterViewModel @{ ViewBag.Title = "Registrarse"; } diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/ResetPassword.cshtml b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/ResetPassword.cshtml index 9a1c48e3f..caa2c38da 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/ResetPassword.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/ResetPassword.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Mantenimientos.Models.ResetPasswordViewModel +@model AYA.SlnSinort.Mantenimientos.Models.ResetPasswordViewModel @{ ViewBag.Title = "Restablecer contraseña"; } diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/SendCode.cshtml b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/SendCode.cshtml index 0cb79ee45..7648197f8 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/SendCode.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/SendCode.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Mantenimientos.Models.SendCodeViewModel +@model AYA.SlnSinort.Mantenimientos.Models.SendCodeViewModel @{ ViewBag.Title = "Enviar"; } diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/VerifyCode.cshtml b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/VerifyCode.cshtml index d12bae5f8..a1b6536d3 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/VerifyCode.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/VerifyCode.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Mantenimientos.Models.VerifyCodeViewModel +@model AYA.SlnSinort.Mantenimientos.Models.VerifyCodeViewModel @{ ViewBag.Title = "Verificar"; } diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/_ExternalLoginsListPartial.cshtml b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/_ExternalLoginsListPartial.cshtml index 0a7cd0bcc..d74ae8494 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/_ExternalLoginsListPartial.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Account/_ExternalLoginsListPartial.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Mantenimientos.Models.ExternalLoginListViewModel +@model AYA.SlnSinort.Mantenimientos.Models.ExternalLoginListViewModel @using Microsoft.Owin.Security

Use otro servicio para iniciar sesión.

diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Manage/AddPhoneNumber.cshtml b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Manage/AddPhoneNumber.cshtml index 59dcee8f9..9efbbcf0e 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Manage/AddPhoneNumber.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Manage/AddPhoneNumber.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Mantenimientos.Models.AddPhoneNumberViewModel +@model AYA.SlnSinort.Mantenimientos.Models.AddPhoneNumberViewModel @{ ViewBag.Title = "Número de teléfono"; } diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Manage/ChangePassword.cshtml b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Manage/ChangePassword.cshtml index 2f089e588..bb6b91b2a 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Manage/ChangePassword.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Manage/ChangePassword.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Mantenimientos.Models.ChangePasswordViewModel +@model AYA.SlnSinort.Mantenimientos.Models.ChangePasswordViewModel @{ ViewBag.Title = "Cambiar contraseña"; } diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Manage/Index.cshtml b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Manage/Index.cshtml index 29961af66..c54d22e3f 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Manage/Index.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Manage/Index.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Mantenimientos.Models.IndexViewModel +@model AYA.SlnSinort.Mantenimientos.Models.IndexViewModel @{ ViewBag.Title = "Gestionar"; } diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Manage/ManageLogins.cshtml b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Manage/ManageLogins.cshtml index 2a44f152c..548de6330 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Manage/ManageLogins.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Manage/ManageLogins.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Mantenimientos.Models.ManageLoginsViewModel +@model AYA.SlnSinort.Mantenimientos.Models.ManageLoginsViewModel @using Microsoft.Owin.Security @{ ViewBag.Title = "Administrar los inicios de sesión externos"; diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Manage/SetPassword.cshtml b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Manage/SetPassword.cshtml index 1db4fc79a..62a3bd95b 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Manage/SetPassword.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Manage/SetPassword.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Mantenimientos.Models.SetPasswordViewModel +@model AYA.SlnSinort.Mantenimientos.Models.SetPasswordViewModel @{ ViewBag.Title = "Crear contraseña"; } diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Manage/VerifyPhoneNumber.cshtml b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Manage/VerifyPhoneNumber.cshtml index 214a28f67..1446049ec 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Manage/VerifyPhoneNumber.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Manage/VerifyPhoneNumber.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Mantenimientos.Models.VerifyPhoneNumberViewModel +@model AYA.SlnSinort.Mantenimientos.Models.VerifyPhoneNumberViewModel @{ ViewBag.Title = "Verificar número de teléfono"; } diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Web.config b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Web.config index 389240307..8c59e3c50 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Web.config +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Views/Web.config @@ -17,7 +17,7 @@ - + diff --git a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Web.config b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Web.config index 257dd4a07..60e4e74bb 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Web.config +++ b/AYA.SlnSynor/AYA.SlnSynor.Mantenimientos/Web.config @@ -12,7 +12,7 @@
- + diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/AYA.SlnSynor.WCF.csproj b/AYA.SlnSynor/AYA.SlnSynor.WCF/AYA.SlnSinort.WCF.csproj similarity index 92% rename from AYA.SlnSynor/AYA.SlnSynor.WCF/AYA.SlnSynor.WCF.csproj rename to AYA.SlnSynor/AYA.SlnSynor.WCF/AYA.SlnSinort.WCF.csproj index 3b779c0d1..797f038e4 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.WCF/AYA.SlnSynor.WCF.csproj +++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/AYA.SlnSinort.WCF.csproj @@ -11,8 +11,8 @@ {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} Library Properties - AYA.SlnSynor.WCF - AYA.SlnSynor.WCF + AYA.SlnSinort.WCF + AYA.SlnSinort.WCF v4.5 True false @@ -95,13 +95,13 @@ - + {6188d201-ec99-47f0-bcd5-5c48ec354cd5} - AYA.SlnSynorModel.DAL + AYA.SlnSinortModel.DAL - + {9ecd985b-2354-4156-ad6a-3ebd888c0241} - AYA.SlnSynorModel + AYA.SlnSinortModel @@ -119,7 +119,7 @@ True 7951 / - http://localhost/AYA.SlnSynor.WCF + http://localhost/AYA.SlnSinort.WCF False False diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/AYA.SlnSynor.WCF.csproj.vspscc b/AYA.SlnSynor/AYA.SlnSynor.WCF/AYA.SlnSinort.WCF.csproj.vspscc similarity index 100% rename from AYA.SlnSynor/AYA.SlnSynor.WCF/AYA.SlnSynor.WCF.csproj.vspscc rename to AYA.SlnSynor/AYA.SlnSynor.WCF/AYA.SlnSinort.WCF.csproj.vspscc diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/ISinort.cs b/AYA.SlnSynor/AYA.SlnSynor.WCF/ISinort.cs index d4076ea3a..f7068ff2f 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.WCF/ISinort.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/ISinort.cs @@ -1,5 +1,5 @@ -using AYA.SlnSynorModel.BD; -using AYA.SlnSynorModel.Entidades; + +using AYA.SlnSinortModel.Entidades; using System; using System.Collections.Generic; using System.Linq; @@ -8,7 +8,7 @@ using System.ServiceModel; using System.ServiceModel.Web; using System.Text; -namespace AYA.SlnSynor.WCF +namespace AYA.SlnSinort.WCF { // NOTA: puede usar el comando "Rename" del menú "Refactorizar" para cambiar el nombre de interfaz "ISinort" en el código y en el archivo de configuración a la vez. [ServiceContract] diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/ISinortCatalogos.cs b/AYA.SlnSynor/AYA.SlnSynor.WCF/ISinortCatalogos.cs index f32f01960..a7947209d 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.WCF/ISinortCatalogos.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/ISinortCatalogos.cs @@ -1,7 +1,7 @@ -using AYA.SlnSynorModel.BD; -using AYA.SlnSynorModel.Constantes; -using AYA.SlnSynorModel.DAL.Catalogos; -using AYA.SlnSynorModel.Entidades; + +using AYA.SlnSinortModel.Constantes; +using AYA.SlnSinortModel.Entidades; +using AYA.SlnSinortModel.Synort; using System; using System.Collections.Generic; using System.Linq; @@ -9,16 +9,22 @@ using System.Runtime.Serialization; using System.ServiceModel; using System.Text; -namespace AYA.SlnSynor.WCF +namespace AYA.SlnSinort.WCF { [ServiceContract] public interface ISinortCatalogos { + #region Aplicacion + [OperationContract] + List ObtenerAplicacion(); + #endregion + + #region Emisor + [OperationContract] + List ObtenerEmisor(); [OperationContract] - EmisorPNJSON ObtenerEmisoresPN(EmisorPN model); - - [OperationContract] - string InsertarEmisoresPN(EmisorPN model); + BaseJson InsertarActualizarCliente(Emisor model); + #endregion } } diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/Properties/AssemblyInfo.cs b/AYA.SlnSynor/AYA.SlnSynor.WCF/Properties/AssemblyInfo.cs index 21b75c8e5..cc46e5ab0 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.WCF/Properties/AssemblyInfo.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/Properties/AssemblyInfo.cs @@ -5,11 +5,11 @@ using System.Runtime.InteropServices; // La información general de un ensamblado se controla mediante el siguiente // conjunto de atributos. Cambie estos atributos para modificar la información // asociada a un ensamblado. -[assembly: AssemblyTitle("AYA.SlnSynor.WCF")] +[assembly: AssemblyTitle("AYA.SlnSinort.WCF")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("AYA.SlnSynor.WCF")] +[assembly: AssemblyProduct("AYA.SlnSinort.WCF")] [assembly: AssemblyCopyright("Copyright © 2018")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/Sinort.svc b/AYA.SlnSynor/AYA.SlnSynor.WCF/Sinort.svc index b0bc9872a..f2c8e4472 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.WCF/Sinort.svc +++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/Sinort.svc @@ -1 +1 @@ -<%@ ServiceHost Language="C#" Debug="true" Service="AYA.SlnSynor.WCF.Sinort" CodeBehind="Sinort.svc.cs" %> \ No newline at end of file +<%@ ServiceHost Language="C#" Debug="true" Service="AYA.SlnSinort.WCF.Sinort" CodeBehind="Sinort.svc.cs" %> diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/Sinort.svc.cs b/AYA.SlnSynor/AYA.SlnSynor.WCF/Sinort.svc.cs index fadb761ea..f8660ba02 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.WCF/Sinort.svc.cs +++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/Sinort.svc.cs @@ -1,6 +1,6 @@ -using AYA.SlnSynorModel.BD; -using AYA.SlnSynorModel.Constantes; -using AYA.SlnSynorModel.Entidades; + +using AYA.SlnSinortModel.Constantes; +using AYA.SlnSinortModel.Entidades; using System; using System.Collections.Generic; using System.Linq; @@ -9,7 +9,7 @@ using System.ServiceModel; using System.ServiceModel.Web; using System.Text; -namespace AYA.SlnSynor.WCF +namespace AYA.SlnSinort.WCF { public class Sinort : ISinort diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/SinortCatalogos.svc b/AYA.SlnSynor/AYA.SlnSynor.WCF/SinortCatalogos.svc index 84a5b7983..4ff00fe50 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.WCF/SinortCatalogos.svc +++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/SinortCatalogos.svc @@ -1 +1 @@ -<%@ ServiceHost Language="C#" Debug="true" Service="AYA.SlnSynor.WCF.SinortCatalogos" CodeBehind="SinortCatalogos.svc.cs" %> +<%@ ServiceHost Language="C#" Debug="true" Service="AYA.SlnSinort.WCF.SinortCatalogos" CodeBehind="SinortCatalogos.svc.cs" %> diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/SinortCatalogos.svc.cs b/AYA.SlnSynor/AYA.SlnSynor.WCF/SinortCatalogos.svc.cs index 7e948bf89..72c7c1dd9 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.SlnSynorModel.BD; -using AYA.SlnSynorModel.Constantes; -using AYA.SlnSynorModel.DAL.Catalogos; -using AYA.SlnSynorModel.Entidades; +using AYA.SlnSinortModel.Constantes; +using AYA.SlnSinortModel.DAL.Sinort; +using AYA.SlnSinortModel.Entidades; +using AYA.SlnSinortModel.Synort; using System; using System.Collections.Generic; using System.Linq; @@ -9,55 +9,57 @@ using System.Runtime.Serialization; using System.ServiceModel; using System.Text; -namespace AYA.SlnSynor.WCF +namespace AYA.SlnSinort.WCF { public class SinortCatalogos : ISinortCatalogos { - public EmisorPNJSON ObtenerEmisoresPN(EmisorPN model) - { - EmisorPNJSON respuesta = new EmisorPNJSON(); + #region Aplicacion + public List ObtenerAplicacion() + { + List respuesta = null; try { - CatalogosDAL DAL = new CatalogosDAL(); - - respuesta.ListaEmisores = DAL.ObtnerEmisorPN(model); - respuesta.CodigoRespuesta = EnumRespuesta.EXITOSO; - - + respuesta = new AplicacionDAL().ObtenerAplicacion(); } catch (Exception ex) { - respuesta.CodigoRespuesta = EnumRespuesta.FALLIDO; + + throw; } + return respuesta; + } + #endregion - + #region Emisor + public List ObtenerEmisor() + { + List respuesta = null; + try + { + respuesta = new EmisorDAL().ObtenerEmisor(); + } + catch (Exception ex) + { + throw; + } return respuesta; } - public string InsertarEmisoresPN(EmisorPN model) + public BaseJson InsertarActualizarCliente(Emisor model) { - EmisorPNJSON respuesta = new EmisorPNJSON(); + BaseJson respuesta = new BaseJson(); try { - CatalogosDAL DAL = new CatalogosDAL(); - - DAL.InsertarActualizarEmisorPN(model); - respuesta.CodigoRespuesta = EnumRespuesta.EXITOSO; + respuesta = new EmisorDAL().InsertarActualizarCliente(model); } catch (Exception ex) { - respuesta.CodigoRespuesta = EnumRespuesta.FALLIDO; + + throw; } - - - return respuesta.CodigoRespuesta ; - - - - - - + return respuesta; } + #endregion } } diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/Web.config b/AYA.SlnSynor/AYA.SlnSynor.WCF/Web.config index 3e1d999b9..2392b0ea6 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.WCF/Web.config +++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/Web.config @@ -34,7 +34,7 @@ - + - - - - - - - + diff --git a/AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSynor.csproj b/AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSinort.csproj similarity index 97% rename from AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSynor.csproj rename to AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSinort.csproj index 71270c6ae..953c5797d 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSynor.csproj +++ b/AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSinort.csproj @@ -12,8 +12,8 @@ {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} Library Properties - AYA.SlnSynor - AYA.SlnSynor + AYA.SlnSinort + AYA.SlnSinort v4.5 false false @@ -6507,59 +6507,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -7003,7 +6950,6 @@ - @@ -7076,7 +7022,6 @@ - @@ -7284,27 +7229,6 @@ - - - - - - - - - - - - - - - - - - - - - @@ -8032,7 +7956,6 @@ - @@ -8116,7 +8039,6 @@ - @@ -8179,13 +8101,13 @@ - + {6188d201-ec99-47f0-bcd5-5c48ec354cd5} - AYA.SlnSynorModel.DAL + AYA.SlnSinortModel.DAL - + {9ecd985b-2354-4156-ad6a-3ebd888c0241} - AYA.SlnSynorModel + AYA.SlnSinortModel @@ -8207,7 +8129,7 @@ True 7944 / - http://localhost/AYA.SlnSynor + http://localhost/AYA.SlnSinort False False diff --git a/AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSynor.csproj.vspscc b/AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSinort.csproj.vspscc similarity index 100% rename from AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSynor.csproj.vspscc rename to AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSinort.csproj.vspscc diff --git a/AYA.SlnSynor/AYA.SlnSynor/App_Start/BundleConfig.cs b/AYA.SlnSynor/AYA.SlnSynor/App_Start/BundleConfig.cs index 1777b12f8..3b9b66cf9 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/App_Start/BundleConfig.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/App_Start/BundleConfig.cs @@ -1,7 +1,7 @@ using System.Web; using System.Web.Optimization; -namespace AYA.SlnSynor +namespace AYA.SlnSinort { public class BundleConfig { diff --git a/AYA.SlnSynor/AYA.SlnSynor/App_Start/FilterConfig.cs b/AYA.SlnSynor/AYA.SlnSynor/App_Start/FilterConfig.cs index 84fdf3b80..013631232 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/App_Start/FilterConfig.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/App_Start/FilterConfig.cs @@ -1,7 +1,7 @@ using System.Web; using System.Web.Mvc; -namespace AYA.SlnSynor +namespace AYA.SlnSinort { public class FilterConfig { diff --git a/AYA.SlnSynor/AYA.SlnSynor/App_Start/IdentityConfig.cs b/AYA.SlnSynor/AYA.SlnSynor/App_Start/IdentityConfig.cs index 39b0854e4..e698987cd 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/App_Start/IdentityConfig.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/App_Start/IdentityConfig.cs @@ -10,9 +10,9 @@ using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using Microsoft.Owin.Security; -using AYA.SlnSynor.Models; +using AYA.SlnSinort.Models; -namespace AYA.SlnSynor +namespace AYA.SlnSinort { public class EmailService : IIdentityMessageService { diff --git a/AYA.SlnSynor/AYA.SlnSynor/App_Start/RouteConfig.cs b/AYA.SlnSynor/AYA.SlnSynor/App_Start/RouteConfig.cs index 8c034bff7..3d9704b9e 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/App_Start/RouteConfig.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/App_Start/RouteConfig.cs @@ -5,7 +5,7 @@ using System.Web; using System.Web.Mvc; using System.Web.Routing; -namespace AYA.SlnSynor +namespace AYA.SlnSinort { public class RouteConfig { diff --git a/AYA.SlnSynor/AYA.SlnSynor/App_Start/Startup.Auth.cs b/AYA.SlnSynor/AYA.SlnSynor/App_Start/Startup.Auth.cs index b6f1afbad..5a069d535 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/App_Start/Startup.Auth.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/App_Start/Startup.Auth.cs @@ -5,9 +5,9 @@ using Microsoft.Owin; using Microsoft.Owin.Security.Cookies; using Microsoft.Owin.Security.Google; using Owin; -using AYA.SlnSynor.Models; +using AYA.SlnSinort.Models; -namespace AYA.SlnSynor +namespace AYA.SlnSinort { public partial class Startup { diff --git a/AYA.SlnSynor/AYA.SlnSynor/App_Start/WebApiConfig.cs b/AYA.SlnSynor/AYA.SlnSynor/App_Start/WebApiConfig.cs index 5f2a5335f..5b8606b38 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/App_Start/WebApiConfig.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/App_Start/WebApiConfig.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Linq; using System.Web.Http; -namespace AYA.SlnSynor +namespace AYA.SlnSinort { public static class WebApiConfig { diff --git a/AYA.SlnSynor/AYA.SlnSynor/Controllers/AccountController.cs b/AYA.SlnSynor/AYA.SlnSynor/Controllers/AccountController.cs index 66d0355f6..4a516cf12 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Controllers/AccountController.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/Controllers/AccountController.cs @@ -8,9 +8,9 @@ using System.Web.Mvc; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security; -using AYA.SlnSynor.Models; +using AYA.SlnSinort.Models; -namespace AYA.SlnSynor.Controllers +namespace AYA.SlnSinort.Controllers { [Authorize] public class AccountController : Controller diff --git a/AYA.SlnSynor/AYA.SlnSynor/Controllers/BaseController.cs b/AYA.SlnSynor/AYA.SlnSynor/Controllers/BaseController.cs index 58aed9e15..fb53d3e32 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Controllers/BaseController.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/Controllers/BaseController.cs @@ -5,7 +5,7 @@ using System.Web; using System.Web.Mvc; using System.Configuration; -namespace AYA.SlnSynor.Controllers +namespace AYA.SlnSinort.Controllers { public class BaseController : Controller { diff --git a/AYA.SlnSynor/AYA.SlnSynor/Controllers/Catalogos/CatalogosController.cs b/AYA.SlnSynor/AYA.SlnSynor/Controllers/Catalogos/CatalogosController.cs index 7ff2242c5..69201deae 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Controllers/Catalogos/CatalogosController.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/Controllers/Catalogos/CatalogosController.cs @@ -1,11 +1,11 @@ -using AYA.SlnSynorModel.BD; + using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; -namespace AYA.SlnSynor.Controllers.Catalogos +namespace AYA.SlnSinort.Controllers.Catalogos { public class CatalogosController : BaseController { diff --git a/AYA.SlnSynor/AYA.SlnSynor/Controllers/HomeController.cs b/AYA.SlnSynor/AYA.SlnSynor/Controllers/HomeController.cs index 3eae7b43d..218f4f27f 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Controllers/HomeController.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/Controllers/HomeController.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Web; using System.Web.Mvc; -namespace AYA.SlnSynor.Controllers +namespace AYA.SlnSinort.Controllers { public class HomeController : BaseController { diff --git a/AYA.SlnSynor/AYA.SlnSynor/Controllers/ManageController.cs b/AYA.SlnSynor/AYA.SlnSynor/Controllers/ManageController.cs index ad9d77a8c..ba0a456f8 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Controllers/ManageController.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/Controllers/ManageController.cs @@ -6,9 +6,9 @@ using System.Web.Mvc; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security; -using AYA.SlnSynor.Models; +using AYA.SlnSinort.Models; -namespace AYA.SlnSynor.Controllers +namespace AYA.SlnSinort.Controllers { [Authorize] public class ManageController : Controller diff --git a/AYA.SlnSynor/AYA.SlnSynor/Global.asax b/AYA.SlnSynor/AYA.SlnSynor/Global.asax index 54d10adb9..8504e0c27 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Global.asax +++ b/AYA.SlnSynor/AYA.SlnSynor/Global.asax @@ -1 +1 @@ -<%@ Application Codebehind="Global.asax.cs" Inherits="AYA.SlnSynor.MvcApplication" Language="C#" %> +<%@ Application Codebehind="Global.asax.cs" Inherits="AYA.SlnSinort.MvcApplication" Language="C#" %> diff --git a/AYA.SlnSynor/AYA.SlnSynor/Global.asax.cs b/AYA.SlnSynor/AYA.SlnSynor/Global.asax.cs index ac7bc3485..7a0a82354 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Global.asax.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/Global.asax.cs @@ -7,7 +7,7 @@ using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; -namespace AYA.SlnSynor +namespace AYA.SlnSinort { public class MvcApplication : System.Web.HttpApplication { diff --git a/AYA.SlnSynor/AYA.SlnSynor/Models/AccountViewModels.cs b/AYA.SlnSynor/AYA.SlnSynor/Models/AccountViewModels.cs index 440119dd7..7d0bbe21a 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Models/AccountViewModels.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/Models/AccountViewModels.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -namespace AYA.SlnSynor.Models +namespace AYA.SlnSinort.Models { public class ExternalLoginConfirmationViewModel { diff --git a/AYA.SlnSynor/AYA.SlnSynor/Models/IdentityModels.cs b/AYA.SlnSynor/AYA.SlnSynor/Models/IdentityModels.cs index e14ab9fb4..cb866fc40 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Models/IdentityModels.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/Models/IdentityModels.cs @@ -4,7 +4,7 @@ using System.Threading.Tasks; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; -namespace AYA.SlnSynor.Models +namespace AYA.SlnSinort.Models { // Puede agregar datos del perfil del usuario agregando más propiedades a la clase ApplicationUser. Para más información, visite http://go.microsoft.com/fwlink/?LinkID=317594. public class ApplicationUser : IdentityUser diff --git a/AYA.SlnSynor/AYA.SlnSynor/Models/ManageViewModels.cs b/AYA.SlnSynor/AYA.SlnSynor/Models/ManageViewModels.cs index fc68a0ad5..960ec967b 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Models/ManageViewModels.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/Models/ManageViewModels.cs @@ -3,7 +3,7 @@ using System.ComponentModel.DataAnnotations; using Microsoft.AspNet.Identity; using Microsoft.Owin.Security; -namespace AYA.SlnSynor.Models +namespace AYA.SlnSinort.Models { public class IndexViewModel { diff --git a/AYA.SlnSynor/AYA.SlnSynor/Properties/AssemblyInfo.cs b/AYA.SlnSynor/AYA.SlnSynor/Properties/AssemblyInfo.cs index a82f331de..86e90aea6 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Properties/AssemblyInfo.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/Properties/AssemblyInfo.cs @@ -5,11 +5,11 @@ using System.Runtime.InteropServices; // La información general sobre un ensamblado se controla mediante lo siguiente // conjunto de atributos. Cambie los valores de estos atributos para modificar la información // asociada con un ensamblado. -[assembly: AssemblyTitle("AYA.SlnSynor")] +[assembly: AssemblyTitle("AYA.SlnSinort")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("AYA.SlnSynor")] +[assembly: AssemblyProduct("AYA.SlnSinort")] [assembly: AssemblyCopyright("Copyright © 2018")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Global.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Global.js index 5a20b955a..8d5820fe6 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Global.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Global.js @@ -117,7 +117,7 @@ function STARTREQUEST (Message) { stringHtml += "
"; stringHtml += ""; stringHtml += ""; - stringHtml += ""; + stringHtml += ""; //stringHtml += ""; stringHtml += ""; stringHtml += "
\"loading\"\"loading\"  "; diff --git a/AYA.SlnSynor/AYA.SlnSynor/Startup.cs b/AYA.SlnSynor/AYA.SlnSynor/Startup.cs index f9695154b..3e4da286f 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Startup.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/Startup.cs @@ -1,8 +1,8 @@ using Microsoft.Owin; using Owin; -[assembly: OwinStartupAttribute(typeof(AYA.SlnSynor.Startup))] -namespace AYA.SlnSynor +[assembly: OwinStartupAttribute(typeof(AYA.SlnSinort.Startup))] +namespace AYA.SlnSinort { public partial class Startup { diff --git a/AYA.SlnSynor/AYA.SlnSynor/Views/Account/ExternalLoginConfirmation.cshtml b/AYA.SlnSynor/AYA.SlnSynor/Views/Account/ExternalLoginConfirmation.cshtml index ad60d33e2..dd8c0e497 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Views/Account/ExternalLoginConfirmation.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor/Views/Account/ExternalLoginConfirmation.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Models.ExternalLoginConfirmationViewModel +@model AYA.SlnSinort.Models.ExternalLoginConfirmationViewModel @{ ViewBag.Title = "Registrarse"; } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Views/Account/ForgotPassword.cshtml b/AYA.SlnSynor/AYA.SlnSynor/Views/Account/ForgotPassword.cshtml index b85924d27..aaec426d1 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Views/Account/ForgotPassword.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor/Views/Account/ForgotPassword.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Models.ForgotPasswordViewModel +@model AYA.SlnSinort.Models.ForgotPasswordViewModel @{ ViewBag.Title = "¿Olvidó la contraseña?"; } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Views/Account/Login.cshtml b/AYA.SlnSynor/AYA.SlnSynor/Views/Account/Login.cshtml index 0512971b0..907341778 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Views/Account/Login.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor/Views/Account/Login.cshtml @@ -1,4 +1,4 @@ -@using AYA.SlnSynor.Models +@using AYA.SlnSinort.Models @model LoginViewModel @{ ViewBag.Title = "Iniciar sesión"; diff --git a/AYA.SlnSynor/AYA.SlnSynor/Views/Account/Register.cshtml b/AYA.SlnSynor/AYA.SlnSynor/Views/Account/Register.cshtml index feef7885a..fbb39a41c 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Views/Account/Register.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor/Views/Account/Register.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Models.RegisterViewModel +@model AYA.SlnSinort.Models.RegisterViewModel @{ ViewBag.Title = "Registrarse"; } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Views/Account/ResetPassword.cshtml b/AYA.SlnSynor/AYA.SlnSynor/Views/Account/ResetPassword.cshtml index 5e699ac6a..ea7a714d2 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Views/Account/ResetPassword.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor/Views/Account/ResetPassword.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Models.ResetPasswordViewModel +@model AYA.SlnSinort.Models.ResetPasswordViewModel @{ ViewBag.Title = "Restablecer contraseña"; } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Views/Account/SendCode.cshtml b/AYA.SlnSynor/AYA.SlnSynor/Views/Account/SendCode.cshtml index 7bc2f26f3..80690ecfc 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Views/Account/SendCode.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor/Views/Account/SendCode.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Models.SendCodeViewModel +@model AYA.SlnSinort.Models.SendCodeViewModel @{ ViewBag.Title = "Enviar"; } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Views/Account/VerifyCode.cshtml b/AYA.SlnSynor/AYA.SlnSynor/Views/Account/VerifyCode.cshtml index 468f107a4..93487b066 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Views/Account/VerifyCode.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor/Views/Account/VerifyCode.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Models.VerifyCodeViewModel +@model AYA.SlnSinort.Models.VerifyCodeViewModel @{ ViewBag.Title = "Verificar"; } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Views/Account/_ExternalLoginsListPartial.cshtml b/AYA.SlnSynor/AYA.SlnSynor/Views/Account/_ExternalLoginsListPartial.cshtml index 15ebbf0ce..d5a96054c 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Views/Account/_ExternalLoginsListPartial.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor/Views/Account/_ExternalLoginsListPartial.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Models.ExternalLoginListViewModel +@model AYA.SlnSinort.Models.ExternalLoginListViewModel @using Microsoft.Owin.Security

Use otro servicio para iniciar sesión.

diff --git a/AYA.SlnSynor/AYA.SlnSynor/Views/Manage/AddPhoneNumber.cshtml b/AYA.SlnSynor/AYA.SlnSynor/Views/Manage/AddPhoneNumber.cshtml index 89e9062b0..7c1f34ac0 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Views/Manage/AddPhoneNumber.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor/Views/Manage/AddPhoneNumber.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Models.AddPhoneNumberViewModel +@model AYA.SlnSinort.Models.AddPhoneNumberViewModel @{ ViewBag.Title = "Número de teléfono"; } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Views/Manage/ChangePassword.cshtml b/AYA.SlnSynor/AYA.SlnSynor/Views/Manage/ChangePassword.cshtml index 9ea80998c..139c6730d 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Views/Manage/ChangePassword.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor/Views/Manage/ChangePassword.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Models.ChangePasswordViewModel +@model AYA.SlnSinort.Models.ChangePasswordViewModel @{ ViewBag.Title = "Cambiar contraseña"; } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Views/Manage/Index.cshtml b/AYA.SlnSynor/AYA.SlnSynor/Views/Manage/Index.cshtml index 114ad6705..1c8d77e83 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Views/Manage/Index.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor/Views/Manage/Index.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Models.IndexViewModel +@model AYA.SlnSinort.Models.IndexViewModel @{ ViewBag.Title = "Gestionar"; } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Views/Manage/ManageLogins.cshtml b/AYA.SlnSynor/AYA.SlnSynor/Views/Manage/ManageLogins.cshtml index 888345234..56f99de7b 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Views/Manage/ManageLogins.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor/Views/Manage/ManageLogins.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Models.ManageLoginsViewModel +@model AYA.SlnSinort.Models.ManageLoginsViewModel @using Microsoft.Owin.Security @{ ViewBag.Title = "Administrar los inicios de sesión externos"; diff --git a/AYA.SlnSynor/AYA.SlnSynor/Views/Manage/SetPassword.cshtml b/AYA.SlnSynor/AYA.SlnSynor/Views/Manage/SetPassword.cshtml index 9cc8b846e..8fb8a5675 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Views/Manage/SetPassword.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor/Views/Manage/SetPassword.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Models.SetPasswordViewModel +@model AYA.SlnSinort.Models.SetPasswordViewModel @{ ViewBag.Title = "Crear contraseña"; } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Views/Manage/VerifyPhoneNumber.cshtml b/AYA.SlnSynor/AYA.SlnSynor/Views/Manage/VerifyPhoneNumber.cshtml index 7cc098141..85bfdd9d9 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Views/Manage/VerifyPhoneNumber.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor/Views/Manage/VerifyPhoneNumber.cshtml @@ -1,4 +1,4 @@ -@model AYA.SlnSynor.Models.VerifyPhoneNumberViewModel +@model AYA.SlnSinort.Models.VerifyPhoneNumberViewModel @{ ViewBag.Title = "Verificar número de teléfono"; } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Views/Web.config b/AYA.SlnSynor/AYA.SlnSynor/Views/Web.config index 8d800ab85..b4263aee3 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Views/Web.config +++ b/AYA.SlnSynor/AYA.SlnSynor/Views/Web.config @@ -17,7 +17,7 @@ - + diff --git a/AYA.SlnSynor/AYA.SlnSynor/Web.config b/AYA.SlnSynor/AYA.SlnSynor/Web.config index da3350d98..a7a7c88e7 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Web.config +++ b/AYA.SlnSynor/AYA.SlnSynor/Web.config @@ -12,7 +12,7 @@
@@ -22,8 +22,8 @@ - - + + diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/AYA.SlnSynorModel.DAL.csproj b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/AYA.SlnSinortModel.DAL.csproj similarity index 66% rename from AYA.SlnSynor/AYA.SlnSynorModel.DAL/AYA.SlnSynorModel.DAL.csproj rename to AYA.SlnSynor/AYA.SlnSynorModel.DAL/AYA.SlnSinortModel.DAL.csproj index ee4becbf1..9b2b3408a 100644 --- a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/AYA.SlnSynorModel.DAL.csproj +++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/AYA.SlnSinortModel.DAL.csproj @@ -7,8 +7,8 @@ {6188D201-EC99-47F0-BCD5-5C48EC354CD5} Library Properties - AYA.SlnSynorModel.DAL - AYA.SlnSynorModel.DAL + AYA.SlnSinortModel.DAL + AYA.SlnSinortModel.DAL v4.5 512 SAK @@ -52,18 +52,40 @@ - + + + + + + + + + + + + + + + + + + + + + - + + {df92655d-08ea-4e25-a1e1-ee13cb7902d7} + Atesa.Utilitarios + + {9ecd985b-2354-4156-ad6a-3ebd888c0241} - AYA.SlnSynorModel + AYA.SlnSinortModel - - - + diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/AYA.SlnSynorModel.DAL.csproj.vspscc b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/AYA.SlnSinortModel.DAL.csproj.vspscc similarity index 100% rename from AYA.SlnSynor/AYA.SlnSynorModel.DAL/AYA.SlnSynorModel.DAL.csproj.vspscc rename to AYA.SlnSynor/AYA.SlnSynorModel.DAL/AYA.SlnSinortModel.DAL.csproj.vspscc diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Catalogos/CatalogosDAL.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Catalogos/CatalogosDAL.cs deleted file mode 100644 index 9658565c0..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Catalogos/CatalogosDAL.cs +++ /dev/null @@ -1,39 +0,0 @@ -using AYA.SlnSynorModel.BD; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace AYA.SlnSynorModel.DAL.Catalogos -{ - public class CatalogosDAL - { - public string InsertarActualizarEmisorPN(EmisorPN model) - { - using (SinortContext db = new SinortContext()) - { - model.fecha_creacion = System.DateTime.Now; - model.usuario_creacion = "prueba"; - db.EmisorPN.Add(model); - db.SaveChanges(); - db.Commit(); - } - - return null; - } - - public List ObtnerEmisorPN(EmisorPN model) - { - List ListaEmisores = new List(); - using (SinortContext db = new SinortContext()) - { - ListaEmisores = db.EmisorPN.ToList(); - } - - return ListaEmisores; - } - - } - -} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Properties/AssemblyInfo.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Properties/AssemblyInfo.cs index 8d457a2f9..34e338d75 100644 --- a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Properties/AssemblyInfo.cs +++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Properties/AssemblyInfo.cs @@ -5,11 +5,11 @@ using System.Runtime.InteropServices; // La información general sobre un ensamblado se controla mediante el siguiente // conjunto de atributos. Cambie estos atributos para modificar la información // asociada con un ensamblado. -[assembly: AssemblyTitle("AYA.SlnSynorModel.DAL")] +[assembly: AssemblyTitle("AYA.SlnSinortModel.DAL")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("AYA.SlnSynorModel.DAL")] +[assembly: AssemblyProduct("AYA.SlnSinortModel.DAL")] [assembly: AssemblyCopyright("Copyright © 2018")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/AplicacionDAL.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/AplicacionDAL.cs new file mode 100644 index 000000000..b4a769dc1 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/AplicacionDAL.cs @@ -0,0 +1,61 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using AYA.SlnSinortModel; +using AYA.SlnSinortModel.Entidades; +using AYA.SlnSinortModel.Synort; + + +namespace AYA.SlnSinortModel.DAL.Sinort +{ + public class AplicacionDAL + { + + #region ObtenerAplicacion + + public List ObtenerAplicacion(string filtro = null) + { + List registros = null; + try + { + using (SinortContex db = new SinortContex()) + { + registros = (string.IsNullOrWhiteSpace(filtro) ? db.Aplicacion.Where(t => t.Estado == true) : db.Aplicacion.Where(t => t.Estado == true && t.Descripcion.Trim().ToLower().Contains(filtro.Trim().ToLower()) == true)) + .Select(t => new CatalogosJSON() + { + codigo = t.IdAplicacion.ToString(), + descripcion = t.Descripcion, + }).ToList(); + } + } + catch (Exception ex) + { + //log.Error(ex); + } + + return registros; + } + + public List ObtenerAplicacion() + { + List respuesta = null; + try + { + using (SinortContex db = new SinortContex()) + { + respuesta = db.Aplicacion.Where(t => t.Estado == true).ToList(); + } + } + catch (Exception ex) + { + //log.Error(ex); + } + + return respuesta; + } + #endregion + + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/BitacoraDocumentosDAL.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/BitacoraDocumentosDAL.cs new file mode 100644 index 000000000..236a2fbe0 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/BitacoraDocumentosDAL.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AYA.SlnSinortModel.DAL.Sinort +{ + public class BitacoraDocumentosDAL + { + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/CategoriaDAL.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/CategoriaDAL.cs new file mode 100644 index 000000000..f6bc3ea74 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/CategoriaDAL.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AYA.SlnSinortModel.DAL.Sinort +{ + public class CategoriaDAL + { + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/ComentariosForoDAL.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/ComentariosForoDAL.cs new file mode 100644 index 000000000..bc8232e93 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/ComentariosForoDAL.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AYA.SlnSinortModel.DAL.Sinort +{ + public class ComentariosForoDAL + { + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/ComentariosMatrizDAL.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/ComentariosMatrizDAL.cs new file mode 100644 index 000000000..7edf3b906 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/ComentariosMatrizDAL.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AYA.SlnSinortModel.DAL.Sinort +{ + public class ComentariosMatrizDAL + { + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/ConvocatoriaDAL.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/ConvocatoriaDAL.cs new file mode 100644 index 000000000..badc236b2 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/ConvocatoriaDAL.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AYA.SlnSinortModel.DAL.Sinort +{ + public class ConvocatoriaDAL + { + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/DocumentosAdjuntosDAL.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/DocumentosAdjuntosDAL.cs new file mode 100644 index 000000000..07906a783 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/DocumentosAdjuntosDAL.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AYA.SlnSinortModel.DAL.Sinort +{ + public class DocumentosAdjuntosDAL + { + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/DocumentosDAL.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/DocumentosDAL.cs new file mode 100644 index 000000000..80676fe23 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/DocumentosDAL.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AYA.SlnSinortModel.DAL.Sinort +{ + public class DocumentosDAL + { + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/EmisorDAL.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/EmisorDAL.cs new file mode 100644 index 000000000..7cf942e0c --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/EmisorDAL.cs @@ -0,0 +1,117 @@ +using AYA.SlnSinortModel.Entidades; +using AYA.SlnSinortModel.Synort; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Data.Entity; +using System.Data.Entity.Validation; +using Atesa.Utilitarios; + +namespace AYA.SlnSinortModel.DAL.Sinort +{ + public class EmisorDAL + { + + #region ObtenerEmisor + + public List ObtenerEmisor(string filtro = null) + { + List registros = null; + try + { + using (SinortContex db = new SinortContex()) + { + registros = (string.IsNullOrWhiteSpace(filtro) ? db.Emisor.Where(t => t.Estado == true) : db.Emisor.Where(t => t.Estado == true && t.Descripcion.Trim().ToLower().Contains(filtro.Trim().ToLower()) == true)) + .Select(t => new CatalogosJSON() + { + codigo = t.IdEmisor.ToString(), + descripcion = t.Descripcion, + }).ToList(); + } + } + catch (Exception ex) + { + //log.Error(ex); + } + + return registros; + } + + public List ObtenerEmisor() + { + List respuesta = null; + try + { + using (SinortContex db = new SinortContex()) + { + respuesta = db.Emisor.Where(t => t.Estado == true) + .Include(t=>t.TipoEmisor).ToList(); + } + } + catch (Exception ex) + { + //log.Error(ex); + } + + return respuesta; + } + #endregion + + + #region InsertarActualizar + + public BaseJson InsertarActualizarCliente(Emisor model) + { + Emisor Actual = new Emisor(); + BaseJson Respuesta = new BaseJson(); + try + { + model.ClearProperties(); + + using (SinortContex Conn = new SinortContex()) + { + Actual = Conn.Emisor.Where(x => x.IdEmisor == model.IdEmisor).FirstOrDefault(); + if (Actual == null) + { + int? Next_id = Conn.Emisor.Max(t => (int?)t.IdEmisor); + model.IdEmisor = (Next_id == null) ? 1 : Next_id.Value + 1; + model.FechaCreacion = DateTime.Now; + Conn.Emisor.Add(model); + } + else + { + model.FechaModificacion = DateTime.Now; + model.UsuarioModificacion = model.UsuarioModificacion; + model.FechaCreacion = Actual.FechaCreacion; + model.UsuarioCreacion = Actual.UsuarioCreacion; + Conn.Entry(Actual).State = System.Data.Entity.EntityState.Detached; + Conn.Emisor.Attach(model); + Conn.Entry(model).State = System.Data.Entity.EntityState.Modified; + } + Conn.SaveChanges(); + Respuesta.CodigoRespuesta = Constantes.TipoCodigoRespuesta.EXITOSO.ToString(); + } + } + catch (DbEntityValidationException ex) + { + //logger.Error(exs); + Respuesta.CodigoRespuesta = Constantes.TipoCodigoRespuesta.ERROR.ToString(); + } + catch (Exception ex) + { + //logger.Error(ex); + Respuesta.CodigoRespuesta = Constantes.TipoCodigoRespuesta.ERROR.ToString(); + } + finally + { + Actual = null; + } + return Respuesta; + } + + #endregion + + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/EstadoDAL.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/EstadoDAL.cs new file mode 100644 index 000000000..8b095b1e2 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/EstadoDAL.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AYA.SlnSinortModel.DAL.Sinort +{ + public class EstadoDAL + { + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/ForoDAL.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/ForoDAL.cs new file mode 100644 index 000000000..3d569c41f --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/ForoDAL.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AYA.SlnSinortModel.DAL.Sinort +{ + public class ForoDAL + { + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/MatrizDAL.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/MatrizDAL.cs new file mode 100644 index 000000000..173772246 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/MatrizDAL.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AYA.SlnSinortModel.DAL.Sinort +{ + public class MatrizDAL + { + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/PermisosUsuarioDAL.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/PermisosUsuarioDAL.cs new file mode 100644 index 000000000..d324563a7 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/PermisosUsuarioDAL.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AYA.SlnSinortModel.DAL.Sinort +{ + public class PermisosUsuarioDAL + { + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/PlantillaEmailDAL.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/PlantillaEmailDAL.cs new file mode 100644 index 000000000..93065d06c --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/PlantillaEmailDAL.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AYA.SlnSinortModel.DAL.Sinort +{ + public class PlantillaEmailDAL + { + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/RolesDAL.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/RolesDAL.cs new file mode 100644 index 000000000..1c703b2ef --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/RolesDAL.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AYA.SlnSinortModel.DAL.Sinort +{ + public class RolesDAL + { + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/TipoDocumentoDAL.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/TipoDocumentoDAL.cs new file mode 100644 index 000000000..181a5abc6 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/TipoDocumentoDAL.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AYA.SlnSinortModel.DAL.Sinort +{ + public class TipoDocumentoDAL + { + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/TipoEmisorDAL.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/TipoEmisorDAL.cs new file mode 100644 index 000000000..26f121b16 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/TipoEmisorDAL.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AYA.SlnSinortModel.DAL.Sinort +{ + public class TipoEmisorDAL + { + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/TipoEstadoDAL.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/TipoEstadoDAL.cs new file mode 100644 index 000000000..b4dfb4886 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/TipoEstadoDAL.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AYA.SlnSinortModel.DAL.Sinort +{ + public class TipoEstadoDAL + { + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/TipoForoDAL.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/TipoForoDAL.cs new file mode 100644 index 000000000..b4e4a8cf8 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/TipoForoDAL.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AYA.SlnSinortModel.DAL.Sinort +{ + public class TipoForoDAL + { + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/TipoMatrizDAL.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/TipoMatrizDAL.cs new file mode 100644 index 000000000..b78d74749 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/TipoMatrizDAL.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AYA.SlnSinortModel.DAL.Sinort +{ + public class TipoMatrizDAL + { + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/UsuarioDAL.cs b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/UsuarioDAL.cs new file mode 100644 index 000000000..15a4788a6 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/UsuarioDAL.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AYA.SlnSinortModel.DAL.Sinort +{ + public class UsuarioDAL + { + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/AYA.SlnSynorModel.csproj b/AYA.SlnSynor/AYA.SlnSynorModel/AYA.SlnSinortModel.csproj similarity index 67% rename from AYA.SlnSynor/AYA.SlnSynorModel/AYA.SlnSynorModel.csproj rename to AYA.SlnSynor/AYA.SlnSynorModel/AYA.SlnSinortModel.csproj index 2d312b9e0..cb1bf77e2 100644 --- a/AYA.SlnSynor/AYA.SlnSynorModel/AYA.SlnSynorModel.csproj +++ b/AYA.SlnSynor/AYA.SlnSynorModel/AYA.SlnSinortModel.csproj @@ -7,8 +7,8 @@ {9ECD985B-2354-4156-AD6A-3EBD888C0241} Library Properties - AYA.SlnSynorModel - AYA.SlnSynorModel + AYA.SlnSinortModel + AYA.SlnSinortModel v4.5 512 SAK @@ -55,41 +55,41 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {df92655d-08ea-4e25-a1e1-ee13cb7902d7} + Atesa.Utilitarios + - diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/AYA.SlnSynorModel.csproj.vspscc b/AYA.SlnSynor/AYA.SlnSynorModel/AYA.SlnSinortModel.csproj.vspscc similarity index 100% rename from AYA.SlnSynor/AYA.SlnSynorModel/AYA.SlnSynorModel.csproj.vspscc rename to AYA.SlnSynor/AYA.SlnSynorModel/AYA.SlnSinortModel.csproj.vspscc diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/App.config b/AYA.SlnSynor/AYA.SlnSynorModel/App.config index 6ead0c684..22718f0ce 100644 --- a/AYA.SlnSynor/AYA.SlnSynorModel/App.config +++ b/AYA.SlnSynor/AYA.SlnSynorModel/App.config @@ -16,5 +16,6 @@ + \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/BD/AllDocStreams.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/AllDocStreams.cs deleted file mode 100644 index 936a38cc4..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/AllDocStreams.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - 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/BD/AllDocVersions.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/AllDocVersions.cs deleted file mode 100644 index 5e8e10217..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/AllDocVersions.cs +++ /dev/null @@ -1,32 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - 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/BD/AllDocs.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/AllDocs.cs deleted file mode 100644 index 37584d269..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/AllDocs.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - 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/BD/AllLinks.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/AllLinks.cs deleted file mode 100644 index b921505d4..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/AllLinks.cs +++ /dev/null @@ -1,45 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - 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/BD/AllLists.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/AllLists.cs deleted file mode 100644 index 5d6a9fb02..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/AllLists.cs +++ /dev/null @@ -1,44 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - 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/BD/AplicacionNyRT.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/AplicacionNyRT.cs deleted file mode 100644 index 993965435..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/AplicacionNyRT.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - 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/BD/AplicacionPN.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/AplicacionPN.cs deleted file mode 100644 index 9ccf31f05..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/AplicacionPN.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - 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/BD/AsignacionRol.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/AsignacionRol.cs deleted file mode 100644 index b717506d2..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/AsignacionRol.cs +++ /dev/null @@ -1,35 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - 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/BD/ContenidoNyRT.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/ContenidoNyRT.cs deleted file mode 100644 index 12b867920..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/ContenidoNyRT.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - 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/BD/ConvocadosPropuestaNormativa.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/ConvocadosPropuestaNormativa.cs deleted file mode 100644 index 51e55a503..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/ConvocadosPropuestaNormativa.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - 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/BD/DocumentoTecnicoNyRT.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/DocumentoTecnicoNyRT.cs deleted file mode 100644 index 22ef4de12..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/DocumentoTecnicoNyRT.cs +++ /dev/null @@ -1,30 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - 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/BD/EmisorNyRT.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/EmisorNyRT.cs deleted file mode 100644 index 1f567fa90..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/EmisorNyRT.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - 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/BD/EmisorPN.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/EmisorPN.cs deleted file mode 100644 index 8892d1f02..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/EmisorPN.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - 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/BD/EstadoFichaTecnica.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/EstadoFichaTecnica.cs deleted file mode 100644 index fd79e9b18..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/EstadoFichaTecnica.cs +++ /dev/null @@ -1,37 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - 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/BD/Estado_PropuestaNormativa.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/Estado_PropuestaNormativa.cs deleted file mode 100644 index d1f86f87e..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/Estado_PropuestaNormativa.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - 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/BD/EventLog.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/EventLog.cs deleted file mode 100644 index 4de06279d..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/EventLog.cs +++ /dev/null @@ -1,50 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - 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/BD/Features.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/Features.cs deleted file mode 100644 index 73363cd4a..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/Features.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - 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/BD/FichaTecnica.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/FichaTecnica.cs deleted file mode 100644 index 7bbc15051..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/FichaTecnica.cs +++ /dev/null @@ -1,79 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - 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/BD/Groups.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/Groups.cs deleted file mode 100644 index 4308620b3..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/Groups.cs +++ /dev/null @@ -1,27 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - 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/BD/GrupoTematicoNyRT.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/GrupoTematicoNyRT.cs deleted file mode 100644 index 1247e2e34..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/GrupoTematicoNyRT.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - 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/BD/PalabraClaveNyRT.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/PalabraClaveNyRT.cs deleted file mode 100644 index 75bb2d00c..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/PalabraClaveNyRT.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - 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/BD/PropuestaNormativa.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/PropuestaNormativa.cs deleted file mode 100644 index ec6facee4..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/PropuestaNormativa.cs +++ /dev/null @@ -1,58 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - 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/BD/Rol.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/Rol.cs deleted file mode 100644 index 9d6e6e2ed..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/Rol.cs +++ /dev/null @@ -1,42 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - 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/BD/Roles.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/Roles.cs deleted file mode 100644 index 94b147b97..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/Roles.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class Roles - { - [Key] - [Column(Order = 0)] - public Guid SiteId { get; set; } - - [Key] - [Column(Order = 1)] - public Guid WebId { get; set; } - - [Key] - [Column(Order = 2)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int RoleId { get; set; } - - [Required] - [StringLength(255)] - public string Title { get; set; } - - [StringLength(512)] - public string Description { get; set; } - } -} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/BD/SinortContext.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/SinortContext.cs deleted file mode 100644 index f2ec29dd2..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/SinortContext.cs +++ /dev/null @@ -1,349 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - using System; - using System.Data.Entity; - using System.ComponentModel.DataAnnotations.Schema; - using System.Linq; - using System.Configuration; - - public partial class SinortContext : DbContext - { - - public virtual DbSet AllDocs { get; set; } - public virtual DbSet AllDocVersions { get; set; } - public virtual DbSet AllLists { get; set; } - public virtual DbSet AplicacionNyRT { get; set; } - public virtual DbSet AplicacionPN { get; set; } - public virtual DbSet AsignacionRol { get; set; } - public virtual DbSet ContenidoNyRT { get; set; } - public virtual DbSet ConvocadosPropuestaNormativa { get; set; } - public virtual DbSet DocumentoTecnicoNyRT { get; set; } - public virtual DbSet EmisorNyRT { get; set; } - public virtual DbSet EmisorPN { get; set; } - public virtual DbSet Estado_PropuestaNormativa { get; set; } - public virtual DbSet EstadoFichaTecnica { get; set; } - public virtual DbSet Features { get; set; } - public virtual DbSet FichaTecnica { get; set; } - public virtual DbSet Groups { get; set; } - public virtual DbSet GrupoTematicoNyRT { get; set; } - public virtual DbSet PalabraClaveNyRT { get; set; } - public virtual DbSet PropuestaNormativa { get; set; } - public virtual DbSet Rol { get; set; } - public virtual DbSet Roles { get; set; } - public virtual DbSet SubCatContenidoNyRT { get; set; } - public virtual DbSet SubCatGrupoTematicoNyRT { get; set; } - public virtual DbSet Usuario { get; set; } - public virtual DbSet AllDocStreams { get; set; } - public virtual DbSet AllLinks { get; set; } - public virtual DbSet EventLog { get; set; } - - protected override void OnModelCreating(DbModelBuilder modelBuilder) - { - modelBuilder.Entity() - .Property(e => e.titulo) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_creacion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_modificacion) - .IsUnicode(false); - - modelBuilder.Entity() - .HasMany(e => e.FichaTecnica) - .WithOptional(e => e.AplicacionNyRT) - .HasForeignKey(e => e.aplicacion); - - modelBuilder.Entity() - .Property(e => e.titulo) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_creacion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_modificacion) - .IsUnicode(false); - - modelBuilder.Entity() - .HasMany(e => e.PropuestaNormativa) - .WithOptional(e => e.AplicacionPN) - .HasForeignKey(e => e.aplicacion); - - modelBuilder.Entity() - .Property(e => e.usuario_creacion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_modificacion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.titulo) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_creacion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_modificacion) - .IsUnicode(false); - - modelBuilder.Entity() - .HasMany(e => e.FichaTecnica) - .WithOptional(e => e.ContenidoNyRT) - .HasForeignKey(e => e.contenido); - - modelBuilder.Entity() - .Property(e => e.justificacion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_creacion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_modificacion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.titulo) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_creacion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_modificacion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.titulo) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_creacion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_modificacion) - .IsUnicode(false); - - modelBuilder.Entity() - .HasMany(e => e.FichaTecnica) - .WithOptional(e => e.EmisorNyRT) - .HasForeignKey(e => e.emisor); - - modelBuilder.Entity() - .Property(e => e.titulo) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_creacion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_modificacion) - .IsUnicode(false); - - modelBuilder.Entity() - .HasMany(e => e.PropuestaNormativa) - .WithOptional(e => e.EmisorPN) - .HasForeignKey(e => e.emisor); - - modelBuilder.Entity() - .Property(e => e.titulo) - .IsUnicode(false); - - modelBuilder.Entity() - .HasMany(e => e.PropuestaNormativa) - .WithOptional(e => e.Estado_PropuestaNormativa) - .HasForeignKey(e => e.estado_propuesta); - - modelBuilder.Entity() - .Property(e => e.titulo) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_creacion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_modificacion) - .IsUnicode(false); - - modelBuilder.Entity() - .HasMany(e => e.FichaTecnica) - .WithOptional(e => e.EstadoFichaTecnica) - .HasForeignKey(e => e.estado); - - modelBuilder.Entity() - .Property(e => e.nombre) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.identificacion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.documento_ingreso) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.documento_egreso) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.numero_publicacion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.enlace_documento) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_creacion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_modificacion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.titulo) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_creacion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_modificacion) - .IsUnicode(false); - - modelBuilder.Entity() - .HasMany(e => e.FichaTecnica) - .WithOptional(e => e.GrupoTematicoNyRT) - .HasForeignKey(e => e.grupo_tematico); - - modelBuilder.Entity() - .Property(e => e.titulo) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_creacion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_modificacion) - .IsUnicode(false); - - modelBuilder.Entity() - .HasMany(e => e.FichaTecnica) - .WithOptional(e => e.PalabraClaveNyRT) - .HasForeignKey(e => e.palabra_clave); - - modelBuilder.Entity() - .Property(e => e.usuario_creacion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_modificacion) - .IsUnicode(false); - - modelBuilder.Entity() - .HasMany(e => e.ConvocadosPropuestaNormativa) - .WithRequired(e => e.PropuestaNormativa) - .WillCascadeOnDelete(false); - - modelBuilder.Entity() - .Property(e => e.nombre) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.descripcion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_creacion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_modificacion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.titulo) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_creacion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_modificacion) - .IsUnicode(false); - - modelBuilder.Entity() - .HasMany(e => e.FichaTecnica) - .WithOptional(e => e.SubCatContenidoNyRT) - .HasForeignKey(e => e.subcategoria_contenido); - - modelBuilder.Entity() - .Property(e => e.titulo) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_creacion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_modificacion) - .IsUnicode(false); - - modelBuilder.Entity() - .HasMany(e => e.FichaTecnica) - .WithOptional(e => e.SubCatGrupoTematicoNyRT) - .HasForeignKey(e => e.subcategoria_grupo_tematico); - - modelBuilder.Entity() - .Property(e => e.usuario1) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.nombre) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.email) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.password) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_creacion) - .IsUnicode(false); - - modelBuilder.Entity() - .Property(e => e.usuario_modificacion) - .IsUnicode(false); - - modelBuilder.Entity() - .HasMany(e => e.ConvocadosPropuestaNormativa) - .WithRequired(e => e.Usuario) - .WillCascadeOnDelete(false); - - modelBuilder.Entity() - .HasMany(e => e.PropuestaNormativa) - .WithOptional(e => e.Usuario) - .HasForeignKey(e => e.promotor); - } - } -} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/BD/SubCatContenidoNyRT.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/SubCatContenidoNyRT.cs deleted file mode 100644 index 6169ccb02..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/SubCatContenidoNyRT.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - 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/BD/SubCatGrupoTematicoNyRT.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/SubCatGrupoTematicoNyRT.cs deleted file mode 100644 index 3b1111225..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/SubCatGrupoTematicoNyRT.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - 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/BD/Usuario.cs b/AYA.SlnSynor/AYA.SlnSynorModel/BD/Usuario.cs deleted file mode 100644 index 9307fafbe..000000000 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/Usuario.cs +++ /dev/null @@ -1,57 +0,0 @@ -namespace AYA.SlnSynorModel.BD -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - [Table("Usuario")] - public partial class Usuario - { - [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] - public Usuario() - { - AsignacionRol = new HashSet(); - ConvocadosPropuestaNormativa = new HashSet(); - PropuestaNormativa = new HashSet(); - } - - [Key] - public int id_usuario { get; set; } - - [Column("usuario")] - [StringLength(50)] - public string usuario1 { get; set; } - - [StringLength(100)] - public string nombre { get; set; } - - [StringLength(100)] - public string email { get; set; } - - [StringLength(200)] - public string password { 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; } - - [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection ConvocadosPropuestaNormativa { get; set; } - - [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection PropuestaNormativa { get; set; } - } -} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Constantes/Constantes.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Constantes/Constantes.cs index 70e64bdae..5d9cfd8bc 100644 --- a/AYA.SlnSynor/AYA.SlnSynorModel/Constantes/Constantes.cs +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Constantes/Constantes.cs @@ -4,14 +4,15 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace AYA.SlnSynorModel.Constantes +namespace AYA.SlnSinortModel.Constantes { class Constantes { } - public class EnumRespuesta + public enum TipoCodigoRespuesta { - public static string EXITOSO = "1"; - public static string FALLIDO = "0"; + EXITOSO = 0, + ERROR = 1, + ADVERTENCIA = 2, } } diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Entidades/CatalogosJSON.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Entidades/CatalogosJSON.cs index 1e7b50624..ce2a9370f 100644 --- a/AYA.SlnSynor/AYA.SlnSynorModel/Entidades/CatalogosJSON.cs +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Entidades/CatalogosJSON.cs @@ -1,18 +1,17 @@ -using AYA.SlnSynorModel.BD; + using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; -namespace AYA.SlnSynorModel.Entidades +namespace AYA.SlnSinortModel.Entidades { public class CatalogosJSON { + public string codigo { get; set; } + public string descripcion { get; set; } } - public class EmisorPNJSON : Info - { - public List ListaEmisores { get; set; } - } + } diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Entidades/Info.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Entidades/Json.cs similarity index 69% rename from AYA.SlnSynor/AYA.SlnSynorModel/Entidades/Info.cs rename to AYA.SlnSynor/AYA.SlnSynorModel/Entidades/Json.cs index c37881e8c..8aec24782 100644 --- a/AYA.SlnSynor/AYA.SlnSynorModel/Entidades/Info.cs +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Entidades/Json.cs @@ -4,10 +4,12 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace AYA.SlnSynorModel.Entidades +namespace AYA.SlnSinortModel.Entidades { - public class Info + public class BaseJson { + public BaseJson(); + public string CodigoRespuesta { get; set; } public string DescripcionRespuesta { get; set; } } diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Properties/AssemblyInfo.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Properties/AssemblyInfo.cs index cf5cd1c35..ac216a75f 100644 --- a/AYA.SlnSynor/AYA.SlnSynorModel/Properties/AssemblyInfo.cs +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Properties/AssemblyInfo.cs @@ -5,11 +5,11 @@ using System.Runtime.InteropServices; // La información general sobre un ensamblado se controla mediante el siguiente // conjunto de atributos. Cambie estos atributos para modificar la información // asociada con un ensamblado. -[assembly: AssemblyTitle("AYA.SlnSynorModel")] +[assembly: AssemblyTitle("AYA.SlnSinortModel")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("AYA.SlnSynorModel")] +[assembly: AssemblyProduct("AYA.SlnSinortModel")] [assembly: AssemblyCopyright("Copyright © 2018")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Aplicacion.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Aplicacion.cs new file mode 100644 index 000000000..ef779bd27 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Aplicacion.cs @@ -0,0 +1,31 @@ +namespace AYA.SlnSinortModel.Synort +{ + using System; + using System.Collections.Generic; + using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations.Schema; + using System.Data.Entity.Spatial; + + [Table("Catalogos.Aplicacion")] + public partial class Aplicacion + { + [Key] + [DatabaseGenerated(DatabaseGeneratedOption.None)] + public int IdAplicacion { get; set; } + + [StringLength(200)] + public string Descripcion { 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/BitacoraDocumentos.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/BitacoraDocumentos.cs new file mode 100644 index 000000000..070b11aea --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/BitacoraDocumentos.cs @@ -0,0 +1,45 @@ +namespace AYA.SlnSinortModel.Synort +{ + using System; + using System.Collections.Generic; + using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations.Schema; + using System.Data.Entity.Spatial; + + [Table("Expediente.BitacoraDocumentos")] + public partial class BitacoraDocumentos + { + [Key] + [Column(Order = 0)] + [DatabaseGenerated(DatabaseGeneratedOption.None)] + public int IdBitacoraDocumentos { get; set; } + + [Key] + [Column(Order = 1)] + [DatabaseGenerated(DatabaseGeneratedOption.None)] + public int NumeroPublicacion { get; set; } + + [Key] + [Column(Order = 2)] + [DatabaseGenerated(DatabaseGeneratedOption.None)] + public int IdDocumento { get; set; } + + public int? IdDocumentoAdjunto { get; set; } + + public int? NumeroAccesos { get; set; } + + public DateTime? FechaCreacion { get; set; } + + [StringLength(200)] + public string UsuarioCreacion { get; set; } + + public DateTime? FechaModificacion { get; set; } + + [StringLength(200)] + public string UsuarioModificacion { get; set; } + + public virtual Documentos Documentos { get; set; } + + public virtual DocumentosAdjuntos DocumentosAdjuntos { get; set; } + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Categoria.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Categoria.cs new file mode 100644 index 000000000..a92daf46d --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Categoria.cs @@ -0,0 +1,31 @@ +namespace AYA.SlnSinortModel.Synort +{ + using System; + using System.Collections.Generic; + using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations.Schema; + using System.Data.Entity.Spatial; + + [Table("Catalogos.Categoria")] + public partial class Categoria + { + [Key] + [DatabaseGenerated(DatabaseGeneratedOption.None)] + public int IdCategoria { get; set; } + + [StringLength(500)] + public string Descripcion { 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/ComentariosForo.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/ComentariosForo.cs new file mode 100644 index 000000000..395e9f543 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/ComentariosForo.cs @@ -0,0 +1,43 @@ +namespace AYA.SlnSinortModel.Synort +{ + using System; + using System.Collections.Generic; + using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations.Schema; + using System.Data.Entity.Spatial; + + [Table("Global.ComentariosForo")] + public partial class ComentariosForo + { + [Key] + [DatabaseGenerated(DatabaseGeneratedOption.None)] + public int IdComentarioForo { get; set; } + + public int? IdForo { get; set; } + + [StringLength(200)] + public string Asunto { get; set; } + + public int? IdUsuario { get; set; } + + public string Respuesta { get; set; } + + public int? IdDocumento { get; set; } + + public DateTime? FechaCreacion { get; set; } + + [StringLength(200)] + public string UsuarioCreacion { get; set; } + + public DateTime? FechaModificacion { get; set; } + + [StringLength(200)] + public string UsuarioModificacion { get; set; } + + public virtual Usuario Usuario { get; set; } + + public virtual Documentos Documentos { get; set; } + + public virtual Foro Foro { get; set; } + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/ComentariosMatriz.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/ComentariosMatriz.cs new file mode 100644 index 000000000..f4cd9019a --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/ComentariosMatriz.cs @@ -0,0 +1,53 @@ +namespace AYA.SlnSinortModel.Synort +{ + using System; + using System.Collections.Generic; + using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations.Schema; + using System.Data.Entity.Spatial; + + [Table("Global.ComentariosMatriz")] + public partial class ComentariosMatriz + { + [Key] + [DatabaseGenerated(DatabaseGeneratedOption.None)] + public int IdComtarioMatriz { get; set; } + + public int? IdMatriz { get; set; } + + public int? IdDocumento { get; set; } + + public int? IdUsuario { get; set; } + + [StringLength(200)] + public string Asunto { get; set; } + + [StringLength(100)] + public string Capitulo { get; set; } + + [StringLength(200)] + public string ApartadoSeccionParrafo { get; set; } + + public string TextoOriginal { get; set; } + + public string TextoPropuesto { get; set; } + + public string ComentarioObservacionJustificacion { get; set; } + + public DateTime? FechaCreacion { get; set; } + + [StringLength(200)] + public string UsuarioCreacion { get; set; } + + public DateTime? FechaModificacion { get; set; } + + [StringLength(200)] + public string UsuarioModificacion { get; set; } + + public virtual Usuario Usuario { get; set; } + + public virtual Documentos Documentos { get; set; } + + public virtual Matriz Matriz { get; set; } + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Convocatoria.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Convocatoria.cs new file mode 100644 index 000000000..9ab2dd3f4 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Convocatoria.cs @@ -0,0 +1,36 @@ +namespace AYA.SlnSinortModel.Synort +{ + using System; + using System.Collections.Generic; + using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations.Schema; + using System.Data.Entity.Spatial; + + [Table("Global.Convocatoria")] + public partial class Convocatoria + { + [Key] + [Column(Order = 0)] + [DatabaseGenerated(DatabaseGeneratedOption.None)] + public int IdUsuario { get; set; } + + [Key] + [Column(Order = 1)] + [DatabaseGenerated(DatabaseGeneratedOption.None)] + public int IdForo { get; set; } + + public DateTime? FechaCreacion { get; set; } + + [StringLength(200)] + public string UsuarioCreacion { get; set; } + + public DateTime? FechaModificacion { get; set; } + + [StringLength(200)] + public string UsuarioModificacion { get; set; } + + public virtual Usuario Usuario { get; set; } + + public virtual Foro Foro { get; set; } + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Documentos.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Documentos.cs new file mode 100644 index 000000000..8c655efb3 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Documentos.cs @@ -0,0 +1,50 @@ +namespace AYA.SlnSinortModel.Synort +{ + using System; + using System.Collections.Generic; + using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations.Schema; + using System.Data.Entity.Spatial; + + [Table("Expediente.Documentos")] + public partial class Documentos + { + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + public Documentos() + { + BitacoraDocumentos = new HashSet(); + ComentariosForo = new HashSet(); + ComentariosMatriz = new HashSet(); + } + + [Key] + [DatabaseGenerated(DatabaseGeneratedOption.None)] + public int IdDocumento { get; set; } + + [StringLength(200)] + public string NombreDocumento { get; set; } + + public int? IdTipoDocumento { get; set; } + + public DateTime? FechaCreacion { get; set; } + + [StringLength(200)] + public string UsuarioCreacion { get; set; } + + public DateTime? FechaModificacion { get; set; } + + [StringLength(200)] + public string UsuarioModificacion { get; set; } + + public virtual TipoDocumento TipoDocumento { get; set; } + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection BitacoraDocumentos { get; set; } + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection ComentariosForo { get; set; } + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection ComentariosMatriz { get; set; } + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/DocumentosAdjuntos.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/DocumentosAdjuntos.cs new file mode 100644 index 000000000..b0bdc4139 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/DocumentosAdjuntos.cs @@ -0,0 +1,49 @@ +namespace AYA.SlnSinortModel.Synort +{ + using System; + using System.Collections.Generic; + using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations.Schema; + using System.Data.Entity.Spatial; + + [Table("Expediente.DocumentosAdjuntos")] + public partial class DocumentosAdjuntos + { + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + public DocumentosAdjuntos() + { + BitacoraDocumentos = new HashSet(); + } + + [Key] + [DatabaseGenerated(DatabaseGeneratedOption.None)] + public int IdDocumentoAdjunto { get; set; } + + public int? FechaAdjunto { get; set; } + + [StringLength(200)] + public string Nombre { get; set; } + + [Column(TypeName = "ntext")] + public string RutaFisica { get; set; } + + [Column(TypeName = "ntext")] + public string RutaDescarga { get; set; } + + [StringLength(10)] + public string TipoArchivo { get; set; } + + public DateTime? FechaCreacion { get; set; } + + [StringLength(200)] + public string UsuarioCreacion { get; set; } + + public DateTime? FechaModificacion { get; set; } + + [StringLength(200)] + public string UsuarioModificacion { get; set; } + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection BitacoraDocumentos { get; set; } + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Emisor.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Emisor.cs new file mode 100644 index 000000000..33065dc5d --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Emisor.cs @@ -0,0 +1,35 @@ +namespace AYA.SlnSinortModel.Synort +{ + using System; + using System.Collections.Generic; + using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations.Schema; + using System.Data.Entity.Spatial; + + [Table("Catalogos.Emisor")] + public partial class Emisor + { + [Key] + [DatabaseGenerated(DatabaseGeneratedOption.None)] + public int IdEmisor { get; set; } + + public int? IdTipoEmisor { get; set; } + + [StringLength(500)] + public string Descripcion { 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; } + + public virtual TipoEmisor TipoEmisor { get; set; } + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Estado.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Estado.cs new file mode 100644 index 000000000..a3de58f69 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Estado.cs @@ -0,0 +1,36 @@ +namespace AYA.SlnSinortModel.Synort +{ + using System; + using System.Collections.Generic; + using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations.Schema; + using System.Data.Entity.Spatial; + + [Table("Catalogos.Estado")] + public partial class Estado + { + [Key] + [DatabaseGenerated(DatabaseGeneratedOption.None)] + public int IdEstado { get; set; } + + [StringLength(200)] + public string Descripcion { get; set; } + + public int? IdTipoEstado { get; set; } + + [Column("Estado")] + public bool? Estado1 { get; set; } + + public DateTime? FechaCreacion { get; set; } + + [StringLength(200)] + public string UsuarioCreacion { get; set; } + + public DateTime? FechaModificacion { get; set; } + + [StringLength(200)] + public string UsuarioModificacion { get; set; } + + public virtual TipoEstado TipoEstado { get; set; } + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Foro.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Foro.cs new file mode 100644 index 000000000..528e4b25f --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Foro.cs @@ -0,0 +1,43 @@ +namespace AYA.SlnSinortModel.Synort +{ + using System; + using System.Collections.Generic; + using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations.Schema; + using System.Data.Entity.Spatial; + + [Table("Global.Foro")] + public partial class Foro + { + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + public Foro() + { + ComentariosForo = new HashSet(); + Convocatoria = new HashSet(); + } + + [Key] + [DatabaseGenerated(DatabaseGeneratedOption.None)] + public int IdForo { get; set; } + + public int? IdTipoForo { get; set; } + + public DateTime? FechaCreacion { get; set; } + + [StringLength(200)] + public string UsuarioCreacion { get; set; } + + public DateTime? FechaModificacion { get; set; } + + [StringLength(200)] + public string UsuarioModificacion { get; set; } + + public virtual TipoForo TipoForo { get; set; } + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection ComentariosForo { get; set; } + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection Convocatoria { get; set; } + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Matriz.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Matriz.cs new file mode 100644 index 000000000..483b73c7c --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Matriz.cs @@ -0,0 +1,39 @@ +namespace AYA.SlnSinortModel.Synort +{ + using System; + using System.Collections.Generic; + using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations.Schema; + using System.Data.Entity.Spatial; + + [Table("Global.Matriz")] + public partial class Matriz + { + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + public Matriz() + { + ComentariosMatriz = new HashSet(); + } + + [Key] + [DatabaseGenerated(DatabaseGeneratedOption.None)] + public int IdMatriz { get; set; } + + public int? IdTipoMatriz { get; set; } + + public DateTime? FechaCreacion { get; set; } + + [StringLength(200)] + public string UsuarioCreacion { get; set; } + + public DateTime? FechaModificacion { get; set; } + + [StringLength(200)] + public string UsuarioModificacion { get; set; } + + public virtual TipoMatriz TipoMatriz { get; set; } + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection ComentariosMatriz { get; set; } + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/BD/Partial/SinortContext.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Partial/Contex.cs similarity index 73% rename from AYA.SlnSynor/AYA.SlnSynorModel/BD/Partial/SinortContext.cs rename to AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Partial/Contex.cs index b2fd29b3f..010e6b77f 100644 --- a/AYA.SlnSynor/AYA.SlnSynorModel/BD/Partial/SinortContext.cs +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Partial/Contex.cs @@ -5,29 +5,25 @@ using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; - -namespace AYA.SlnSynorModel.BD +namespace AYA.SlnSinortModel.Sinort.Partial { - public partial class SinortContext : DbContext + public partial class Contex : DbContext { private DbContextTransaction DatabaseTransaction { get; set; } private bool WasCommitted = false; private bool disposed = false; - - public SinortContext() - : base("data source=192.168.1.37;initial catalog=PruebaAyA;user id=sinort;password=sinort2018;MultipleActiveResultSets=True;App=EntityFramework") + public Contex() + : base(new Atesa.Utilitarios.ObtieneParametros().GetValueKeyRegedit("ParametrosSinort", "SinortAyAConnectionString", true)) { - Database.SetInitializer(null); + Database.SetInitializer(null); Configuration.ProxyCreationEnabled = false; Configuration.LazyLoadingEnabled = true; DatabaseTransaction = this.Database.BeginTransaction(); WasCommitted = false; } - - - protected virtual void Dispose(bool disposing) + protected virtual void Dispose(bool disposing) { if (disposed) return; @@ -59,11 +55,9 @@ namespace AYA.SlnSynorModel.BD WasCommitted = true; } - ~SinortContext() + ~Contex() { Dispose(false); } - } - } diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PermisosUsuario.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PermisosUsuario.cs new file mode 100644 index 000000000..3c50e2d59 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PermisosUsuario.cs @@ -0,0 +1,36 @@ +namespace AYA.SlnSinortModel.Synort +{ + using System; + using System.Collections.Generic; + using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations.Schema; + using System.Data.Entity.Spatial; + + [Table("Catalogos.PermisosUsuario")] + public partial class PermisosUsuario + { + [Key] + [DatabaseGenerated(DatabaseGeneratedOption.None)] + public int IdPermisosUsuario { get; set; } + + public int? IdRol { get; set; } + + public int? IdUsuario { 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; } + + public virtual Roles Roles { get; set; } + + public virtual Usuario Usuario { get; set; } + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PlantillaEmail.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PlantillaEmail.cs new file mode 100644 index 000000000..20e62c079 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/PlantillaEmail.cs @@ -0,0 +1,36 @@ +namespace AYA.SlnSinortModel.Synort +{ + using System; + using System.Collections.Generic; + using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations.Schema; + using System.Data.Entity.Spatial; + + [Table("Catalogos.PlantillaEmail")] + public partial class PlantillaEmail + { + [Key] + [DatabaseGenerated(DatabaseGeneratedOption.None)] + public int IdPlantilla { get; set; } + + [StringLength(200)] + public string NombrePlatilla { get; set; } + + public string Body { get; set; } + + public bool? Estado { get; set; } + + [StringLength(200)] + public string Subject { 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/Roles.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Roles.cs new file mode 100644 index 000000000..e593ecd7b --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Roles.cs @@ -0,0 +1,40 @@ +namespace AYA.SlnSinortModel.Synort +{ + using System; + using System.Collections.Generic; + using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations.Schema; + using System.Data.Entity.Spatial; + + [Table("Catalogos.Roles")] + public partial class Roles + { + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + public Roles() + { + PermisosUsuario = new HashSet(); + } + + [Key] + [DatabaseGenerated(DatabaseGeneratedOption.None)] + public int IdRol { get; set; } + + [StringLength(500)] + public string Descripcion { 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; } + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection PermisosUsuario { get; set; } + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/SinortContex.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/SinortContex.cs new file mode 100644 index 000000000..f5a0da244 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/SinortContex.cs @@ -0,0 +1,330 @@ +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/TipoDocumento.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoDocumento.cs new file mode 100644 index 000000000..2af307dbb --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoDocumento.cs @@ -0,0 +1,40 @@ +namespace AYA.SlnSinortModel.Synort +{ + using System; + using System.Collections.Generic; + using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations.Schema; + using System.Data.Entity.Spatial; + + [Table("Catalogos.TipoDocumento")] + public partial class TipoDocumento + { + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + public TipoDocumento() + { + Documentos = new HashSet(); + } + + [Key] + [DatabaseGenerated(DatabaseGeneratedOption.None)] + public int IdTipoDocumento { get; set; } + + [StringLength(500)] + public string Descripcion { 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; } + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection Documentos { get; set; } + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoEmisor.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoEmisor.cs new file mode 100644 index 000000000..0fd1cecd6 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoEmisor.cs @@ -0,0 +1,40 @@ +namespace AYA.SlnSinortModel.Synort +{ + using System; + using System.Collections.Generic; + using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations.Schema; + using System.Data.Entity.Spatial; + + [Table("Catalogos.TipoEmisor")] + public partial class TipoEmisor + { + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + public TipoEmisor() + { + Emisor = new HashSet(); + } + + [Key] + [DatabaseGenerated(DatabaseGeneratedOption.None)] + public int IdTipoEmisor { get; set; } + + [StringLength(500)] + public string Descripcion { 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; } + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection Emisor { get; set; } + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoEstado.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoEstado.cs new file mode 100644 index 000000000..3f3966b6c --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoEstado.cs @@ -0,0 +1,40 @@ +namespace AYA.SlnSinortModel.Synort +{ + using System; + using System.Collections.Generic; + using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations.Schema; + using System.Data.Entity.Spatial; + + [Table("Catalogos.TipoEstado")] + public partial class TipoEstado + { + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + public TipoEstado() + { + Estado1 = new HashSet(); + } + + [Key] + [DatabaseGenerated(DatabaseGeneratedOption.None)] + public int IdTipoEstado { get; set; } + + [StringLength(200)] + public string Descripcion { 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; } + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection Estado1 { get; set; } + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoForo.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoForo.cs new file mode 100644 index 000000000..25133608a --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoForo.cs @@ -0,0 +1,38 @@ +namespace AYA.SlnSinortModel.Synort +{ + using System; + using System.Collections.Generic; + using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations.Schema; + using System.Data.Entity.Spatial; + + [Table("Catalogos.TipoForo")] + public partial class TipoForo + { + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + public TipoForo() + { + Foro = new HashSet(); + } + + [Key] + [DatabaseGenerated(DatabaseGeneratedOption.None)] + public int IdTipoForo { get; set; } + + [StringLength(200)] + public string Descripcion { get; set; } + + public DateTime? FechaCreacion { get; set; } + + [StringLength(200)] + public string UsuarioCreacion { get; set; } + + public DateTime? FechaModificacion { get; set; } + + [StringLength(200)] + public string UsuarioModificacion { get; set; } + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection Foro { get; set; } + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoMatriz.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoMatriz.cs new file mode 100644 index 000000000..a161d4acf --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoMatriz.cs @@ -0,0 +1,38 @@ +namespace AYA.SlnSinortModel.Synort +{ + using System; + using System.Collections.Generic; + using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations.Schema; + using System.Data.Entity.Spatial; + + [Table("Catalogos.TipoMatriz")] + public partial class TipoMatriz + { + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + public TipoMatriz() + { + Matriz = new HashSet(); + } + + [Key] + [DatabaseGenerated(DatabaseGeneratedOption.None)] + public int IdTipoMatriz { get; set; } + + [StringLength(200)] + public string Descripcion { get; set; } + + public DateTime? FechaCreacion { get; set; } + + [StringLength(200)] + public string UsuarioCreacion { get; set; } + + public DateTime? FechaModificacion { get; set; } + + [StringLength(200)] + public string UsuarioModificacion { get; set; } + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection Matriz { get; set; } + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Usuario.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Usuario.cs new file mode 100644 index 000000000..35ec5dba6 --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/Usuario.cs @@ -0,0 +1,58 @@ +namespace AYA.SlnSinortModel.Synort +{ + using System; + using System.Collections.Generic; + using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations.Schema; + using System.Data.Entity.Spatial; + + [Table("Catalogos.Usuario")] + public partial class Usuario + { + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + public Usuario() + { + PermisosUsuario = new HashSet(); + ComentariosForo = new HashSet(); + ComentariosMatriz = new HashSet(); + Convocatoria = new HashSet(); + } + + [Key] + [DatabaseGenerated(DatabaseGeneratedOption.None)] + public int IdUsuario { get; set; } + + [StringLength(200)] + public string UsuarioSistema { get; set; } + + [StringLength(200)] + public string NombreUsuario { get; set; } + + [StringLength(200)] + public string EmailUsuario { 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; } + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection PermisosUsuario { get; set; } + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection ComentariosForo { get; set; } + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection ComentariosMatriz { get; set; } + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection Convocatoria { get; set; } + } +} diff --git a/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/sysdiagrams.cs b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/sysdiagrams.cs new file mode 100644 index 000000000..f022b580a --- /dev/null +++ b/AYA.SlnSynor/AYA.SlnSynorModel/Sinort/sysdiagrams.cs @@ -0,0 +1,24 @@ +namespace AYA.SlnSinortModel.Synort +{ + using System; + using System.Collections.Generic; + using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations.Schema; + using System.Data.Entity.Spatial; + + public partial class sysdiagrams + { + [Required] + [StringLength(128)] + public string name { get; set; } + + public int principal_id { get; set; } + + [Key] + public int diagram_id { get; set; } + + public int? version { get; set; } + + public byte[] definition { get; set; } + } +} diff --git a/AYA.SlnSynor/Atesa.Utilitarios/Atesa.Utilitarios.csproj b/AYA.SlnSynor/Atesa.Utilitarios/Atesa.Utilitarios.csproj new file mode 100644 index 000000000..84803e699 --- /dev/null +++ b/AYA.SlnSynor/Atesa.Utilitarios/Atesa.Utilitarios.csproj @@ -0,0 +1,61 @@ + + + + + Debug + AnyCPU + {DF92655D-08EA-4E25-A1E1-EE13CB7902D7} + Library + Properties + Atesa.Utilitarios + Atesa.Utilitarios + v4.5 + 512 + SAK + SAK + SAK + SAK + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\..\..\..\..\..\..\..\DLL\APCEncryptLibrary.dll + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/AYA.SlnSynor/Atesa.Utilitarios/Atesa.Utilitarios.csproj.vspscc b/AYA.SlnSynor/Atesa.Utilitarios/Atesa.Utilitarios.csproj.vspscc new file mode 100644 index 000000000..feffdecaa --- /dev/null +++ b/AYA.SlnSynor/Atesa.Utilitarios/Atesa.Utilitarios.csproj.vspscc @@ -0,0 +1,10 @@ +"" +{ +"FILE_VERSION" = "9237" +"ENLISTMENT_CHOICE" = "NEVER" +"PROJECT_FILE_RELATIVE_PATH" = "" +"NUMBER_OF_EXCLUDED_FILES" = "0" +"ORIGINAL_PROJECT_FILE_PATH" = "" +"NUMBER_OF_NESTED_PROJECTS" = "0" +"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER" +} diff --git a/AYA.SlnSynor/Atesa.Utilitarios/Extensiones.cs b/AYA.SlnSynor/Atesa.Utilitarios/Extensiones.cs new file mode 100644 index 000000000..662b19618 --- /dev/null +++ b/AYA.SlnSynor/Atesa.Utilitarios/Extensiones.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; + +namespace Atesa.Utilitarios +{ + public static class Extensiones + { + public static TSource ClearProperties(this TSource source) + { + foreach (PropertyInfo info in source.GetType().GetProperties()) + { + if (info.GetGetMethod().IsVirtual) + { + info.SetValue(source, null, null); + } + } + return source; + } + + + } +} diff --git a/AYA.SlnSynor/Atesa.Utilitarios/ObtieneParametros.cs b/AYA.SlnSynor/Atesa.Utilitarios/ObtieneParametros.cs new file mode 100644 index 000000000..724bac047 --- /dev/null +++ b/AYA.SlnSynor/Atesa.Utilitarios/ObtieneParametros.cs @@ -0,0 +1,33 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Microsoft.Win32; + +namespace Atesa.Utilitarios +{ + public class ObtieneParametros + { + + public string GetValueKeyRegedit(string SubKey, string Key, bool Decrypt) + { + string Respuesta = string.Empty; + + try + { + using (RegistryKey RegistryKey = Registry.LocalMachine.OpenSubKey("SOFTWARE")) + { + RegistryKey SubRegistryKey = RegistryKey.OpenSubKey(SubKey); + Respuesta = SubRegistryKey.GetValue(Key, "Value", RegistryValueOptions.DoNotExpandEnvironmentNames).ToString(); + } + } + catch (Exception ex) + { + + throw; + } + return Respuesta; + } + } +} diff --git a/AYA.SlnSynor/Atesa.Utilitarios/Properties/AssemblyInfo.cs b/AYA.SlnSynor/Atesa.Utilitarios/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..d2fbcf536 --- /dev/null +++ b/AYA.SlnSynor/Atesa.Utilitarios/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// La información general sobre un ensamblado se controla mediante el siguiente +// conjunto de atributos. Cambie estos atributos para modificar la información +// asociada con un ensamblado. +[assembly: AssemblyTitle("Atesa.Utilitarios")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Atesa.Utilitarios")] +[assembly: AssemblyCopyright("Copyright © 2018")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Si establece ComVisible como false, los tipos de este ensamblado no estarán visibles +// para los componentes COM. Si necesita obtener acceso a un tipo de este ensamblado desde +// COM, establezca el atributo ComVisible como true en este tipo. +[assembly: ComVisible(false)] + +// El siguiente GUID sirve como identificador de typelib si este proyecto se expone a COM +[assembly: Guid("8a7e3c26-774b-4517-a037-043e0584276d")] + +// La información de versión de un ensamblado consta de los cuatro valores siguientes: +// +// Versión principal +// Versión secundaria +// Número de compilación +// Revisión +// +// Puede especificar todos los valores o establecer como predeterminados los números de compilación y de revisión +// mediante el carácter '*', como se muestra a continuación: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")]