git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C68
This commit is contained in:
parent
b6444bb2c9
commit
e7ed8d2d33
90 changed files with 291 additions and 2733 deletions
|
|
@ -75,10 +75,10 @@
|
|||
<ItemGroup>
|
||||
<Content Include="Properties\DataSources\System.Data.DataSet.datasource" />
|
||||
<None Include="Properties\PublishProfiles\AYA.SlnSinort.WCF.pubxml" />
|
||||
<None Include="Service References\AyAWCF\ServicioUsuarios.disco" />
|
||||
<None Include="Service References\AyAWCF\configuration91.svcinfo" />
|
||||
<None Include="Service References\AyAWCF\configuration.svcinfo" />
|
||||
<None Include="Service References\AyAWCF\Reference.svcmap">
|
||||
<None Include="Service References\ServiciosUsuariosWCF\ServicioUsuarios.disco" />
|
||||
<None Include="Service References\ServiciosUsuariosWCF\configuration91.svcinfo" />
|
||||
<None Include="Service References\ServiciosUsuariosWCF\configuration.svcinfo" />
|
||||
<None Include="Service References\ServiciosUsuariosWCF\Reference.svcmap">
|
||||
<Generator>WCF Proxy Generator</Generator>
|
||||
<LastGenOutput>Reference.cs</LastGenOutput>
|
||||
</None>
|
||||
|
|
@ -88,7 +88,7 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="ISinortCatalogos.cs" />
|
||||
<Compile Include="Service References\AyAWCF\Reference.cs">
|
||||
<Compile Include="Service References\ServiciosUsuariosWCF\Reference.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
|
|
@ -107,17 +107,17 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="packages.config" />
|
||||
<None Include="Service References\AyAWCF\ServicioUsuarios.wsdl" />
|
||||
<None Include="Service References\AyAWCF\ServicioUsuarios.xsd">
|
||||
<None Include="Service References\ServiciosUsuariosWCF\ServicioUsuarios.wsdl" />
|
||||
<None Include="Service References\ServiciosUsuariosWCF\ServicioUsuarios.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="Service References\AyAWCF\ServicioUsuarios1.xsd">
|
||||
<None Include="Service References\ServiciosUsuariosWCF\ServicioUsuarios1.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="Service References\AyAWCF\ServicioUsuarios2.xsd">
|
||||
<None Include="Service References\ServiciosUsuariosWCF\ServicioUsuarios2.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="Service References\AyAWCF\ServicioUsuarios3.xsd">
|
||||
<None Include="Service References\ServiciosUsuariosWCF\ServicioUsuarios3.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="Web.Debug.config">
|
||||
|
|
@ -142,7 +142,7 @@
|
|||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<WCFMetadataStorage Include="Service References\AyAWCF\" />
|
||||
<WCFMetadataStorage Include="Service References\ServiciosUsuariosWCF\" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
|
||||
using AYA.SlnSinortModel.Entidades;
|
||||
using AYA.SlnSinortModel.Sinort;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
|
@ -14,7 +15,7 @@ namespace AYA.SlnSinort.WCF
|
|||
[ServiceContract]
|
||||
public interface ISinort
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -79,5 +79,8 @@ namespace AYA.SlnSinort.WCF
|
|||
|
||||
#endregion
|
||||
|
||||
[OperationContract]
|
||||
List<Usuario> ObtenerUsuariosAyA();
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/">
|
||||
<contractRef ref="http://localhost/AyA.SlnSinort.WCF.Usuarios/ServicioUsuarios.svc?wsdl" docRef="http://localhost/AyA.SlnSinort.WCF.Usuarios/ServicioUsuarios.svc" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
|
||||
</discovery>
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
|
||||
<behaviors />
|
||||
<bindings>
|
||||
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="BasicHttpBinding_IServicioUsuarios" />" bindingType="basicHttpBinding" name="BasicHttpBinding_IServicioUsuarios" />
|
||||
</bindings>
|
||||
<endpoints>
|
||||
<endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://localhost/AyA.SlnSinort.WCF.Usuarios/ServicioUsuarios.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IServicioUsuarios" contract="AyAWCF.IServicioUsuarios" name="BasicHttpBinding_IServicioUsuarios" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://localhost/AyA.SlnSinort.WCF.Usuarios/ServicioUsuarios.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IServicioUsuarios" contract="AyAWCF.IServicioUsuarios" name="BasicHttpBinding_IServicioUsuarios" />" contractName="AyAWCF.IServicioUsuarios" name="BasicHttpBinding_IServicioUsuarios" />
|
||||
</endpoints>
|
||||
</configurationSnapshot>
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace AYA.SlnSinort.WCF.AyAWCF {
|
||||
namespace AYA.SlnSinort.WCF.ServiciosUsuariosWCF {
|
||||
using System.Runtime.Serialization;
|
||||
using System;
|
||||
|
||||
|
|
@ -139,7 +139,7 @@ namespace AYA.SlnSinort.WCF.AyAWCF {
|
|||
}
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="AyAWCF.IServicioUsuarios")]
|
||||
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="ServiciosUsuariosWCF.IServicioUsuarios")]
|
||||
public interface IServicioUsuarios {
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IServicioUsuarios/obtenerUsuariosActiveDirectory", ReplyAction="http://tempuri.org/IServicioUsuarios/obtenerUsuariosActiveDirectoryResponse")]
|
||||
|
|
@ -149,19 +149,19 @@ namespace AYA.SlnSinort.WCF.AyAWCF {
|
|||
System.Threading.Tasks.Task<System.Data.DataSet> obtenerUsuariosActiveDirectoryAsync();
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IServicioUsuarios/enviarCorreo", ReplyAction="http://tempuri.org/IServicioUsuarios/enviarCorreoResponse")]
|
||||
int enviarCorreo(AYA.SlnSinort.WCF.AyAWCF.correoEL objCorreo);
|
||||
int enviarCorreo(AYA.SlnSinort.WCF.ServiciosUsuariosWCF.correoEL objCorreo);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IServicioUsuarios/enviarCorreo", ReplyAction="http://tempuri.org/IServicioUsuarios/enviarCorreoResponse")]
|
||||
System.Threading.Tasks.Task<int> enviarCorreoAsync(AYA.SlnSinort.WCF.AyAWCF.correoEL objCorreo);
|
||||
System.Threading.Tasks.Task<int> enviarCorreoAsync(AYA.SlnSinort.WCF.ServiciosUsuariosWCF.correoEL objCorreo);
|
||||
}
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
public interface IServicioUsuariosChannel : AYA.SlnSinort.WCF.AyAWCF.IServicioUsuarios, System.ServiceModel.IClientChannel {
|
||||
public interface IServicioUsuariosChannel : AYA.SlnSinort.WCF.ServiciosUsuariosWCF.IServicioUsuarios, System.ServiceModel.IClientChannel {
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
public partial class ServicioUsuariosClient : System.ServiceModel.ClientBase<AYA.SlnSinort.WCF.AyAWCF.IServicioUsuarios>, AYA.SlnSinort.WCF.AyAWCF.IServicioUsuarios {
|
||||
public partial class ServicioUsuariosClient : System.ServiceModel.ClientBase<AYA.SlnSinort.WCF.ServiciosUsuariosWCF.IServicioUsuarios>, AYA.SlnSinort.WCF.ServiciosUsuariosWCF.IServicioUsuarios {
|
||||
|
||||
public ServicioUsuariosClient() {
|
||||
}
|
||||
|
|
@ -190,11 +190,11 @@ namespace AYA.SlnSinort.WCF.AyAWCF {
|
|||
return base.Channel.obtenerUsuariosActiveDirectoryAsync();
|
||||
}
|
||||
|
||||
public int enviarCorreo(AYA.SlnSinort.WCF.AyAWCF.correoEL objCorreo) {
|
||||
public int enviarCorreo(AYA.SlnSinort.WCF.ServiciosUsuariosWCF.correoEL objCorreo) {
|
||||
return base.Channel.enviarCorreo(objCorreo);
|
||||
}
|
||||
|
||||
public System.Threading.Tasks.Task<int> enviarCorreoAsync(AYA.SlnSinort.WCF.AyAWCF.correoEL objCorreo) {
|
||||
public System.Threading.Tasks.Task<int> enviarCorreoAsync(AYA.SlnSinort.WCF.ServiciosUsuariosWCF.correoEL objCorreo) {
|
||||
return base.Channel.enviarCorreoAsync(objCorreo);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="fe1de44a-d5dd-4666-8c2e-cf2a235e2ada" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
|
||||
<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="923b884a-25bc-4b95-aa3e-7a8b13aefff7" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
|
||||
<ClientOptions>
|
||||
<GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
|
||||
<GenerateTaskBasedAsynchronousMethod>true</GenerateTaskBasedAsynchronousMethod>
|
||||
|
|
@ -19,15 +19,15 @@
|
|||
<ServiceContractMappings />
|
||||
</ClientOptions>
|
||||
<MetadataSources>
|
||||
<MetadataSource Address="http://localhost/AYA.SlnSinort.WCF.Usuarios/ServicioUsuarios.svc" Protocol="http" SourceId="1" />
|
||||
<MetadataSource Address="http://10.50.1.123:2075/" Protocol="http" SourceId="1" />
|
||||
</MetadataSources>
|
||||
<Metadata>
|
||||
<MetadataFile FileName="ServicioUsuarios.disco" MetadataType="Disco" ID="c49fbbb8-251b-4c2f-afed-d75cb65a2115" SourceId="1" SourceUrl="http://localhost/AyA.SlnSinort.WCF.Usuarios/ServicioUsuarios.svc?disco" />
|
||||
<MetadataFile FileName="ServicioUsuarios.xsd" MetadataType="Schema" ID="052387aa-055c-4017-b619-53cb330c6db1" SourceId="1" SourceUrl="http://localhost/AyA.SlnSinort.WCF.Usuarios/ServicioUsuarios.svc?xsd=xsd2" />
|
||||
<MetadataFile FileName="ServicioUsuarios1.xsd" MetadataType="Schema" ID="1fc3e9fa-dec9-473c-8074-1d616f1a5de5" SourceId="1" SourceUrl="http://localhost/AyA.SlnSinort.WCF.Usuarios/ServicioUsuarios.svc?xsd=xsd3" />
|
||||
<MetadataFile FileName="ServicioUsuarios.wsdl" MetadataType="Wsdl" ID="1b1675f2-fb08-4380-825c-a9fb77c45b6f" SourceId="1" SourceUrl="http://localhost/AyA.SlnSinort.WCF.Usuarios/ServicioUsuarios.svc?wsdl" />
|
||||
<MetadataFile FileName="ServicioUsuarios2.xsd" MetadataType="Schema" ID="abc4b8db-85b5-41af-934d-df6b39ed8b2f" SourceId="1" SourceUrl="http://localhost/AyA.SlnSinort.WCF.Usuarios/ServicioUsuarios.svc?xsd=xsd1" />
|
||||
<MetadataFile FileName="ServicioUsuarios3.xsd" MetadataType="Schema" ID="eb77babb-eab0-47e9-9ab5-2c6546403176" SourceId="1" SourceUrl="http://localhost/AyA.SlnSinort.WCF.Usuarios/ServicioUsuarios.svc?xsd=xsd0" />
|
||||
<MetadataFile FileName="ServicioUsuarios.wsdl" MetadataType="Wsdl" ID="487e8e3c-fb8b-41d3-a359-fcf7a01e0391" SourceId="1" SourceUrl="http://10.50.1.123:2075/ServicioUsuarios.svc?wsdl" />
|
||||
<MetadataFile FileName="ServicioUsuarios.xsd" MetadataType="Schema" ID="fcbd39a2-090f-4839-99b4-0dc100212418" SourceId="1" SourceUrl="http://10.50.1.123:2075/ServicioUsuarios.svc?xsd=xsd0" />
|
||||
<MetadataFile FileName="ServicioUsuarios1.xsd" MetadataType="Schema" ID="a82a5f5b-9ee7-4153-85bf-851ad576c56f" SourceId="1" SourceUrl="http://10.50.1.123:2075/ServicioUsuarios.svc?xsd=xsd1" />
|
||||
<MetadataFile FileName="ServicioUsuarios2.xsd" MetadataType="Schema" ID="28db5ab1-f2b9-4c99-921d-4d1047aa8785" SourceId="1" SourceUrl="http://10.50.1.123:2075/ServicioUsuarios.svc?xsd=xsd2" />
|
||||
<MetadataFile FileName="ServicioUsuarios3.xsd" MetadataType="Schema" ID="c37bb5d8-47a1-48b5-973e-d463f11f8d5f" SourceId="1" SourceUrl="http://10.50.1.123:2075/ServicioUsuarios.svc?xsd=xsd3" />
|
||||
<MetadataFile FileName="ServicioUsuarios.disco" MetadataType="Disco" ID="59b7e267-52b1-4c56-bba4-97af1dcc3cdd" SourceId="1" SourceUrl="http://10.50.1.123:2075/ServicioUsuarios.svc?disco" />
|
||||
</Metadata>
|
||||
<Extensions>
|
||||
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/">
|
||||
<contractRef ref="http://10.50.1.123:2075/ServicioUsuarios.svc?wsdl" docRef="http://10.50.1.123:2075/ServicioUsuarios.svc" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
|
||||
</discovery>
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<wsdl:definitions xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ServicioUsuarios" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
||||
<wsdl:definitions xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ServicioUsuarios" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
||||
<wsdl:types>
|
||||
<xsd:schema targetNamespace="http://tempuri.org/Imports">
|
||||
<xsd:import schemaLocation="http://localhost/AyA.SlnSinort.WCF.Usuarios/ServicioUsuarios.svc?xsd=xsd0" namespace="http://tempuri.org/" />
|
||||
<xsd:import schemaLocation="http://localhost/AyA.SlnSinort.WCF.Usuarios/ServicioUsuarios.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
|
||||
<xsd:import schemaLocation="http://localhost/AyA.SlnSinort.WCF.Usuarios/ServicioUsuarios.svc?xsd=xsd2" />
|
||||
<xsd:import schemaLocation="http://localhost/AyA.SlnSinort.WCF.Usuarios/ServicioUsuarios.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/AyAEL.Tran" />
|
||||
<xsd:import schemaLocation="http://10.50.1.123:2075/ServicioUsuarios.svc?xsd=xsd0" namespace="http://tempuri.org/" />
|
||||
<xsd:import schemaLocation="http://10.50.1.123:2075/ServicioUsuarios.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
|
||||
<xsd:import schemaLocation="http://10.50.1.123:2075/ServicioUsuarios.svc?xsd=xsd2" />
|
||||
<xsd:import schemaLocation="http://10.50.1.123:2075/ServicioUsuarios.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/AyAEL.Tran" />
|
||||
</xsd:schema>
|
||||
</wsdl:types>
|
||||
<wsdl:message name="IServicioUsuarios_obtenerUsuariosActiveDirectory_InputMessage">
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
</wsdl:binding>
|
||||
<wsdl:service name="ServicioUsuarios">
|
||||
<wsdl:port name="BasicHttpBinding_IServicioUsuarios" binding="tns:BasicHttpBinding_IServicioUsuarios">
|
||||
<soap:address location="http://localhost/AyA.SlnSinort.WCF.Usuarios/ServicioUsuarios.svc" />
|
||||
<soap:address location="http://10.50.1.123:2075/ServicioUsuarios.svc" />
|
||||
</wsdl:port>
|
||||
</wsdl:service>
|
||||
</wsdl:definitions>
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:import schemaLocation="http://localhost/AyA.SlnSinort.WCF.Usuarios/ServicioUsuarios.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/AyAEL.Tran" />
|
||||
<xs:import schemaLocation="http://10.50.1.123:2075/ServicioUsuarios.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/AyAEL.Tran" />
|
||||
<xs:element name="obtenerUsuariosActiveDirectory">
|
||||
<xs:complexType>
|
||||
<xs:sequence />
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
|
||||
<behaviors />
|
||||
<bindings>
|
||||
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="BasicHttpBinding_IServicioUsuarios" />" bindingType="basicHttpBinding" name="BasicHttpBinding_IServicioUsuarios" />
|
||||
</bindings>
|
||||
<endpoints>
|
||||
<endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://10.50.1.123:2075/ServicioUsuarios.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IServicioUsuarios" contract="ServiciosUsuariosWCF.IServicioUsuarios" name="BasicHttpBinding_IServicioUsuarios" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://10.50.1.123:2075/ServicioUsuarios.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IServicioUsuarios" contract="ServiciosUsuariosWCF.IServicioUsuarios" name="BasicHttpBinding_IServicioUsuarios" />" contractName="ServiciosUsuariosWCF.IServicioUsuarios" name="BasicHttpBinding_IServicioUsuarios" />
|
||||
</endpoints>
|
||||
</configurationSnapshot>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="YneIJkr3JdnlvCymGm8BpXmN0jw=">
|
||||
<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="lm/iPvTn7Cyfl1EfY5tm7xAQF60=">
|
||||
<bindingConfigurations>
|
||||
<bindingConfiguration bindingType="basicHttpBinding" name="BasicHttpBinding_IServicioUsuarios">
|
||||
<properties>
|
||||
|
|
@ -112,10 +112,10 @@
|
|||
</bindingConfiguration>
|
||||
</bindingConfigurations>
|
||||
<endpoints>
|
||||
<endpoint name="BasicHttpBinding_IServicioUsuarios" contract="AyAWCF.IServicioUsuarios" bindingType="basicHttpBinding" address="http://localhost/AyA.SlnSinort.WCF.Usuarios/ServicioUsuarios.svc" bindingConfiguration="BasicHttpBinding_IServicioUsuarios">
|
||||
<endpoint name="BasicHttpBinding_IServicioUsuarios" contract="ServiciosUsuariosWCF.IServicioUsuarios" bindingType="basicHttpBinding" address="http://10.50.1.123:2075/ServicioUsuarios.svc" bindingConfiguration="BasicHttpBinding_IServicioUsuarios">
|
||||
<properties>
|
||||
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>http://localhost/AyA.SlnSinort.WCF.Usuarios/ServicioUsuarios.svc</serializedValue>
|
||||
<serializedValue>http://10.50.1.123:2075/ServicioUsuarios.svc</serializedValue>
|
||||
</property>
|
||||
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
|
|
@ -127,7 +127,7 @@
|
|||
<serializedValue>BasicHttpBinding_IServicioUsuarios</serializedValue>
|
||||
</property>
|
||||
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>AyAWCF.IServicioUsuarios</serializedValue>
|
||||
<serializedValue>ServiciosUsuariosWCF.IServicioUsuarios</serializedValue>
|
||||
</property>
|
||||
<property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue>
|
||||
|
|
@ -6,11 +6,13 @@ using AYA.SlnSinortModel.Entidades;
|
|||
using AYA.SlnSinortModel.Sinort;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Runtime.Serialization;
|
||||
using System.ServiceModel;
|
||||
using System.ServiceModel.Web;
|
||||
using System.Text;
|
||||
////using AYA.SlnSinort.WCF.ServiciosUsuariosWCF;
|
||||
|
||||
namespace AYA.SlnSinort.WCF
|
||||
{
|
||||
|
|
@ -35,6 +37,6 @@ namespace AYA.SlnSinort.WCF
|
|||
//}
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ using AYA.SlnSinortModel.Entidades;
|
|||
using AYA.SlnSinortModel.Sinort;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Runtime.Serialization;
|
||||
using System.ServiceModel;
|
||||
|
|
@ -252,6 +253,20 @@ namespace AYA.SlnSinort.WCF
|
|||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region WCFAYA
|
||||
public List<Usuario> ObtenerUsuariosAyA()
|
||||
{
|
||||
List<Usuario> respuesta = null;
|
||||
DataSet ds = new DataSet();
|
||||
ServiciosUsuariosWCF.ServicioUsuariosClient respuestaAyA = new ServiciosUsuariosWCF.ServicioUsuariosClient();
|
||||
ds = respuestaAyA.obtenerUsuariosActiveDirectory();
|
||||
|
||||
return respuesta;
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,9 +10,9 @@
|
|||
</system.web>
|
||||
<system.serviceModel>
|
||||
<client>
|
||||
<endpoint address="http://localhost/AyA.SlnSinort.WCF.Usuarios/ServicioUsuarios.svc"
|
||||
<endpoint address="http://10.50.1.123:2075/ServicioUsuarios.svc"
|
||||
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IServicioUsuarios"
|
||||
contract="AyAWCF.IServicioUsuarios" name="BasicHttpBinding_IServicioUsuarios" />
|
||||
contract="ServiciosUsuariosWCF.IServicioUsuarios" name="BasicHttpBinding_IServicioUsuarios" />
|
||||
</client>
|
||||
<behaviors>
|
||||
<serviceBehaviors>
|
||||
|
|
|
|||
|
|
@ -7679,6 +7679,7 @@
|
|||
<Content Include="Sinort-Scripts\Global.js" />
|
||||
<Content Include="Sinort-Scripts\Mantenimientos.js" />
|
||||
<Content Include="Sinort-Scripts\PropuestaNormativa\DetallePropuestaNormativa.js" />
|
||||
<Content Include="Sinort-Scripts\PropuestaNormativa\Foro.js" />
|
||||
<Content Include="Sinort-Scripts\PropuestaNormativa\PropuestaNormativa.js" />
|
||||
<Content Include="Sinort-Scripts\ProyectoNormativo.js" />
|
||||
<Content Include="Sinort-Scripts\Rol.js" />
|
||||
|
|
|
|||
|
|
@ -18,6 +18,9 @@ namespace AYA.SlnSinort.Controllers
|
|||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
public ActionResult Proyecto_Normativo()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -19,5 +19,10 @@ namespace AYA.SlnSinort.Controllers.PropuestaNormativa
|
|||
InitControllers();
|
||||
return View();
|
||||
}
|
||||
public ActionResult Foro()
|
||||
{
|
||||
InitControllers();
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
|
||||
|
|
@ -324,9 +324,14 @@ this.MostarUsuario = function (data) {
|
|||
var repetido = false;
|
||||
|
||||
var stateIcon = $("#ucItemsIcon").html();
|
||||
|
||||
|
||||
stateIcon = replaceAll("[$icon]", "fa-check-circle", stateIcon);
|
||||
stateIcon = replaceAll("[$state_color]", "muted", stateIcon);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var data1 = GridRolesUsuarios
|
||||
.rows()
|
||||
|
|
@ -441,8 +446,9 @@ this.GuardarRolesUsuarios = function () {
|
|||
ListaRolesUsuarios: ArrayRolesUsuarios
|
||||
};
|
||||
|
||||
AjaxPostData(uri, model, true, true, CompletarAccionUsuario(IdRoles), null, null);
|
||||
|
||||
AjaxPostData(uri, model, false, true, null, null, null);
|
||||
CargarUsuarios(IdRoles);
|
||||
ENDREQUEST();
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -450,6 +456,7 @@ this.LimpiarUsuario = function(){
|
|||
$('#txtUsuario').val('');
|
||||
}
|
||||
this.HabilitarUsuario = function (id, value) {
|
||||
GridRolesUsuarios = $('#GridRolesUsuarios').DataTable();
|
||||
|
||||
var msg = '¿Está seguro que desea habilitar el usuario?';
|
||||
|
||||
|
|
@ -465,7 +472,7 @@ this.HabilitarUsuario = function (id, value) {
|
|||
if (!confirm(msg))
|
||||
{ return; }
|
||||
var ArrayRolesUsuarios = [];
|
||||
GridRolesUsuarios = $('#GridRolesUsuarios').DataTable();
|
||||
|
||||
|
||||
RolesUsuarios = {
|
||||
IdRolesUsuario: id,
|
||||
|
|
@ -481,12 +488,9 @@ this.HabilitarUsuario = function (id, value) {
|
|||
}
|
||||
|
||||
var uri = CatalogosWCF + '/api/InsertarActualizarRolesUsuario';
|
||||
AjaxPostData(uri, model, true, true, CompletarAccionUsuario(id), null, null);
|
||||
|
||||
}
|
||||
|
||||
this.CompletarAccionUsuario = function (id) {
|
||||
|
||||
CargarUsuarios(id);
|
||||
AjaxPostData(uri, model, false, true, null, null, null);
|
||||
CargarUsuarios($('#hiddenIdRol').val());
|
||||
ENDREQUEST();
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,14 @@ var Item = {};
|
|||
jQuery(document).ready(function () {
|
||||
CargarUsuario();
|
||||
});
|
||||
this.ActualizarUsuario = function () {
|
||||
|
||||
var uri = CatalogosWCF + '/api/ObtenerUsuariosAyA';
|
||||
AjaxPostData(uri, Item, true, false, null, null, null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
this.CargarUsuario = function () {
|
||||
|
|
@ -27,25 +35,5 @@ this.CargarTablaUsuario = function (data) {
|
|||
|
||||
ENDREQUEST();
|
||||
|
||||
//if (data != null) {
|
||||
// lista = data;
|
||||
|
||||
// var columnDefinition = [
|
||||
// { "data": "IdUsuario" },
|
||||
// { "data": "UsuarioSistema" },
|
||||
// { "data": "NombreUsuario" },
|
||||
// { "data": "EmailUsuario" }
|
||||
|
||||
// ];
|
||||
|
||||
// $('#tableUsuario').TableInit(1, true, true, true, true, columnDefinition, lista);
|
||||
|
||||
// if ($.fn.DataTable.isDataTable('#tableUsuario')) {
|
||||
|
||||
// $('#tableUsuario').DataTable().search('').draw();
|
||||
|
||||
// ENDREQUEST();
|
||||
// }
|
||||
//}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<input type="hidden" id="hiddenId" value="true">
|
||||
<form id="formCatalogo" class="form-horizontal" role="form">
|
||||
<div class="panel-body"> <h3> <i class="fa fa-briefcase"></i> Aplicación </h3> </div>
|
||||
<div class="panel panel-success">
|
||||
@*<div class="panel panel-success">*@
|
||||
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
|
|
@ -94,7 +94,7 @@
|
|||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@*</div>*@
|
||||
</form>
|
||||
|
||||
@Scripts.Render("~/Sinort-Scripts/Aplicacion.js")
|
||||
|
|
|
|||
|
|
@ -7,9 +7,11 @@
|
|||
<input type="hidden" id="hiddenId" value="true">
|
||||
<form id="formCatalogo" class="form-horizontal" role="form">
|
||||
<div class="panel-body"> <h3> <i class="fa fa-briefcase"></i> Emisor </h3> </div>
|
||||
<div class="panel panel-success">
|
||||
@*<div class="panel panel-success">*@
|
||||
|
||||
<div class="panel-body">
|
||||
|
||||
<br />
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
<table id="TableItems" class="display">
|
||||
|
|
@ -92,7 +94,7 @@
|
|||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@*</div>*@
|
||||
</form>
|
||||
|
||||
@Scripts.Render("~/Sinort-Scripts/EmisorPN.js")
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<input type="hidden" id="hiddenIdRol" value="true">
|
||||
<form id="formCatalogo" class="form-horizontal" role="form">
|
||||
<div class="panel-body"> <h3> <i class="fa fa-briefcase"></i> Rol </h3> </div>
|
||||
<div class="panel panel-success">
|
||||
@*<div class="panel panel-success">*@
|
||||
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
|
|
@ -103,7 +103,7 @@
|
|||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@*</div>*@
|
||||
</form>
|
||||
|
||||
<div class="modal fade" id="modalRolesPantallas" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
|
||||
|
|
@ -117,10 +117,10 @@
|
|||
<table id="GridRolesPantallas" class="table table-condensed dataTable no-footer">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="col-sm-1">IDROLES</th>
|
||||
<th class="col-sm-1">ID</th>
|
||||
<th class="col-sm-1"></th>
|
||||
<th class="col-sm-1"></th>
|
||||
<th class="col-sm-4">Descripción</th>
|
||||
<th class="col-sm-4"></th>
|
||||
<th class="col-sm-4">Acción</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
|
|
@ -169,8 +169,8 @@
|
|||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th class="col-sm-1">IDROLES</th>
|
||||
<th class="col-sm-1">ID</th>
|
||||
<th class="col-sm-1"></th>
|
||||
<th class="col-sm-1"></th>
|
||||
<th class="col-sm-4">Usuario</th>
|
||||
<th class="col-sm-4">Nombre</th>
|
||||
<th></th>
|
||||
|
|
|
|||
|
|
@ -8,13 +8,14 @@
|
|||
<input type="hidden" id="hiddenId" value="true">
|
||||
<form id="formCatalogo" class="form-horizontal" role="form">
|
||||
<div class="panel-body"> <h3> <i class="fa fa-briefcase"></i> Usuario </h3> </div>
|
||||
<div class="panel panel-success">
|
||||
@*<div class="panel panel-success">*@
|
||||
|
||||
<div class="panel-body">
|
||||
<div class="col-md-4 ">
|
||||
|
||||
<button class="btn btn-success btn-medium btn-margin-catalogo" id="btnConvocados" type="button" usehttppost="0" webapplication="">
|
||||
<i class="fa fa-refresh"></i> Actualizar
|
||||
<button class="btn btn-success btn-medium btn-margin-catalogo" id="btnConvocados" type="button" usehttppost="0" webapplication="" onclick="javascript: ActualizarUsuarios()>
|
||||
<i class=" fa fa-refresh">
|
||||
</i> Actualizar
|
||||
</button>
|
||||
|
||||
</div>
|
||||
|
|
@ -42,7 +43,7 @@
|
|||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@*</div>*@
|
||||
</form>
|
||||
|
||||
@Scripts.Render("~/Sinort-Scripts/Usuario.js")
|
||||
|
|
|
|||
|
|
@ -14,10 +14,10 @@
|
|||
<section class="content container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-sm-4"><a href="@Url.Action("Normativa_Reglamentacion_Tecnica", "Home")"> <img class="img-responsive" src="~/dist/img/imgNormReg1.png"></div>
|
||||
<div class="col-sm-4"><a href="#"> <img class="img-responsive" src="~/dist/img/imgProyeNorm1.png"></div>
|
||||
<div class="col-sm-4"><a href="@Url.Action("Proyecto_Normativo", "Home")"> <img class="img-responsive" src="~/dist/img/imgProyeNorm1.png"></div>
|
||||
<div class="col-sm-4"><a href="#"> <img class="img-responsive" src="~/dist/img/imgEst1.png"></div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,139 @@
|
|||
|
||||
@{
|
||||
ViewBag.Title = "Foro";
|
||||
Layout = "~/Views/Shared/_Layout.cshtml";
|
||||
}
|
||||
|
||||
<h2>Foro</h2>
|
||||
|
||||
<form id="formPropuestaNormativa" class="form-horizontal" role="form">
|
||||
<div class="panel-body"> <h3> <i class="fa fa-briefcase"></i> Foro </h3> </div>
|
||||
@*<div class="well well-sm">*@
|
||||
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-6">
|
||||
|
||||
@*---------------------Tema---------------------------------------------------------*@
|
||||
|
||||
<div class="form-group " id="divTema">
|
||||
<label class="col-lg-5 col-md-5 col-sm-5 col-xs-5 control-label ControlsForms" id="lblTema">Tema del foro</label>
|
||||
<div class="input-group col-lg-6 col-md-6 col-sm-6 col-xs-6 ">
|
||||
<input name="txtTema" title="" class="form-control imput-xs TextBoxFramework inputWarning error" id="txtTema" required="required" type="text" placeholder="" data-original-title="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@*---------------------Fecha de inicio de consulta---------------------------------------------*@
|
||||
|
||||
<div class="form-group" id="divFechaInicio">
|
||||
<label class="col-lg-5 col-md-5 col-xs-5 control-label ControlsForms" id="lblFechaInicio">Fecha de inicio</label>
|
||||
|
||||
<div class=" input-group col-lg-6 col-md-6 col-xs-6">
|
||||
<span class="input-group-addon"><i class="fa fa-calendar" id="iconFechaInicio"></i></span>
|
||||
<input name="txtFechaInicio" disabled="disabled" class="form-control imput-xs" id="txtFechaInicio" type="text" readonly="readonly" dateformat="DD-MMMM-YYYY">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@*---------------------Fecha de finalización de consulta---------------------------------------------*@
|
||||
|
||||
<div class="form-group" id="divFechaFinalizacion">
|
||||
<label class="col-lg-5 col-md-5 col-xs-5 control-label ControlsForms" id="lblFechaFinalizacion">Fecha de cierre</label>
|
||||
|
||||
<div class=" input-group col-lg-6 col-md-6 col-xs-6">
|
||||
<span class="input-group-addon"><i class="fa fa-calendar" id="iconFechaFinalizacion"></i></span>
|
||||
<input name="txtFechaFinalizacion" disabled="disabled" class="form-control imput-xs" id="txtFechaFinalizacion" type="text" readonly="readonly" dateformat="DD-MMMM-YYYY">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@*---------------------Promotor del proyecto---------------------------------------------------------*@
|
||||
|
||||
<div class="form-group " id="divPromotorProyecto">
|
||||
<label class="col-lg-5 col-md-5 col-sm-5 col-xs-5 control-label ControlsForms" id="lblPromotorProyecto">Promotor del proyecto</label>
|
||||
<div class="input-group col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
||||
<input name="txtPromotorProyecto" title="" class="form-control imput-xs TextBoxFramework inputWarning error" id="txtPromotorProyecto" required="required" type="text" placeholder="" data-original-title="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@*---------------------Fecha máxima para confirmar participación date---------------------------------------------*@
|
||||
|
||||
<div class="form-group" id="divFechaMaximaConfirmarParticipacion">
|
||||
<label class="ccol-lg-5 col-md-5 col-xs-5 control-label ControlsForms" id="lblFechaMaximaConfirmarParticipacion">Fecha máxima para confirmar participación</label>
|
||||
|
||||
<div class="input-group col-lg-6 col-md-6 col-xs-6">
|
||||
<span class="input-group-addon"><i class="fa fa-calendar" id="iconFechaMaximaConfirmarParticipacion"></i></span>
|
||||
<input name="txtFechaMaximaConfirmarParticipacion" disabled="disabled" class="form-control imput-xs" id="txtFechaMaximaConfirmarParticipacion" type="text" dateformat="DD-MMMM-YYYY">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
|
||||
|
||||
|
||||
<div class="form-group" id="divUsuario">
|
||||
<label class="col-lg-5 col-md-5 col-sm-5 col-xs-5 control-label ControlsForms" id="lblUsuario" for="txtBuscar">Buscar</label>
|
||||
<div class="input-group input-group-sm col-md-6">
|
||||
<input id="hiddenUsuario" type="hidden">
|
||||
<input name="txtUsuario" title="" class="form-control TextBoxCatalogo inputWarning error" id="txtUsuario" required="required" type="text" data-original-title="">
|
||||
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-default btn-medium" id="btn_eliminarUsuario" type="button" onclick="javascript: LimpiarUsuario()">
|
||||
<i class="fa fa-close"></i>
|
||||
</button>
|
||||
<button class="btn btn-success btn-medium btn-margin-catalogo" id="btnUsuario" type="button" usehttppost="0" webapplication="" onclick="javascript: BuscarUsuario()">
|
||||
<i class="fa fa-plus"></i>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="modal-body">
|
||||
<table id="GridConvocados" class="table table-condensed dataTable no-footer">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th class="col-sm-1"></th>
|
||||
<th class="col-sm-1"></th>
|
||||
<th class="col-sm-4">Usuario</th>
|
||||
<th class="col-sm-4">Nombre</th>
|
||||
<th class="col-sm-4">Correo</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
<div id="ucItemsIconUsuario" style="display:none;">
|
||||
<div class="text-[$state_color]">
|
||||
<i class="fa [$icon] fa-2x"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div id="ucItemsHabiliar" style="display:none;">
|
||||
<button type="button" id="btnhabilitar" class="btn btn-default btn-xs" onclick="javascript: HabilitarUsuario([$CodItem], [$value])">
|
||||
<i class=" fa [$icon]"></i> [$opcion]
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
@*</div>*@
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
@Scripts.Render("~/Sinort-Scripts/PropuestaNormativa/Foro.js")
|
||||
|
|
@ -52,7 +52,7 @@
|
|||
<div id="toast-container" class="toast-top-right"></div>
|
||||
@RenderSection("Modals", required: false)
|
||||
|
||||
<div class="wrapper">
|
||||
<div class="wrapper" >
|
||||
|
||||
<!-- Main Header -->
|
||||
<header class="main-header">
|
||||
|
|
@ -227,6 +227,8 @@
|
|||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<span><i class="fa fa-circle text-success"> Acciones</i> </span>
|
||||
<li><a href="@Url.Action("Index", "PropuestaNormativa")">Propuesta Normativa</a></li>
|
||||
<li><a href="@Url.Action("Foro", "PropuestaNormativa")"> Foro</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="treeview">
|
||||
|
|
@ -248,6 +250,7 @@
|
|||
|
||||
</section>
|
||||
|
||||
|
||||
</aside>
|
||||
<div id="main" class="content-wrapper">
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
<add name="DefaultConnection" connectionString="Data Source=(LocalDb)\v11.0;AttachDbFilename=|DataDirectory|\aspnet-AYA.SlnSinort-20180604035805.mdf;Initial Catalog=aspnet-AYA.SlnSinort-20180604035805;Integrated Security=True" providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>-->
|
||||
<connectionStrings>
|
||||
<add name="sinortdb" connectionString="data source=192.168.1.37;initial catalog=PruebaAyA;user id=sinort;password=sinort2018;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
|
||||
<add name="SinortContex" connectionString="data source=192.168.1.37;initial catalog=SinortAyA;persist security info=True;user id=sinort;password=sinort2018;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
<appSettings>
|
||||
<add key="webpages:Version" value="3.0.0.0" />
|
||||
|
|
|
|||
|
|
@ -14,4 +14,7 @@
|
|||
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
|
||||
</providers>
|
||||
</entityFramework>
|
||||
<connectionStrings>
|
||||
<add name="SinortContex" connectionString="data source=192.168.1.37;initial catalog=SinortAyA;persist security info=True;user id=sinort;password=sinort2018;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
</configuration>
|
||||
|
|
@ -72,6 +72,7 @@
|
|||
<Compile Include="Sinort\ComentariosForo.cs" />
|
||||
<Compile Include="Sinort\ComentariosMatriz.cs" />
|
||||
<Compile Include="Sinort\Convocatoria.cs" />
|
||||
<Compile Include="Sinort\ConvocatoriaProyectoNormativo.cs" />
|
||||
<Compile Include="Sinort\Documentos.cs" />
|
||||
<Compile Include="Sinort\DocumentosAdjuntos.cs" />
|
||||
<Compile Include="Sinort\Emisor.cs" />
|
||||
|
|
@ -81,7 +82,6 @@
|
|||
<Compile Include="Sinort\Matriz.cs" />
|
||||
<Compile Include="Sinort\Pantallas.cs" />
|
||||
<Compile Include="Sinort\Partial\Contex.cs" />
|
||||
<Compile Include="Sinort\PermisosUsuario.cs" />
|
||||
<Compile Include="Sinort\PlantillaEmail.cs" />
|
||||
<Compile Include="Sinort\ProyectoNormativo.cs" />
|
||||
<Compile Include="Sinort\Roles.cs" />
|
||||
|
|
|
|||
|
|
@ -1,19 +1,20 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
|
||||
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
||||
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections>
|
||||
<entityFramework>
|
||||
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
|
||||
<parameters>
|
||||
<parameter value="mssqllocaldb" />
|
||||
</parameters>
|
||||
</defaultConnectionFactory>
|
||||
<providers>
|
||||
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
|
||||
</providers>
|
||||
</entityFramework>
|
||||
<connectionStrings>
|
||||
</connectionStrings>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
|
||||
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
||||
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections>
|
||||
<entityFramework>
|
||||
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
|
||||
<parameters>
|
||||
<parameter value="mssqllocaldb" />
|
||||
</parameters>
|
||||
</defaultConnectionFactory>
|
||||
<providers>
|
||||
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
|
||||
</providers>
|
||||
</entityFramework>
|
||||
<connectionStrings>
|
||||
<add name="SinortContex" connectionString="data source=192.168.1.37;initial catalog=SinortAyA;persist security info=True;user id=sinort;password=sinort2018;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
</configuration>
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
public partial class AllDocStreams
|
||||
{
|
||||
[Key]
|
||||
[Column(Order = 0)]
|
||||
public Guid Id { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 1)]
|
||||
public Guid SiteId { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 2)]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int InternalVersion { get; set; }
|
||||
|
||||
public byte[] Content { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
public partial class AllDocVersions
|
||||
{
|
||||
[Key]
|
||||
[Column(Order = 0)]
|
||||
public Guid SiteId { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 1)]
|
||||
public Guid Id { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 2)]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int UIVersion { get; set; }
|
||||
|
||||
public int? InternalVersion { get; set; }
|
||||
|
||||
public DateTime? TimeCreated { get; set; }
|
||||
|
||||
public int? Size { get; set; }
|
||||
|
||||
public byte[] MetaInfo { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
public partial class AllDocs
|
||||
{
|
||||
[Key]
|
||||
[Column(Order = 0)]
|
||||
public Guid Id { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 1)]
|
||||
public Guid SiteId { get; set; }
|
||||
|
||||
[Required]
|
||||
[StringLength(256)]
|
||||
public string DirName { get; set; }
|
||||
|
||||
[Required]
|
||||
[StringLength(128)]
|
||||
public string LeafName { get; set; }
|
||||
|
||||
public Guid? ListId { get; set; }
|
||||
|
||||
public int? Size { get; set; }
|
||||
|
||||
public int? InternalVersion { get; set; }
|
||||
|
||||
public int UIVersion { get; set; }
|
||||
|
||||
public DateTime TimeCreated { get; set; }
|
||||
|
||||
public DateTime TimeLastModified { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
[StringLength(128)]
|
||||
public string Extension { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,45 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
public partial class AllLinks
|
||||
{
|
||||
[Key]
|
||||
[Column(Order = 0)]
|
||||
public Guid SiteId { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 1)]
|
||||
public Guid ParentId { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 2)]
|
||||
public Guid DocId { get; set; }
|
||||
|
||||
public Guid? WebPartId { get; set; }
|
||||
|
||||
public Guid? FieldId { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 3)]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int LinkNumber { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 4)]
|
||||
[StringLength(256)]
|
||||
public string TargetDirName { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 5)]
|
||||
public string TargetLeafName { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 6)]
|
||||
public string Search { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,44 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
public partial class AllLists
|
||||
{
|
||||
[Key]
|
||||
[Column(Order = 0)]
|
||||
public Guid tp_WebId { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 1)]
|
||||
public Guid tp_ID { get; set; }
|
||||
|
||||
[Required]
|
||||
[StringLength(255)]
|
||||
public string tp_Title { get; set; }
|
||||
|
||||
public DateTime tp_Created { get; set; }
|
||||
|
||||
public Guid? tp_FeatureId { get; set; }
|
||||
|
||||
public Guid tp_RootFolder { get; set; }
|
||||
|
||||
public Guid? tp_Template { get; set; }
|
||||
|
||||
[Required]
|
||||
[StringLength(255)]
|
||||
public string tp_ImageUrl { get; set; }
|
||||
|
||||
[Required]
|
||||
public string tp_Description { get; set; }
|
||||
|
||||
public Guid tp_ScopeId { get; set; }
|
||||
|
||||
public byte[] tp_Fields { get; set; }
|
||||
|
||||
public byte[] tp_ContentTypes { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,44 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Catalogos.Aplicacion")]
|
||||
public partial class Aplicacion
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Aplicacion()
|
||||
{
|
||||
ProyectoNormativo = new HashSet<ProyectoNormativo>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int IdAplicacion { get; set; }
|
||||
|
||||
public int? IdTipoAplicacion { 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<ProyectoNormativo> ProyectoNormativo { get; set; }
|
||||
|
||||
public virtual TipoAplicacion TipoAplicacion { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,39 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("AplicacionNyRT")]
|
||||
public partial class AplicacionNyRT
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public AplicacionNyRT()
|
||||
{
|
||||
FichaTecnica = new HashSet<FichaTecnica>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
public int id_aplicacion { get; set; }
|
||||
|
||||
[StringLength(100)]
|
||||
public string titulo { get; set; }
|
||||
|
||||
public DateTime? fecha_creacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_creacion { get; set; }
|
||||
|
||||
public DateTime? fecha_modificacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_modificacion { get; set; }
|
||||
|
||||
public bool? estado { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<FichaTecnica> FichaTecnica { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,39 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("AplicacionPN")]
|
||||
public partial class AplicacionPN
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public AplicacionPN()
|
||||
{
|
||||
PropuestaNormativa = new HashSet<PropuestaNormativa>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
public int id_aplicacion { get; set; }
|
||||
|
||||
[StringLength(100)]
|
||||
public string titulo { get; set; }
|
||||
|
||||
public DateTime? fecha_creacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_creacion { get; set; }
|
||||
|
||||
public DateTime? fecha_modificacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_modificacion { get; set; }
|
||||
|
||||
public bool? estado { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<PropuestaNormativa> PropuestaNormativa { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("AsignacionRol")]
|
||||
public partial class AsignacionRol
|
||||
{
|
||||
[Key]
|
||||
public int id_asignacion { get; set; }
|
||||
|
||||
public int? id_usuario { get; set; }
|
||||
|
||||
public int? id_rol { get; set; }
|
||||
|
||||
public DateTime? fecha_creacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_creacion { get; set; }
|
||||
|
||||
public DateTime? fecha_modificacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_modificacion { get; set; }
|
||||
|
||||
public bool? estado { get; set; }
|
||||
|
||||
public virtual Rol Rol { get; set; }
|
||||
|
||||
public virtual Usuario Usuario { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,45 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("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; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Catalogos.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; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("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; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,53 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("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; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("ContenidoNyRT")]
|
||||
public partial class ContenidoNyRT
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public ContenidoNyRT()
|
||||
{
|
||||
SubCatContenidoNyRT = new HashSet<SubCatContenidoNyRT>();
|
||||
FichaTecnica = new HashSet<FichaTecnica>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
public int id_contenido { get; set; }
|
||||
|
||||
[StringLength(100)]
|
||||
public string titulo { get; set; }
|
||||
|
||||
public DateTime? fecha_creacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_creacion { get; set; }
|
||||
|
||||
public DateTime? fecha_modificacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_modificacion { get; set; }
|
||||
|
||||
public bool? estado { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<SubCatContenidoNyRT> SubCatContenidoNyRT { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<FichaTecnica> FichaTecnica { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("ConvocadosPropuestaNormativa")]
|
||||
public partial class ConvocadosPropuestaNormativa
|
||||
{
|
||||
[Key]
|
||||
[Column(Order = 0)]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int id_propuesta { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 1)]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int id_usuario { get; set; }
|
||||
|
||||
public bool? participar { get; set; }
|
||||
|
||||
[StringLength(500)]
|
||||
public string justificacion { get; set; }
|
||||
|
||||
public DateTime? fecha_max_confirmar { get; set; }
|
||||
|
||||
public DateTime? fecha_creacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_creacion { get; set; }
|
||||
|
||||
public DateTime? fecha_modificacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_modificacion { get; set; }
|
||||
|
||||
public virtual PropuestaNormativa PropuestaNormativa { get; set; }
|
||||
|
||||
public virtual Usuario Usuario { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("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; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("DocumentoTecnicoNyRT")]
|
||||
public partial class DocumentoTecnicoNyRT
|
||||
{
|
||||
[Key]
|
||||
public int id_documento { get; set; }
|
||||
|
||||
[StringLength(100)]
|
||||
public string titulo { get; set; }
|
||||
|
||||
public DateTime? fecha_creacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_creacion { get; set; }
|
||||
|
||||
public DateTime? fecha_modificacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_modificacion { get; set; }
|
||||
|
||||
public bool? estado { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,50 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Expediente.Documentos")]
|
||||
public partial class Documentos
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Documentos()
|
||||
{
|
||||
BitacoraDocumentos = new HashSet<BitacoraDocumentos>();
|
||||
ComentariosForo = new HashSet<ComentariosForo>();
|
||||
ComentariosMatriz = new HashSet<ComentariosMatriz>();
|
||||
}
|
||||
|
||||
[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> BitacoraDocumentos { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<ComentariosForo> ComentariosForo { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<ComentariosMatriz> ComentariosMatriz { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,49 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Expediente.DocumentosAdjuntos")]
|
||||
public partial class DocumentosAdjuntos
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public DocumentosAdjuntos()
|
||||
{
|
||||
BitacoraDocumentos = new HashSet<BitacoraDocumentos>();
|
||||
}
|
||||
|
||||
[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> BitacoraDocumentos { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,44 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Catalogos.Emisor")]
|
||||
public partial class Emisor
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Emisor()
|
||||
{
|
||||
ProyectoNormativo = new HashSet<ProyectoNormativo>();
|
||||
}
|
||||
|
||||
[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; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<ProyectoNormativo> ProyectoNormativo { get; set; }
|
||||
|
||||
public virtual TipoEmisor TipoEmisor { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,39 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("EmisorNyRT")]
|
||||
public partial class EmisorNyRT
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public EmisorNyRT()
|
||||
{
|
||||
FichaTecnica = new HashSet<FichaTecnica>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
public int id_emisor { get; set; }
|
||||
|
||||
[StringLength(100)]
|
||||
public string titulo { get; set; }
|
||||
|
||||
public DateTime? fecha_creacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_creacion { get; set; }
|
||||
|
||||
public DateTime? fecha_modificacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_modificacion { get; set; }
|
||||
|
||||
public bool? estado { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<FichaTecnica> FichaTecnica { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,39 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("EmisorPN")]
|
||||
public partial class EmisorPN
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public EmisorPN()
|
||||
{
|
||||
PropuestaNormativa = new HashSet<PropuestaNormativa>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
public int id_emisor { get; set; }
|
||||
|
||||
[StringLength(100)]
|
||||
public string titulo { get; set; }
|
||||
|
||||
public DateTime? fecha_creacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_creacion { get; set; }
|
||||
|
||||
public DateTime? fecha_modificacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_modificacion { get; set; }
|
||||
|
||||
public bool? estado { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<PropuestaNormativa> PropuestaNormativa { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Catalogos.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; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("EstadoFichaTecnica")]
|
||||
public partial class EstadoFichaTecnica
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public EstadoFichaTecnica()
|
||||
{
|
||||
FichaTecnica = new HashSet<FichaTecnica>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
public int id_estado { get; set; }
|
||||
|
||||
[StringLength(100)]
|
||||
public string titulo { get; set; }
|
||||
|
||||
public DateTime? fecha_creacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_creacion { get; set; }
|
||||
|
||||
public DateTime? fecha_modificacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_modificacion { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<FichaTecnica> FichaTecnica { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
public partial class Estado_PropuestaNormativa
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Estado_PropuestaNormativa()
|
||||
{
|
||||
PropuestaNormativa = new HashSet<PropuestaNormativa>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
public int id_estado { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string titulo { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<PropuestaNormativa> PropuestaNormativa { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,50 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("EventLog")]
|
||||
public partial class EventLog
|
||||
{
|
||||
[Key]
|
||||
[Column(Order = 0)]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public long Id { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 1)]
|
||||
public Guid SiteId { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 2)]
|
||||
public DateTime EventTime { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 3)]
|
||||
public Guid ListId { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 4)]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int ItemId { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string ItemName { get; set; }
|
||||
|
||||
[StringLength(260)]
|
||||
public string ItemFullUrl { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 5)]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int EventType { get; set; }
|
||||
|
||||
[StringLength(255)]
|
||||
public string ModifiedBy { get; set; }
|
||||
|
||||
public byte[] EventData { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
public partial class Features
|
||||
{
|
||||
[Key]
|
||||
[Column(Order = 0)]
|
||||
public Guid SiteId { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 1)]
|
||||
public Guid WebId { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 2)]
|
||||
public Guid FeatureId { get; set; }
|
||||
|
||||
[Required]
|
||||
[StringLength(64)]
|
||||
public string Version { get; set; }
|
||||
|
||||
public DateTime TimeActivated { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,79 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("FichaTecnica")]
|
||||
public partial class FichaTecnica
|
||||
{
|
||||
[Key]
|
||||
public int id_ficha_tecnica { get; set; }
|
||||
|
||||
[StringLength(200)]
|
||||
public string nombre { get; set; }
|
||||
|
||||
[StringLength(500)]
|
||||
public string identificacion { get; set; }
|
||||
|
||||
public int? estado { get; set; }
|
||||
|
||||
[StringLength(100)]
|
||||
public string documento_ingreso { get; set; }
|
||||
|
||||
[StringLength(100)]
|
||||
public string documento_egreso { get; set; }
|
||||
|
||||
public int? aplicacion { get; set; }
|
||||
|
||||
public int? contenido { get; set; }
|
||||
|
||||
public int? subcategoria_contenido { get; set; }
|
||||
|
||||
public int? grupo_tematico { get; set; }
|
||||
|
||||
public int? subcategoria_grupo_tematico { get; set; }
|
||||
|
||||
public int? emisor { get; set; }
|
||||
|
||||
public int? palabra_clave { get; set; }
|
||||
|
||||
public DateTime? fecha_publicacion { get; set; }
|
||||
|
||||
[StringLength(100)]
|
||||
public string numero_publicacion { get; set; }
|
||||
|
||||
[StringLength(200)]
|
||||
public string enlace_documento { get; set; }
|
||||
|
||||
public int? cantidad_accesos { get; set; }
|
||||
|
||||
public bool? solicitar_modificacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_creacion { get; set; }
|
||||
|
||||
public DateTime? fecha_modificacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_modificacion { get; set; }
|
||||
|
||||
public virtual AplicacionNyRT AplicacionNyRT { get; set; }
|
||||
|
||||
public virtual ContenidoNyRT ContenidoNyRT { get; set; }
|
||||
|
||||
public virtual EmisorNyRT EmisorNyRT { get; set; }
|
||||
|
||||
public virtual EstadoFichaTecnica EstadoFichaTecnica { get; set; }
|
||||
|
||||
public virtual GrupoTematicoNyRT GrupoTematicoNyRT { get; set; }
|
||||
|
||||
public virtual PalabraClaveNyRT PalabraClaveNyRT { get; set; }
|
||||
|
||||
public virtual SubCatContenidoNyRT SubCatContenidoNyRT { get; set; }
|
||||
|
||||
public virtual SubCatGrupoTematicoNyRT SubCatGrupoTematicoNyRT { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Global.Foro")]
|
||||
public partial class Foro
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Foro()
|
||||
{
|
||||
ComentariosForo = new HashSet<ComentariosForo>();
|
||||
Convocatoria = new HashSet<Convocatoria>();
|
||||
ProyectoNormativo = new HashSet<ProyectoNormativo>();
|
||||
}
|
||||
|
||||
[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> ComentariosForo { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<Convocatoria> Convocatoria { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<ProyectoNormativo> ProyectoNormativo { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
public partial class Groups
|
||||
{
|
||||
[Key]
|
||||
[Column(Order = 0)]
|
||||
public Guid SiteId { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 1)]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int ID { get; set; }
|
||||
|
||||
[Required]
|
||||
[StringLength(255)]
|
||||
public string Title { get; set; }
|
||||
|
||||
[StringLength(512)]
|
||||
public string Description { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("GrupoTematicoNyRT")]
|
||||
public partial class GrupoTematicoNyRT
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public GrupoTematicoNyRT()
|
||||
{
|
||||
FichaTecnica = new HashSet<FichaTecnica>();
|
||||
SubCatGrupoTematicoNyRT = new HashSet<SubCatGrupoTematicoNyRT>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
public int id_grupo { get; set; }
|
||||
|
||||
[StringLength(100)]
|
||||
public string titulo { get; set; }
|
||||
|
||||
public DateTime? fecha_creacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_creacion { get; set; }
|
||||
|
||||
public DateTime? fecha_modificacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_modificacion { get; set; }
|
||||
|
||||
public bool? estado { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<FichaTecnica> FichaTecnica { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<SubCatGrupoTematicoNyRT> SubCatGrupoTematicoNyRT { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Catalogos.Mantenimiento")]
|
||||
public partial class Mantenimiento
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int IdMantenimiento { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string Catalogo { get; set; }
|
||||
|
||||
[StringLength(150)]
|
||||
public string Vista { get; set; }
|
||||
|
||||
public bool? Estado { get; set; }
|
||||
|
||||
public DateTime? FechaCreacion { get; set; }
|
||||
|
||||
[StringLength(200)]
|
||||
public string UsuarioCreacion { get; set; }
|
||||
|
||||
public DateTime? FechaModificacion { get; set; }
|
||||
|
||||
[StringLength(200)]
|
||||
public string UsuarioModificacion { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Global.Matriz")]
|
||||
public partial class Matriz
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Matriz()
|
||||
{
|
||||
ComentariosMatriz = new HashSet<ComentariosMatriz>();
|
||||
ProyectoNormativo = new HashSet<ProyectoNormativo>();
|
||||
}
|
||||
|
||||
[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> ComentariosMatriz { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<ProyectoNormativo> ProyectoNormativo { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,39 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("PalabraClaveNyRT")]
|
||||
public partial class PalabraClaveNyRT
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public PalabraClaveNyRT()
|
||||
{
|
||||
FichaTecnica = new HashSet<FichaTecnica>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
public int id_palabra { get; set; }
|
||||
|
||||
[StringLength(100)]
|
||||
public string titulo { get; set; }
|
||||
|
||||
public DateTime? fecha_creacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_creacion { get; set; }
|
||||
|
||||
public DateTime? fecha_modificacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_modificacion { get; set; }
|
||||
|
||||
public bool? estado { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<FichaTecnica> FichaTecnica { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,45 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Catalogos.Pantallas")]
|
||||
public partial class Pantallas
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Pantallas()
|
||||
{
|
||||
RolesPantallas = new HashSet<RolesPantallas>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int IdPantalla { get; set; }
|
||||
|
||||
public int? IdPadre { get; set; }
|
||||
|
||||
[StringLength(100)]
|
||||
public string Descripcion { get; set; }
|
||||
|
||||
[StringLength(200)]
|
||||
public string Vista { get; set; }
|
||||
|
||||
public bool? Estado { get; set; }
|
||||
|
||||
public DateTime? FechaCreacion { get; set; }
|
||||
|
||||
[StringLength(200)]
|
||||
public string UsuarioCreacion { get; set; }
|
||||
|
||||
public DateTime? FechaModificacion { get; set; }
|
||||
|
||||
[StringLength(200)]
|
||||
public string UsuarioModificacion { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<RolesPantallas> RolesPantallas { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,63 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.Data.Entity;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
namespace AYA.SlnSinortModel.Sinort.Partial
|
||||
{
|
||||
public partial class Contex : DbContext
|
||||
{
|
||||
private DbContextTransaction DatabaseTransaction { get; set; }
|
||||
private bool WasCommitted = false;
|
||||
private bool disposed = false;
|
||||
public Contex()
|
||||
: base(new Atesa.Utilitarios.ObtieneParametros().GetValueKeyRegedit("SinortAyAConnectionString", false))
|
||||
{
|
||||
|
||||
Database.SetInitializer<Contex>(null);
|
||||
Configuration.ProxyCreationEnabled = false;
|
||||
Configuration.LazyLoadingEnabled = true;
|
||||
|
||||
DatabaseTransaction = this.Database.BeginTransaction();
|
||||
WasCommitted = false;
|
||||
}
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
if (disposed)
|
||||
return;
|
||||
if (DatabaseTransaction != null)
|
||||
{
|
||||
if (!WasCommitted)
|
||||
DatabaseTransaction.Rollback();
|
||||
DatabaseTransaction.Dispose();
|
||||
}
|
||||
base.Dispose(true);
|
||||
disposed = true;
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
public void Commit()
|
||||
{
|
||||
DatabaseTransaction.Commit();
|
||||
WasCommitted = true;
|
||||
}
|
||||
|
||||
public void Rollback()
|
||||
{
|
||||
DatabaseTransaction.Rollback();
|
||||
WasCommitted = true;
|
||||
}
|
||||
|
||||
~Contex()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Catalogos.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; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Catalogos.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; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("PropuestaNormativa")]
|
||||
public partial class PropuestaNormativa
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public PropuestaNormativa()
|
||||
{
|
||||
ConvocadosPropuestaNormativa = new HashSet<ConvocadosPropuestaNormativa>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
public int id_propuesta { get; set; }
|
||||
|
||||
public int? proyecto_normativo { get; set; }
|
||||
|
||||
public int? emisor { get; set; }
|
||||
|
||||
public int? aplicacion { get; set; }
|
||||
|
||||
public DateTime? fecha_inicio_consulta { get; set; }
|
||||
|
||||
public DateTime? fecha_fin_consulta { get; set; }
|
||||
|
||||
public int? promotor { get; set; }
|
||||
|
||||
public int? estado_propuesta { get; set; }
|
||||
|
||||
public DateTime? fecha_creacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_creacion { get; set; }
|
||||
|
||||
public DateTime? fecha_modificacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_modificacion { get; set; }
|
||||
|
||||
public bool? estado { get; set; }
|
||||
|
||||
public virtual AplicacionPN AplicacionPN { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<ConvocadosPropuestaNormativa> ConvocadosPropuestaNormativa { get; set; }
|
||||
|
||||
public virtual EmisorPN EmisorPN { get; set; }
|
||||
|
||||
public virtual Estado_PropuestaNormativa Estado_PropuestaNormativa { get; set; }
|
||||
|
||||
public virtual Usuario Usuario { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,53 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Normativo.ProyectoNormativo")]
|
||||
public partial class ProyectoNormativo
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int IdProyectoNormativo { get; set; }
|
||||
|
||||
[StringLength(200)]
|
||||
public string NombreProyectoNormativo { get; set; }
|
||||
|
||||
public int? IdForo { get; set; }
|
||||
|
||||
public int? IdMatriz { get; set; }
|
||||
|
||||
public int? IdEmisor { get; set; }
|
||||
|
||||
public int? IdAplicacion { get; set; }
|
||||
|
||||
public DateTime? FechaInicioConsulta { get; set; }
|
||||
|
||||
public DateTime? FechaFinConsulta { get; set; }
|
||||
|
||||
public int? PromotorProyecto { get; set; }
|
||||
|
||||
public DateTime? FechaMaximaConfirmarParticipacion { 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 Aplicacion Aplicacion { get; set; }
|
||||
|
||||
public virtual Emisor Emisor { get; set; }
|
||||
|
||||
public virtual Foro Foro { get; set; }
|
||||
|
||||
public virtual Matriz Matriz { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Rol")]
|
||||
public partial class Rol
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Rol()
|
||||
{
|
||||
AsignacionRol = new HashSet<AsignacionRol>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
public int id_rol { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string nombre { get; set; }
|
||||
|
||||
[StringLength(100)]
|
||||
public string descripcion { get; set; }
|
||||
|
||||
public DateTime? fecha_creacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_creacion { get; set; }
|
||||
|
||||
public DateTime? fecha_modificacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_modificacion { get; set; }
|
||||
|
||||
public bool? estado { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<AsignacionRol> AsignacionRol { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,44 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Catalogos.Roles")]
|
||||
public partial class Roles
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Roles()
|
||||
{
|
||||
RolesPantallas = new HashSet<RolesPantallas>();
|
||||
RolesUsuario = new HashSet<RolesUsuario>();
|
||||
}
|
||||
|
||||
[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<RolesPantallas> RolesPantallas { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<RolesUsuario> RolesUsuario { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Catalogos.RolesPantallas")]
|
||||
public partial class RolesPantallas
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int IdRolesPantallas { get; set; }
|
||||
|
||||
public int? IdRol { get; set; }
|
||||
|
||||
public int? IdPantalla { 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 Pantallas Pantallas { get; set; }
|
||||
|
||||
public virtual Roles Roles { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Catalogos.RolesUsuario")]
|
||||
public partial class RolesUsuario
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int IdRolesUsuario { 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; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,396 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Data.Entity;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using AYA.SlnSinortModel.Sinort.Partial;
|
||||
|
||||
public partial class SinortContex : Contex
|
||||
{
|
||||
public virtual DbSet<Aplicacion> Aplicacion { get; set; }
|
||||
public virtual DbSet<Categoria> Categoria { get; set; }
|
||||
public virtual DbSet<Emisor> Emisor { get; set; }
|
||||
public virtual DbSet<Estado> Estado { get; set; }
|
||||
public virtual DbSet<Mantenimiento> Mantenimiento { get; set; }
|
||||
public virtual DbSet<Pantallas> Pantallas { get; set; }
|
||||
public virtual DbSet<PlantillaEmail> PlantillaEmail { get; set; }
|
||||
public virtual DbSet<Roles> Roles { get; set; }
|
||||
public virtual DbSet<RolesPantallas> RolesPantallas { get; set; }
|
||||
public virtual DbSet<RolesUsuario> RolesUsuario { get; set; }
|
||||
public virtual DbSet<TipoAplicacion> TipoAplicacion { get; set; }
|
||||
public virtual DbSet<TipoDocumento> TipoDocumento { get; set; }
|
||||
public virtual DbSet<TipoEmisor> TipoEmisor { get; set; }
|
||||
public virtual DbSet<TipoEstado> TipoEstado { get; set; }
|
||||
public virtual DbSet<TipoForo> TipoForo { get; set; }
|
||||
public virtual DbSet<TipoMatriz> TipoMatriz { get; set; }
|
||||
public virtual DbSet<Usuario> Usuario { get; set; }
|
||||
public virtual DbSet<BitacoraDocumentos> BitacoraDocumentos { get; set; }
|
||||
public virtual DbSet<Documentos> Documentos { get; set; }
|
||||
public virtual DbSet<DocumentosAdjuntos> DocumentosAdjuntos { get; set; }
|
||||
public virtual DbSet<ComentariosForo> ComentariosForo { get; set; }
|
||||
public virtual DbSet<ComentariosMatriz> ComentariosMatriz { get; set; }
|
||||
public virtual DbSet<Convocatoria> Convocatoria { get; set; }
|
||||
public virtual DbSet<Foro> Foro { get; set; }
|
||||
public virtual DbSet<Matriz> Matriz { get; set; }
|
||||
public virtual DbSet<ProyectoNormativo> ProyectoNormativo { get; set; }
|
||||
|
||||
protected override void OnModelCreating(DbModelBuilder modelBuilder)
|
||||
{
|
||||
modelBuilder.Entity<Aplicacion>()
|
||||
.Property(e => e.Descripcion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Aplicacion>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Aplicacion>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Categoria>()
|
||||
.Property(e => e.Descripcion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Categoria>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Categoria>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Emisor>()
|
||||
.Property(e => e.Descripcion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Emisor>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Emisor>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Estado>()
|
||||
.Property(e => e.Descripcion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Estado>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Estado>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Mantenimiento>()
|
||||
.Property(e => e.Catalogo)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Mantenimiento>()
|
||||
.Property(e => e.Vista)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Mantenimiento>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Mantenimiento>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Pantallas>()
|
||||
.Property(e => e.Descripcion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Pantallas>()
|
||||
.Property(e => e.Vista)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Pantallas>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Pantallas>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<PlantillaEmail>()
|
||||
.Property(e => e.NombrePlatilla)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<PlantillaEmail>()
|
||||
.Property(e => e.Body)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<PlantillaEmail>()
|
||||
.Property(e => e.Subject)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<PlantillaEmail>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<PlantillaEmail>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Roles>()
|
||||
.Property(e => e.Descripcion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Roles>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Roles>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<RolesPantallas>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<RolesPantallas>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<RolesUsuario>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<RolesUsuario>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TipoAplicacion>()
|
||||
.Property(e => e.Descripcion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TipoAplicacion>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TipoAplicacion>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TipoDocumento>()
|
||||
.Property(e => e.Descripcion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TipoDocumento>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TipoDocumento>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TipoEmisor>()
|
||||
.Property(e => e.Descripcion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TipoEmisor>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TipoEmisor>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TipoEstado>()
|
||||
.Property(e => e.Descripcion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TipoEstado>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TipoEstado>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TipoForo>()
|
||||
.Property(e => e.Descripcion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TipoForo>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TipoForo>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TipoMatriz>()
|
||||
.Property(e => e.Descripcion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TipoMatriz>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<TipoMatriz>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Usuario>()
|
||||
.Property(e => e.UsuarioSistema)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Usuario>()
|
||||
.Property(e => e.NombreUsuario)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Usuario>()
|
||||
.Property(e => e.EmailUsuario)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Usuario>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Usuario>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Usuario>()
|
||||
.HasMany(e => e.Convocatoria)
|
||||
.WithRequired(e => e.Usuario)
|
||||
.WillCascadeOnDelete(false);
|
||||
|
||||
modelBuilder.Entity<BitacoraDocumentos>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<BitacoraDocumentos>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Documentos>()
|
||||
.Property(e => e.NombreDocumento)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Documentos>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Documentos>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Documentos>()
|
||||
.HasMany(e => e.BitacoraDocumentos)
|
||||
.WithRequired(e => e.Documentos)
|
||||
.WillCascadeOnDelete(false);
|
||||
|
||||
modelBuilder.Entity<DocumentosAdjuntos>()
|
||||
.Property(e => e.Nombre)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<DocumentosAdjuntos>()
|
||||
.Property(e => e.TipoArchivo)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<DocumentosAdjuntos>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<DocumentosAdjuntos>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ComentariosForo>()
|
||||
.Property(e => e.Asunto)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ComentariosForo>()
|
||||
.Property(e => e.Respuesta)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ComentariosForo>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ComentariosForo>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ComentariosMatriz>()
|
||||
.Property(e => e.Asunto)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ComentariosMatriz>()
|
||||
.Property(e => e.Capitulo)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ComentariosMatriz>()
|
||||
.Property(e => e.ApartadoSeccionParrafo)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ComentariosMatriz>()
|
||||
.Property(e => e.TextoOriginal)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ComentariosMatriz>()
|
||||
.Property(e => e.TextoPropuesto)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ComentariosMatriz>()
|
||||
.Property(e => e.ComentarioObservacionJustificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ComentariosMatriz>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ComentariosMatriz>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Convocatoria>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Convocatoria>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Foro>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Foro>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Foro>()
|
||||
.HasMany(e => e.Convocatoria)
|
||||
.WithRequired(e => e.Foro)
|
||||
.WillCascadeOnDelete(false);
|
||||
|
||||
modelBuilder.Entity<Matriz>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Matriz>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ProyectoNormativo>()
|
||||
.Property(e => e.NombreProyectoNormativo)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ProyectoNormativo>()
|
||||
.Property(e => e.UsuarioCreacion)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<ProyectoNormativo>()
|
||||
.Property(e => e.UsuarioModificacion)
|
||||
.IsUnicode(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("SubCatContenidoNyRT")]
|
||||
public partial class SubCatContenidoNyRT
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public SubCatContenidoNyRT()
|
||||
{
|
||||
FichaTecnica = new HashSet<FichaTecnica>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
public int id_sub_contenido { get; set; }
|
||||
|
||||
public int? id_contenido { get; set; }
|
||||
|
||||
[StringLength(100)]
|
||||
public string titulo { get; set; }
|
||||
|
||||
public DateTime? fecha_creacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_creacion { get; set; }
|
||||
|
||||
public DateTime? fecha_modificacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_modificacion { get; set; }
|
||||
|
||||
public bool? estado { get; set; }
|
||||
|
||||
public virtual ContenidoNyRT ContenidoNyRT { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<FichaTecnica> FichaTecnica { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("SubCatGrupoTematicoNyRT")]
|
||||
public partial class SubCatGrupoTematicoNyRT
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public SubCatGrupoTematicoNyRT()
|
||||
{
|
||||
FichaTecnica = new HashSet<FichaTecnica>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
public int id_sub_grupo { get; set; }
|
||||
|
||||
public int? id_grupo { get; set; }
|
||||
|
||||
[StringLength(100)]
|
||||
public string titulo { get; set; }
|
||||
|
||||
public DateTime? fecha_creacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_creacion { get; set; }
|
||||
|
||||
public DateTime? fecha_modificacion { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string usuario_modificacion { get; set; }
|
||||
|
||||
public bool? estado { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<FichaTecnica> FichaTecnica { get; set; }
|
||||
|
||||
public virtual GrupoTematicoNyRT GrupoTematicoNyRT { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Catalogos.TipoAplicacion")]
|
||||
public partial class TipoAplicacion
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public TipoAplicacion()
|
||||
{
|
||||
Aplicacion = new HashSet<Aplicacion>();
|
||||
}
|
||||
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int IdTipoAplicacion { 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<Aplicacion> Aplicacion { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Catalogos.TipoDocumento")]
|
||||
public partial class TipoDocumento
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public TipoDocumento()
|
||||
{
|
||||
Documentos = new HashSet<Documentos>();
|
||||
}
|
||||
|
||||
[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> Documentos { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Catalogos.TipoEmisor")]
|
||||
public partial class TipoEmisor
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public TipoEmisor()
|
||||
{
|
||||
Emisor = new HashSet<Emisor>();
|
||||
}
|
||||
|
||||
[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> Emisor { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Catalogos.TipoEstado")]
|
||||
public partial class TipoEstado
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public TipoEstado()
|
||||
{
|
||||
Estado1 = new HashSet<Estado>();
|
||||
}
|
||||
|
||||
[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<Estado> Estado1 { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Catalogos.TipoForo")]
|
||||
public partial class TipoForo
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public TipoForo()
|
||||
{
|
||||
Foro = new HashSet<Foro>();
|
||||
}
|
||||
|
||||
[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> Foro { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Catalogos.TipoMatriz")]
|
||||
public partial class TipoMatriz
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public TipoMatriz()
|
||||
{
|
||||
Matriz = new HashSet<Matriz>();
|
||||
}
|
||||
|
||||
[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> Matriz { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
namespace AYA.SlnSinortModel.Sinort
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
[Table("Catalogos.Usuario")]
|
||||
public partial class Usuario
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Usuario()
|
||||
{
|
||||
RolesUsuario = new HashSet<RolesUsuario>();
|
||||
ComentariosForo = new HashSet<ComentariosForo>();
|
||||
ComentariosMatriz = new HashSet<ComentariosMatriz>();
|
||||
Convocatoria = new HashSet<Convocatoria>();
|
||||
}
|
||||
|
||||
[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<RolesUsuario> RolesUsuario { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<ComentariosForo> ComentariosForo { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<ComentariosMatriz> ComentariosMatriz { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<Convocatoria> Convocatoria { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue