This commit is contained in:
jnunez 2018-06-13 21:26:35 +00:00
parent 271631af1d
commit 902df28f04
29 changed files with 1010 additions and 50 deletions

View file

@ -67,12 +67,25 @@
<Reference Include="System.Xml.Linq" /> <Reference Include="System.Xml.Linq" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="Properties\DataSources\System.Data.DataSet.datasource" />
<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">
<Generator>WCF Proxy Generator</Generator>
<LastGenOutput>Reference.cs</LastGenOutput>
</None>
<Content Include="Sinort.svc" /> <Content Include="Sinort.svc" />
<Content Include="SinortCatalogos.svc" /> <Content Include="SinortCatalogos.svc" />
<Content Include="Web.config" /> <Content Include="Web.config" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="ISinortCatalogos.cs" /> <Compile Include="ISinortCatalogos.cs" />
<Compile Include="Service References\AyAWCF\Reference.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Reference.svcmap</DependentUpon>
</Compile>
<Compile Include="Sinort.svc.cs"> <Compile Include="Sinort.svc.cs">
<DependentUpon>Sinort.svc</DependentUpon> <DependentUpon>Sinort.svc</DependentUpon>
</Compile> </Compile>
@ -82,9 +95,24 @@
<DependentUpon>SinortCatalogos.svc</DependentUpon> <DependentUpon>SinortCatalogos.svc</DependentUpon>
</Compile> </Compile>
</ItemGroup> </ItemGroup>
<ItemGroup /> <ItemGroup>
<WCFMetadata Include="Service References\" />
</ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="packages.config" /> <Content Include="packages.config" />
<None Include="Service References\AyAWCF\ServicioUsuarios.wsdl" />
<None Include="Service References\AyAWCF\ServicioUsuarios.xsd">
<SubType>Designer</SubType>
</None>
<None Include="Service References\AyAWCF\ServicioUsuarios1.xsd">
<SubType>Designer</SubType>
</None>
<None Include="Service References\AyAWCF\ServicioUsuarios2.xsd">
<SubType>Designer</SubType>
</None>
<None Include="Service References\AyAWCF\ServicioUsuarios3.xsd">
<SubType>Designer</SubType>
</None>
<None Include="Web.Debug.config"> <None Include="Web.Debug.config">
<DependentUpon>Web.config</DependentUpon> <DependentUpon>Web.config</DependentUpon>
</None> </None>
@ -106,6 +134,9 @@
<Name>AYA.SlnSinortModel</Name> <Name>AYA.SlnSinortModel</Name>
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>
<ItemGroup>
<WCFMetadataStorage Include="Service References\AyAWCF\" />
</ItemGroup>
<PropertyGroup> <PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion> <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath> <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>

View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="DataSet" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>System.Data.DataSet, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</TypeInfo>
</GenericObjectDataSource>

View file

@ -0,0 +1,201 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace AYA.SlnSinort.WCF.AyAWCF {
using System.Runtime.Serialization;
using System;
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="correoEL", Namespace="http://schemas.datacontract.org/2004/07/AyAEL.Tran")]
[System.SerializableAttribute()]
public partial class correoEL : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
[System.NonSerializedAttribute()]
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string ASUNTOField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string COPIAField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string CUERPOField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string DESTINATARIOSField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string FORMATOField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string RUTAADJUNTOSField;
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
}
set {
this.extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string ASUNTO {
get {
return this.ASUNTOField;
}
set {
if ((object.ReferenceEquals(this.ASUNTOField, value) != true)) {
this.ASUNTOField = value;
this.RaisePropertyChanged("ASUNTO");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string COPIA {
get {
return this.COPIAField;
}
set {
if ((object.ReferenceEquals(this.COPIAField, value) != true)) {
this.COPIAField = value;
this.RaisePropertyChanged("COPIA");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string CUERPO {
get {
return this.CUERPOField;
}
set {
if ((object.ReferenceEquals(this.CUERPOField, value) != true)) {
this.CUERPOField = value;
this.RaisePropertyChanged("CUERPO");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string DESTINATARIOS {
get {
return this.DESTINATARIOSField;
}
set {
if ((object.ReferenceEquals(this.DESTINATARIOSField, value) != true)) {
this.DESTINATARIOSField = value;
this.RaisePropertyChanged("DESTINATARIOS");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string FORMATO {
get {
return this.FORMATOField;
}
set {
if ((object.ReferenceEquals(this.FORMATOField, value) != true)) {
this.FORMATOField = value;
this.RaisePropertyChanged("FORMATO");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string RUTAADJUNTOS {
get {
return this.RUTAADJUNTOSField;
}
set {
if ((object.ReferenceEquals(this.RUTAADJUNTOSField, value) != true)) {
this.RUTAADJUNTOSField = value;
this.RaisePropertyChanged("RUTAADJUNTOS");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="AyAWCF.IServicioUsuarios")]
public interface IServicioUsuarios {
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IServicioUsuarios/obtenerUsuariosActiveDirectory", ReplyAction="http://tempuri.org/IServicioUsuarios/obtenerUsuariosActiveDirectoryResponse")]
System.Data.DataSet obtenerUsuariosActiveDirectory();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IServicioUsuarios/obtenerUsuariosActiveDirectory", ReplyAction="http://tempuri.org/IServicioUsuarios/obtenerUsuariosActiveDirectoryResponse")]
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);
[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.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface IServicioUsuariosChannel : AYA.SlnSinort.WCF.AyAWCF.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 ServicioUsuariosClient() {
}
public ServicioUsuariosClient(string endpointConfigurationName) :
base(endpointConfigurationName) {
}
public ServicioUsuariosClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public ServicioUsuariosClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public ServicioUsuariosClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress) {
}
public System.Data.DataSet obtenerUsuariosActiveDirectory() {
return base.Channel.obtenerUsuariosActiveDirectory();
}
public System.Threading.Tasks.Task<System.Data.DataSet> obtenerUsuariosActiveDirectoryAsync() {
return base.Channel.obtenerUsuariosActiveDirectoryAsync();
}
public int enviarCorreo(AYA.SlnSinort.WCF.AyAWCF.correoEL objCorreo) {
return base.Channel.enviarCorreo(objCorreo);
}
public System.Threading.Tasks.Task<int> enviarCorreoAsync(AYA.SlnSinort.WCF.AyAWCF.correoEL objCorreo) {
return base.Channel.enviarCorreoAsync(objCorreo);
}
}
}

View file

@ -0,0 +1,36 @@
<?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">
<ClientOptions>
<GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
<GenerateTaskBasedAsynchronousMethod>true</GenerateTaskBasedAsynchronousMethod>
<EnableDataBinding>true</EnableDataBinding>
<ExcludedTypes />
<ImportXmlTypes>false</ImportXmlTypes>
<GenerateInternalTypes>false</GenerateInternalTypes>
<GenerateMessageContracts>false</GenerateMessageContracts>
<NamespaceMappings />
<CollectionMappings />
<GenerateSerializableTypes>true</GenerateSerializableTypes>
<Serializer>Auto</Serializer>
<UseSerializerForFaults>true</UseSerializerForFaults>
<ReferenceAllAssemblies>true</ReferenceAllAssemblies>
<ReferencedAssemblies />
<ReferencedDataContractTypes />
<ServiceContractMappings />
</ClientOptions>
<MetadataSources>
<MetadataSource Address="http://localhost/AYA.SlnSinort.WCF.Usuarios/ServicioUsuarios.svc" 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" />
</Metadata>
<Extensions>
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
</Extensions>
</ReferenceGroup>

View file

@ -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://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>

View file

@ -0,0 +1,59 @@
<?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: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:schema>
</wsdl:types>
<wsdl:message name="IServicioUsuarios_obtenerUsuariosActiveDirectory_InputMessage">
<wsdl:part name="parameters" element="tns:obtenerUsuariosActiveDirectory" />
</wsdl:message>
<wsdl:message name="IServicioUsuarios_obtenerUsuariosActiveDirectory_OutputMessage">
<wsdl:part name="parameters" element="tns:obtenerUsuariosActiveDirectoryResponse" />
</wsdl:message>
<wsdl:message name="IServicioUsuarios_enviarCorreo_InputMessage">
<wsdl:part name="parameters" element="tns:enviarCorreo" />
</wsdl:message>
<wsdl:message name="IServicioUsuarios_enviarCorreo_OutputMessage">
<wsdl:part name="parameters" element="tns:enviarCorreoResponse" />
</wsdl:message>
<wsdl:portType name="IServicioUsuarios">
<wsdl:operation name="obtenerUsuariosActiveDirectory">
<wsdl:input wsaw:Action="http://tempuri.org/IServicioUsuarios/obtenerUsuariosActiveDirectory" message="tns:IServicioUsuarios_obtenerUsuariosActiveDirectory_InputMessage" />
<wsdl:output wsaw:Action="http://tempuri.org/IServicioUsuarios/obtenerUsuariosActiveDirectoryResponse" message="tns:IServicioUsuarios_obtenerUsuariosActiveDirectory_OutputMessage" />
</wsdl:operation>
<wsdl:operation name="enviarCorreo">
<wsdl:input wsaw:Action="http://tempuri.org/IServicioUsuarios/enviarCorreo" message="tns:IServicioUsuarios_enviarCorreo_InputMessage" />
<wsdl:output wsaw:Action="http://tempuri.org/IServicioUsuarios/enviarCorreoResponse" message="tns:IServicioUsuarios_enviarCorreo_OutputMessage" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="BasicHttpBinding_IServicioUsuarios" type="tns:IServicioUsuarios">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="obtenerUsuariosActiveDirectory">
<soap:operation soapAction="http://tempuri.org/IServicioUsuarios/obtenerUsuariosActiveDirectory" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="enviarCorreo">
<soap:operation soapAction="http://tempuri.org/IServicioUsuarios/enviarCorreo" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</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" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

View file

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="DataSet" nillable="true">
<xs:complexType>
<xs:annotation>
<xs:appinfo>
<ActualType Name="DataSet" Namespace="http://schemas.datacontract.org/2004/07/System.Data" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
<xs:sequence>
<xs:element ref="xs:schema" />
<xs:any />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/AyAEL.Tran" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/AyAEL.Tran" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="correoEL">
<xs:sequence>
<xs:element minOccurs="0" name="ASUNTO" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="COPIA" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="CUERPO" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="DESTINATARIOS" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="FORMATO" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="RUTAADJUNTOS" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="correoEL" nillable="true" type="tns:correoEL" />
</xs:schema>

View file

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="anyType" nillable="true" type="xs:anyType" />
<xs:element name="anyURI" nillable="true" type="xs:anyURI" />
<xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
<xs:element name="boolean" nillable="true" type="xs:boolean" />
<xs:element name="byte" nillable="true" type="xs:byte" />
<xs:element name="dateTime" nillable="true" type="xs:dateTime" />
<xs:element name="decimal" nillable="true" type="xs:decimal" />
<xs:element name="double" nillable="true" type="xs:double" />
<xs:element name="float" nillable="true" type="xs:float" />
<xs:element name="int" nillable="true" type="xs:int" />
<xs:element name="long" nillable="true" type="xs:long" />
<xs:element name="QName" nillable="true" type="xs:QName" />
<xs:element name="short" nillable="true" type="xs:short" />
<xs:element name="string" nillable="true" type="xs:string" />
<xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
<xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
<xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
<xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
<xs:element name="char" nillable="true" type="tns:char" />
<xs:simpleType name="char">
<xs:restriction base="xs:int" />
</xs:simpleType>
<xs:element name="duration" nillable="true" type="tns:duration" />
<xs:simpleType name="duration">
<xs:restriction base="xs:duration">
<xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
<xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
<xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
</xs:restriction>
</xs:simpleType>
<xs:element name="guid" nillable="true" type="tns:guid" />
<xs:simpleType name="guid">
<xs:restriction base="xs:string">
<xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
</xs:restriction>
</xs:simpleType>
<xs:attribute name="FactoryType" type="xs:QName" />
<xs:attribute name="Id" type="xs:ID" />
<xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

View file

@ -0,0 +1,42 @@
<?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:element name="obtenerUsuariosActiveDirectory">
<xs:complexType>
<xs:sequence />
</xs:complexType>
</xs:element>
<xs:element name="obtenerUsuariosActiveDirectoryResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="obtenerUsuariosActiveDirectoryResult" nillable="true">
<xs:complexType>
<xs:annotation>
<xs:appinfo>
<ActualType Name="DataSet" Namespace="http://schemas.datacontract.org/2004/07/System.Data" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
<xs:sequence>
<xs:element ref="xs:schema" />
<xs:any />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="enviarCorreo">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/AyAEL.Tran" minOccurs="0" name="objCorreo" nillable="true" type="q1:correoEL" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="enviarCorreoResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="enviarCorreoResult" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View file

@ -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:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data name=&quot;BasicHttpBinding_IServicioUsuarios&quot; /&gt;" bindingType="basicHttpBinding" name="BasicHttpBinding_IServicioUsuarios" />
</bindings>
<endpoints>
<endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://localhost/AyA.SlnSinort.WCF.Usuarios/ServicioUsuarios.svc&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;BasicHttpBinding_IServicioUsuarios&quot; contract=&quot;AyAWCF.IServicioUsuarios&quot; name=&quot;BasicHttpBinding_IServicioUsuarios&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://localhost/AyA.SlnSinort.WCF.Usuarios/ServicioUsuarios.svc&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;BasicHttpBinding_IServicioUsuarios&quot; contract=&quot;AyAWCF.IServicioUsuarios&quot; name=&quot;BasicHttpBinding_IServicioUsuarios&quot; /&gt;" contractName="AyAWCF.IServicioUsuarios" name="BasicHttpBinding_IServicioUsuarios" />
</endpoints>
</configurationSnapshot>

View file

@ -0,0 +1,201 @@
<?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=">
<bindingConfigurations>
<bindingConfiguration bindingType="basicHttpBinding" name="BasicHttpBinding_IServicioUsuarios">
<properties>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>BasicHttpBinding_IServicioUsuarios</serializedValue>
</property>
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>StrongWildcard</serializedValue>
</property>
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>65536</serializedValue>
</property>
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
</property>
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>0</serializedValue>
</property>
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>0</serializedValue>
</property>
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>0</serializedValue>
</property>
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>0</serializedValue>
</property>
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>0</serializedValue>
</property>
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.Text.UTF8Encoding</serializedValue>
</property>
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Buffered</serializedValue>
</property>
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Text</serializedValue>
</property>
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
</property>
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
</property>
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>None</serializedValue>
</property>
<property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue>
</property>
<property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Never</serializedValue>
</property>
<property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>TransportSelected</serializedValue>
</property>
<property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>(Collection)</serializedValue>
</property>
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
</property>
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>UserName</serializedValue>
</property>
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>Default</serializedValue>
</property>
</properties>
</bindingConfiguration>
</bindingConfigurations>
<endpoints>
<endpoint name="BasicHttpBinding_IServicioUsuarios" contract="AyAWCF.IServicioUsuarios" bindingType="basicHttpBinding" address="http://localhost/AyA.SlnSinort.WCF.Usuarios/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>
</property>
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>basicHttpBinding</serializedValue>
</property>
<property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<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>
</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>
</property>
<property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>&lt;Header /&gt;</serializedValue>
</property>
<property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue>
</property>
<property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue>
</property>
<property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue>
</property>
<property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue>
</property>
<property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue>
</property>
<property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue>
</property>
<property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue>
</property>
<property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>My</serializedValue>
</property>
<property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>LocalMachine</serializedValue>
</property>
<property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>FindBySubjectDistinguishedName</serializedValue>
</property>
<property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>False</serializedValue>
</property>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>BasicHttpBinding_IServicioUsuarios</serializedValue>
</property>
<property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
<property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue />
</property>
</properties>
</endpoint>
</endpoints>
</SavedWcfConfigurationInformation>

View file

@ -32,5 +32,7 @@ namespace AYA.SlnSinort.WCF
// return respuesta; // return respuesta;
//} //}
#endregion #endregion
} }
} }

View file

@ -9,6 +9,11 @@
<httpRuntime targetFramework="4.5"/> <httpRuntime targetFramework="4.5"/>
</system.web> </system.web>
<system.serviceModel> <system.serviceModel>
<client>
<endpoint address="http://localhost/AyA.SlnSinort.WCF.Usuarios/ServicioUsuarios.svc"
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IServicioUsuarios"
contract="AyAWCF.IServicioUsuarios" name="BasicHttpBinding_IServicioUsuarios" />
</client>
<behaviors> <behaviors>
<serviceBehaviors> <serviceBehaviors>
@ -36,17 +41,28 @@
<add binding="basicHttpsBinding" scheme="https" /> <add binding="basicHttpsBinding" scheme="https" />
</protocolMapping> </protocolMapping>
<bindings> <bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IServicioUsuarios" />
</basicHttpBinding>
<wsHttpBinding> <wsHttpBinding>
<binding name="SOAPBinding" closeTimeout="00:50:00" openTimeout="00:50:00" receiveTimeout="00:50:00" sendTimeout="00:50:00" bypassProxyOnLocal="false" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" useDefaultWebProxy="false" allowCookies="false"> <binding name="SOAPBinding" closeTimeout="00:50:00" openTimeout="00:50:00"
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> receiveTimeout="00:50:00" sendTimeout="00:50:00" bypassProxyOnLocal="false"
maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
useDefaultWebProxy="false" allowCookies="false">
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
<security mode="None"> <security mode="None">
<transport clientCredentialType="None" /> <transport clientCredentialType="None" />
</security> </security>
</binding> </binding>
</wsHttpBinding> </wsHttpBinding>
<webHttpBinding> <webHttpBinding>
<binding name="JSONBinding" closeTimeout="00:50:00" openTimeout="00:50:00" receiveTimeout="00:50:00" sendTimeout="00:50:00" allowCookies="false" bypassProxyOnLocal="false" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" useDefaultWebProxy="true" contentTypeMapper="Atesa.Utilitarios.NewtonsoftJsonContentTypeMapper,Atesa.Utilitarios"> <binding name="JSONBinding" closeTimeout="00:50:00" openTimeout="00:50:00"
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> receiveTimeout="00:50:00" sendTimeout="00:50:00" allowCookies="false"
bypassProxyOnLocal="false" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
useDefaultWebProxy="true" contentTypeMapper="Atesa.Utilitarios.NewtonsoftJsonContentTypeMapper,Atesa.Utilitarios">
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
<security mode="None"> <security mode="None">
<transport clientCredentialType="None" /> <transport clientCredentialType="None" />
</security> </security>

View file

@ -7672,6 +7672,7 @@
<Content Include="Sinort-Scripts\Mantenimientos.js" /> <Content Include="Sinort-Scripts\Mantenimientos.js" />
<Content Include="Sinort-Scripts\ProyectoNormativo.js" /> <Content Include="Sinort-Scripts\ProyectoNormativo.js" />
<Content Include="Sinort-Scripts\Rol.js" /> <Content Include="Sinort-Scripts\Rol.js" />
<Content Include="Sinort-Scripts\RolesPantallas.js" />
<Content Include="Web.config" /> <Content Include="Web.config" />
<Content Include="Web.Debug.config"> <Content Include="Web.Debug.config">
<DependentUpon>Web.config</DependentUpon> <DependentUpon>Web.config</DependentUpon>
@ -7703,6 +7704,7 @@
<Content Include="Views\Catalogos\Aplicacion.cshtml" /> <Content Include="Views\Catalogos\Aplicacion.cshtml" />
<Content Include="Views\Home\Proyecto_Normativo.cshtml" /> <Content Include="Views\Home\Proyecto_Normativo.cshtml" />
<Content Include="Views\Catalogos\Rol.cshtml" /> <Content Include="Views\Catalogos\Rol.cshtml" />
<Content Include="Views\Catalogos\RolesPantallas.cshtml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Folder Include="App_Data\" /> <Folder Include="App_Data\" />

View file

@ -8,8 +8,9 @@ namespace AYA.SlnSinort
// Para obtener más información sobre Bundles, visite http://go.microsoft.com/fwlink/?LinkId=301862 // Para obtener más información sobre Bundles, visite http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles) public static void RegisterBundles(BundleCollection bundles)
{ {
bundles.Add(new ScriptBundle("~/bundles/jquery").Include( bundles.Add(new ScriptBundle("~/bundles/jquery")
"~/Scripts/jquery-3.3.1.js")); .Include("~/Scripts/jquery-3.3.1.js")
);
bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include( bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
"~/Scripts/jquery-ui-1.12.1.js")); "~/Scripts/jquery-ui-1.12.1.js"));
@ -49,6 +50,7 @@ namespace AYA.SlnSinort
bundles.Add(new ScriptBundle("~/Script-Global") bundles.Add(new ScriptBundle("~/Script-Global")
.Include("~/Sinort-Scripts/Global.js") .Include("~/Sinort-Scripts/Global.js")
.Include("~/Scripts/toastr.min.js") .Include("~/Scripts/toastr.min.js")
.Include("~/Scripts/bootstrap.min.js")
.Include("~/Scripts/jquery.validate.min.js")); .Include("~/Scripts/jquery.validate.min.js"));

View file

@ -30,5 +30,12 @@ namespace AYA.SlnSinort.Controllers.Catalogos
InitControllers(); InitControllers();
return View(); return View();
} }
public ActionResult RolesPantallas()
{
InitControllers();
return View();
}
} }
} }

View file

@ -41,7 +41,7 @@ this.getDataModel = function () {
$('#TableItems').TableInit(0, false, true, true, false, null, null); $('#TableItems').TableInit(0, false, true, true, false, null, null);
ObtenerRoles(); ObtenerRoles();
} }
this.CargarGridRoles = function (data) { this.CargarGridRoles = function (data) {
@ -53,7 +53,8 @@ this.CargarGridRoles = function (data) {
var option = $("#ucItemsCatalogo").html(); var option = $("#ucItemsCatalogo").html();
var pantallas = $("#ucbtnVistaPantallas").html();
var usuarios = $("#ucbtnVistaUsuarios").html();
option = replaceAll("[$CodItem]", item.IdRol, option); option = replaceAll("[$CodItem]", item.IdRol, option);
var stateIcon = $("#ucItemsIcon").html(); var stateIcon = $("#ucItemsIcon").html();
@ -78,6 +79,8 @@ this.CargarGridRoles = function (data) {
TableItems.row.add([stateIcon, TableItems.row.add([stateIcon,
item.IdRol, item.IdRol,
item.Descripcion, item.Descripcion,
pantallas,
usuarios,
option]).draw(); option]).draw();
}); });
@ -180,7 +183,7 @@ this.InsertarItem = function () {
return false; return false;
} }
if (!confirm("Va a ingresar una nueva aplicación.\n ¿Desea continuar?")) if (!confirm("Va a ingresar un nuevo rol.\n ¿Desea continuar?"))
{ return; } { return; }
@ -200,7 +203,7 @@ this.CompletarAccion = function () {
$('#btnInsertar').show(); $('#btnInsertar').show();
TableItems.clear().draw(); TableItems.clear().draw();
ObtenerAplicaciones(); ObtenerRoles();
LimpiarControles(); LimpiarControles();
ENDREQUEST(); ENDREQUEST();
} }
@ -210,7 +213,36 @@ this.LimpiarControles = function () {
$("#formCatalogo").validateElement("#txtDescripcion"); $("#formCatalogo").validateElement("#txtDescripcion");
$('#lbTituloAccion').empty(); $('#lbTituloAccion').empty();
$('#lbTituloAccion').append('Ingresar Nueva Aplicación'); $('#lbTituloAccion').append('Ingresar Nuevo Rol');
} }
this.AbrirRolesPantallas = function () {
$("#modalRolesPantallas").modal('show');
CargarPantallas();
}
this.CargarPantallas = function () {
var uri = CatalogosWCF + '/api/ObtenerPantallas';
AjaxPostData(uri, Item, true, false, CargarTablaPantallas, null, null);
}
this.CargarTablaPantallas = function (data) {
if (data != null) {
lista = data;
var Seleccionar = $("#ucbtnCheck").html();
var columnDefinition = [
{ "data": "Descripcion" },
{ "data": null, className: "center", defaultContent: Seleccionar }
];
$('#GridRolesPantallas').TableInit(1, true, true, true, true, columnDefinition, lista);
if ($.fn.DataTable.isDataTable('#GridRolesPantallas')) {
$('#GridRolesPantallas').DataTable().search('').draw();
ENDREQUEST();
}
}
}

View file

@ -0,0 +1,46 @@

var Item = {};
jQuery(document).ready(function () {
CargarPantallas();
});
this.CargarPantallas = function () {
var uri = CatalogosWCF + '/api/ObtenerPantallas';
AjaxPostData(uri, Item, true, false, CargarTablaPantallas, null, null);
}
this.CargarTablaPantallas = function (data) {
if (data != null) {
lista = data;
var Seleccionar = $("#ucbtnVista").html();
var columnDefinition = [
{ "data": "Descripcion" },
{ "data": null, className: "center", defaultContent: Seleccionar }
];
$('#tablePantallas').TableInit(1, true, true, true, true, columnDefinition, lista);
if ($.fn.DataTable.isDataTable('#tablePantallas')) {
$('#tablePantallas').DataTable().search('').draw();
ENDREQUEST();
}
}
}
$('#tablePantallas').on('click', 'button', function () {
var data = $('#tablePantallas').DataTable().row($(this).parents('tr')).data();
var mtzView = data.Vista.split('/')
url = $("#hiddenHref").val();
url = url.replace("View", mtzView[1]);
url = url.replace("Controller", mtzView[0]);
document.location.href = url;
});

View file

@ -1,5 +1,4 @@
 @{
@{
ViewBag.Title = "Rol"; ViewBag.Title = "Rol";
Layout = "~/Views/Shared/_Layout.cshtml"; Layout = "~/Views/Shared/_Layout.cshtml";
} }
@ -21,7 +20,12 @@
<th></th> <th></th>
<th class="col-sm-1">ID</th> <th class="col-sm-1">ID</th>
<th class="col-sm-4">Descripción</th> <th class="col-sm-4">Descripción</th>
<th>Pantallas</th>
<th>Usuarios</th>
<th></th> <th></th>
</tr> </tr>
</thead> </thead>
</table> </table>
@ -43,8 +47,18 @@
</div> </div>
</div> </div>
</div>
<div id="ucbtnVistaPantallas" style=" display:none;">
<button type="button" id="btnseleccionar" class="btn btn-default btn-xs" onclick="AbrirRolesPantallas()">
<i class="fa fa-check"></i>&nbsp;&nbsp;Seleccionar
</button>
</div>
<div id="ucbtnVistaUsuarios" style=" display:none;">
<button type="button" id="btnseleccionar" class="btn btn-default btn-xs">
<i class="fa fa-check"></i>&nbsp;&nbsp;Seleccionar
</button>
</div>
</div>
<div class="col-md-4"> <div class="col-md-4">
<div class="panel panel-success"> <div class="panel panel-success">
<div class="panel-heading"> <div class="panel-heading">
@ -89,6 +103,42 @@
</div> </div>
</form> </form>
<div class="modal fade" id="modalRolesPantallas" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
<div class="modal-dialog modal-lg" style="width:80%;">
<div class="modal-content">
<div class="modal-header">
<h4><i class="fa fa-bars"></i>&nbsp;&nbsp;Selección de Pantallas</h4>
</div>
<div class="modal-body">
<table id="GridRolesPantallas" class="table table-condensed dataTable no-footer">
<thead>
<tr>
<th class="col-sm-4">Descripción</th>
<th>Acción</th>
</tr>
</thead>
</table>
</div>
<div id="ucbtnCheck" style=" display:none;">
<button type="button" id="btnseleccionar" class="btn btn-default btn-xs">
<i class="fa fa-check"></i>&nbsp;&nbsp;Seleccionar
</button>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger btn-sm" data-dismiss="modal">Cerrar</button>
</div>
</div>
</div>
</div>
@Scripts.Render("~/Sinort-Scripts/Rol.js") @Scripts.Render("~/Sinort-Scripts/Rol.js")

View file

@ -0,0 +1,40 @@

@{
ViewBag.Title = "RolesPantallas";
}
<input type="hidden" id="hiddenHref" value="@string.Concat(Url.Action("View", "Controller", null), ViewBag.QueryEncripted)">
<form id="formCatalogo" class="form-horizontal" role="form">
<div class="panel-body">
<h3>&nbsp;<i class="fa fa-list-ul"></i> Selección de Pantallas </h3>
<br />
<br />
<div>
<table id="tablePantallas" class="table table-condensed dataTable no-footer">
<thead>
<tr>
<th class="col-sm-4">Descripción</th>
<th>Acción</th>
</tr>
</thead>
</table>
</div>
<div id="ucbtnVista" style=" display:none;">
<input type="checkbox" checked="checked">
</div>
</div>
</form>
@Scripts.Render("~/Sinort-Scripts/RolesPantallas.js")

View file

@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width" /> <meta name="viewport" content="width=device-width" />
<title> AYA | SINORT </title> <title> AYA | SINORT </title>
<!-- Tell the browser to be responsive to screen width --> <!-- Tell the browser to be responsive to screen width -->
@ -18,19 +18,21 @@
<link rel="stylesheet" href="~/dist/css/skins/skin-blue.min.css"> <link rel="stylesheet" href="~/dist/css/skins/skin-blue.min.css">
<script src="~/bower_components/jquery/dist/jquery.min.js"></script> <script src="~/bower_components/jquery/dist/jquery.min.js"></script>
<script src="~/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="~/dist/js/adminlte.min.js"></script> <script src="~/dist/js/adminlte.min.js"></script>
<!-- Google Font --> <!-- Google Font -->
<link rel="stylesheet" <link rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic"> href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
<link rel="stylesheet" href="~/Content/Principal.css"> <link rel="stylesheet" href="~/Content/Principal.css">
@*@Styles.Render("~/Content/dashboard")*@ @*@Styles.Render("~/Content/dashboard")*@
@Scripts.Render("~/bundles/modernizr") @Scripts.Render("~/bundles/modernizr")
@Scripts.Render("~/bundles/jquery") @Scripts.Render("~/bundles/jquery")
@Scripts.Render("~/bundles/jquery-dataTables");
@Styles.Render("~/Content/sinort-css")
@Scripts.Render("~/bundles/jquery-dataTables")
@Styles.Render("~/Content/sinort-css")
@* Seccion futuros scripts *@ @* Seccion futuros scripts *@
</head> </head>
@ -48,7 +50,6 @@
<span class="logo-lg"><img src="~/dist/img/LogoAyA.jpg" alt="logo"></span> <span class="logo-lg"><img src="~/dist/img/LogoAyA.jpg" alt="logo"></span>
</a> </a>
<nav class="navbar navbar-static-top" role="navigation"> <nav class="navbar navbar-static-top" role="navigation">
<a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button"> <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
@ -190,36 +191,36 @@
@*<div class="user-panel"> @*<div class="user-panel">
<div class="pull-left image"> <div class="pull-left image">
<img src="~/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image"> <img src="~/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
</div> </div>
<div class="pull-left info"> <div class="pull-left info">
<p>Usuario</p> Status <p>Usuario</p> Status
<a href="#"><i class="fa fa-circle text-success"></i> Bienvenido </a> <a href="#"><i class="fa fa-circle text-success"></i> Bienvenido </a>
</div>
</div> </div>
</div>
<form action="#" method="get" class="sidebar-form"> <form action="#" method="get" class="sidebar-form">
<div class="input-group"> <div class="input-group">
<input type="text" name="q" class="form-control" placeholder="Search..."> <input type="text" name="q" class="form-control" placeholder="Search...">
<span class="input-group-btn"> <span class="input-group-btn">
<button type="submit" name="search" id="search-btn" class="btn btn-flat"> <button type="submit" name="search" id="search-btn" class="btn btn-flat">
<i class="fa fa-search"></i> <i class="fa fa-search"></i>
</button> </button>
</span> </span>
</div> </div>
</form>*@ </form>*@
<ul id ="menu-principal" class="sidebar-menu" data-widget="tree"></ul> <ul id ="menu-principal" class="sidebar-menu" data-widget="tree"></ul>
</section> </section>
</aside> </aside>
<div id="main" class="content-wrapper"> <div id="main" class="content-wrapper">
@RenderSection("featured", required: false) @RenderSection("featured", required: false)
@RenderBody() @RenderBody()
</div> </div>
<footer class="main-footer"> <footer class="main-footer">
@ -359,6 +360,7 @@
</html> </html>
@Scripts.Render("~/Script-Global") @Scripts.Render("~/Script-Global")
@RenderSection("scripts", required: false) @RenderSection("scripts", required: false)
<script type="text/javascript"> <script type="text/javascript">

View file

@ -77,6 +77,8 @@
<Compile Include="Sinort\PermisosUsuario.cs" /> <Compile Include="Sinort\PermisosUsuario.cs" />
<Compile Include="Sinort\PlantillaEmail.cs" /> <Compile Include="Sinort\PlantillaEmail.cs" />
<Compile Include="Sinort\Roles.cs" /> <Compile Include="Sinort\Roles.cs" />
<Compile Include="Sinort\RolesPantallas.cs" />
<Compile Include="Sinort\RolesUsuario.cs" />
<Compile Include="Sinort\SinortContex.cs" /> <Compile Include="Sinort\SinortContex.cs" />
<Compile Include="Sinort\TipoAplicacion.cs" /> <Compile Include="Sinort\TipoAplicacion.cs" />
<Compile Include="Sinort\TipoDocumento.cs" /> <Compile Include="Sinort\TipoDocumento.cs" />

View file

@ -12,7 +12,8 @@ namespace AYA.SlnSinortModel.Sinort
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Roles() public Roles()
{ {
PermisosUsuario = new HashSet<PermisosUsuario>(); RolesPantallas = new HashSet<RolesPantallas>();
RolesUsuario = new HashSet<RolesUsuario>();
} }
[Key] [Key]
@ -35,6 +36,9 @@ namespace AYA.SlnSinortModel.Sinort
public string UsuarioModificacion { get; set; } public string UsuarioModificacion { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<PermisosUsuario> PermisosUsuario { get; set; } public virtual ICollection<RolesPantallas> RolesPantallas { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<RolesUsuario> RolesUsuario { get; set; }
} }
} }

View file

@ -0,0 +1,36 @@
namespace AYA.SlnSinortModel.Sinort
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("Catalogos.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; }
}
}

View file

@ -0,0 +1,36 @@
namespace AYA.SlnSinortModel.Sinort
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("Catalogos.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; }
}
}

View file

@ -1,12 +1,12 @@
using System; using System;
using System.Data.Entity; using System.Data.Entity;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using System.Linq; using System.Linq;
using AYA.SlnSinortModel.Sinort.Partial; using AYA.SlnSinortModel.Sinort.Partial;
namespace AYA.SlnSinortModel.Sinort namespace AYA.SlnSinortModel.Sinort
{ {
public partial class SinortContex : Contex public partial class SinortContex : Contex
{ {
public virtual DbSet<Aplicacion> Aplicacion { get; set; } public virtual DbSet<Aplicacion> Aplicacion { get; set; }
@ -15,9 +15,10 @@ namespace AYA.SlnSinortModel.Sinort
public virtual DbSet<Estado> Estado { get; set; } public virtual DbSet<Estado> Estado { get; set; }
public virtual DbSet<Mantenimiento> Mantenimiento { get; set; } public virtual DbSet<Mantenimiento> Mantenimiento { get; set; }
public virtual DbSet<Pantallas> Pantallas { get; set; } public virtual DbSet<Pantallas> Pantallas { get; set; }
public virtual DbSet<PermisosUsuario> PermisosUsuario { get; set; }
public virtual DbSet<PlantillaEmail> PlantillaEmail { get; set; } public virtual DbSet<PlantillaEmail> PlantillaEmail { get; set; }
public virtual DbSet<Roles> Roles { 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<TipoAplicacion> TipoAplicacion { get; set; }
public virtual DbSet<TipoDocumento> TipoDocumento { get; set; } public virtual DbSet<TipoDocumento> TipoDocumento { get; set; }
public virtual DbSet<TipoEmisor> TipoEmisor { get; set; } public virtual DbSet<TipoEmisor> TipoEmisor { get; set; }
@ -120,7 +121,7 @@ namespace AYA.SlnSinortModel.Sinort
.Property(e => e.UsuarioCreacion) .Property(e => e.UsuarioCreacion)
.IsUnicode(false); .IsUnicode(false);
modelBuilder.Entity<PermisosUsuario>() modelBuilder.Entity<Pantallas>()
.Property(e => e.UsuarioModificacion) .Property(e => e.UsuarioModificacion)
.IsUnicode(false); .IsUnicode(false);
@ -156,6 +157,22 @@ namespace AYA.SlnSinortModel.Sinort
.Property(e => e.UsuarioModificacion) .Property(e => e.UsuarioModificacion)
.IsUnicode(false); .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>() modelBuilder.Entity<TipoAplicacion>()
.Property(e => e.Descripcion) .Property(e => e.Descripcion)
.IsUnicode(false); .IsUnicode(false);

View file

@ -12,7 +12,7 @@ namespace AYA.SlnSinortModel.Sinort
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Usuario() public Usuario()
{ {
PermisosUsuario = new HashSet<PermisosUsuario>(); RolesUsuario = new HashSet<RolesUsuario>();
ComentariosForo = new HashSet<ComentariosForo>(); ComentariosForo = new HashSet<ComentariosForo>();
ComentariosMatriz = new HashSet<ComentariosMatriz>(); ComentariosMatriz = new HashSet<ComentariosMatriz>();
Convocatoria = new HashSet<Convocatoria>(); Convocatoria = new HashSet<Convocatoria>();
@ -44,7 +44,7 @@ namespace AYA.SlnSinortModel.Sinort
public string UsuarioModificacion { get; set; } public string UsuarioModificacion { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<PermisosUsuario> PermisosUsuario { get; set; } public virtual ICollection<RolesUsuario> RolesUsuario { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<ComentariosForo> ComentariosForo { get; set; } public virtual ICollection<ComentariosForo> ComentariosForo { get; set; }