Merge branch 'master' of ssh://float.beyondsoft.de/git/beyondSoft/BeWo

This commit is contained in:
staccatomamba
2017-08-23 17:17:42 +02:00
41 changed files with 1427 additions and 2275 deletions

View File

@@ -1522,11 +1522,6 @@
<Compile Include="Validation\ValidationAttribute.cs" />
<Compile Include="Validation\ValidationRules.cs" />
<Compile Include="Validation\ValidationTrigger.cs" />
<Compile Include="Service References\QueryService\Reference.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Reference.svcmap</DependentUpon>
</Compile>
<Compile Include="ServiceProxy\Generated.cs" />
<Compile Include="ViewModel\AccountingBookingVM.cs" />
<Compile Include="ViewModel\AccountingTransactionVM.cs" />
@@ -1944,9 +1939,6 @@
<None Include="Properties\app.manifest" />
<AppDesigner Include="Properties\" />
</ItemGroup>
<ItemGroup>
<WCFMetadata Include="Service References\" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.0,Profile=Client">
<Visible>False</Visible>
@@ -1990,34 +1982,6 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="Service References\QueryService\QueryService.xsd" />
<None Include="Service References\QueryService\QueryService1.xsd" />
<None Include="Service References\QueryService\QueryService10.xsd">
<SubType>Designer</SubType>
</None>
<None Include="Service References\QueryService\QueryService11.xsd">
<SubType>Designer</SubType>
</None>
<None Include="Service References\QueryService\QueryService12.xsd">
<SubType>Designer</SubType>
</None>
<None Include="Service References\QueryService\QueryService2.xsd" />
<None Include="Service References\QueryService\QueryService3.xsd" />
<None Include="Service References\QueryService\QueryService4.xsd" />
<None Include="Service References\QueryService\QueryService6.xsd">
<SubType>Designer</SubType>
</None>
<None Include="Service References\QueryService\QueryService7.xsd">
<SubType>Designer</SubType>
</None>
<None Include="Service References\QueryService\QueryService8.xsd">
<SubType>Designer</SubType>
</None>
<None Include="Service References\QueryService\QueryService9.xsd">
<SubType>Designer</SubType>
</None>
<None Include="Service References\QueryService\QueryServiceImp.wsdl" />
<None Include="Service References\QueryService\QueryServiceImp1.wsdl" />
<None Include="ServiceReferences.bat" />
</ItemGroup>
<ItemGroup>
@@ -2046,26 +2010,6 @@
<Resource Include="Ressources\Icons\Redo.png" />
<Resource Include="Ressources\Icons\Undo.png" />
</ItemGroup>
<ItemGroup>
<WCFMetadataStorage Include="Service References\QueryService\" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\QueryService\QueryService.disco" />
<None Include="Service References\QueryService\QueryService5.xsd" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\QueryService\configuration91.svcinfo" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\QueryService\configuration.svcinfo" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\QueryService\Reference.svcmap">
<Generator>WCF Proxy Generator</Generator>
<LastGenOutput>Reference.cs</LastGenOutput>
<SubType>Designer</SubType>
</None>
</ItemGroup>
<ItemGroup>
<Resource Include="Ressources\Icons\User Business Male.png" />
<Resource Include="Ressources\Icons\User Home Boy.png" />
@@ -2560,9 +2504,6 @@
<ItemGroup>
<Resource Include="Ressources\Icons\ArrowLeft.png" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\QueryService\QueryService1.disco" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>

View File

@@ -39,7 +39,7 @@ namespace BeWo
//public static string Version = "Version 2.0";
public static string Version = "Version 2.3.3";
public static string Version = "Version 2.3.4";
public static int RenderTier = 0;

View File

@@ -980,13 +980,6 @@ namespace BeWo
// }
//}
private void button_publicQuerys_Click(object sender, RoutedEventArgs e)
{
if (DoSaveCheck())
{
ServiceFacade.DoQueryServiceAsync(s => s.GetAllQueriesOfType(QueryType.Public), cb => this.Dispatch(delegate { NavigateTo(new QueryView(cb)); }));
}
}
private void button_resources_Click(object sender, RoutedEventArgs e)
{

View File

@@ -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://bib-pc3/Host/QueryService.svc?wsdl" docRef="http://bib-pc3/Host/QueryService.svc" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
</discovery>

View File

@@ -1,10 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/BS.Shared.Core" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="DateTimeSpan">
<xs:sequence>
<xs:element minOccurs="0" name="EndDateTime" type="xs:dateTime" />
<xs:element minOccurs="0" name="StartDateTime" type="xs:dateTime" />
</xs:sequence>
</xs:complexType>
<xs:element name="DateTimeSpan" nillable="true" type="tns:DateTimeSpan" />
</xs:schema>

View File

@@ -1,23 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="BeWoFault">
<xs:sequence>
<xs:element minOccurs="0" name="FaultType" type="tns:BeWoFaultType" />
<xs:element minOccurs="0" name="InnerExceptionMessage" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="InnerExceptionStackTrace" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="StackTrace" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="BeWoFault" nillable="true" type="tns:BeWoFault" />
<xs:simpleType name="BeWoFaultType">
<xs:restriction base="xs:string">
<xs:enumeration value="Unknown" />
<xs:enumeration value="Concurrency" />
<xs:enumeration value="DeleteNotPossible" />
<xs:enumeration value="LoginNameTaken" />
<xs:enumeration value="CustomWithoutDetails" />
</xs:restriction>
</xs:simpleType>
<xs:element name="BeWoFaultType" nillable="true" type="tns:BeWoFaultType" />
</xs:schema>

View File

@@ -1,121 +0,0 @@
<?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="QueryServiceImp" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<xsd:schema targetNamespace="http://tempuri.org/Imports">
<xsd:import schemaLocation="http://bib-pc3/Host/QueryService.svc?xsd=xsd0" namespace="http://tempuri.org/" />
<xsd:import schemaLocation="http://bib-pc3/Host/QueryService.svc?xsd=xsd6" namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts" />
<xsd:import schemaLocation="http://bib-pc3/Host/QueryService.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
<xsd:import schemaLocation="http://bib-pc3/Host/QueryService.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/BS.Shared.DataContracts" />
<xsd:import schemaLocation="http://bib-pc3/Host/QueryService.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/BS.Shared" />
<xsd:import schemaLocation="http://bib-pc3/Host/QueryService.svc?xsd=xsd4" namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core" />
<xsd:import schemaLocation="http://bib-pc3/Host/QueryService.svc?xsd=xsd5" namespace="http://schemas.datacontract.org/2004/07/System.Data" />
</xsd:schema>
</wsdl:types>
<wsdl:message name="IQueryService_ExecuteQuery_InputMessage">
<wsdl:part name="parameters" element="tns:ExecuteQuery" />
</wsdl:message>
<wsdl:message name="IQueryService_ExecuteQuery_OutputMessage">
<wsdl:part name="parameters" element="tns:ExecuteQueryResponse" />
</wsdl:message>
<wsdl:message name="IQueryService_ExecuteQuery_BeWoFaultFault_FaultMessage">
<wsdl:part xmlns:q1="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts" name="detail" element="q1:BeWoFault" />
</wsdl:message>
<wsdl:message name="IQueryService_GetAllQueriesOfType_InputMessage">
<wsdl:part name="parameters" element="tns:GetAllQueriesOfType" />
</wsdl:message>
<wsdl:message name="IQueryService_GetAllQueriesOfType_OutputMessage">
<wsdl:part name="parameters" element="tns:GetAllQueriesOfTypeResponse" />
</wsdl:message>
<wsdl:message name="IQueryService_GetAllQueriesOfType_BeWoFaultFault_FaultMessage">
<wsdl:part xmlns:q2="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts" name="detail" element="q2:BeWoFault" />
</wsdl:message>
<wsdl:message name="IQueryService_PrepareQueryReport_InputMessage">
<wsdl:part name="parameters" element="tns:PrepareQueryReport" />
</wsdl:message>
<wsdl:message name="IQueryService_PrepareQueryReport_OutputMessage">
<wsdl:part name="parameters" element="tns:PrepareQueryReportResponse" />
</wsdl:message>
<wsdl:message name="IQueryService_PrepareQueryReport_BeWoFaultFault_FaultMessage">
<wsdl:part xmlns:q3="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts" name="detail" element="q3:BeWoFault" />
</wsdl:message>
<wsdl:message name="IQueryService_ReportTypes_InputMessage">
<wsdl:part name="parameters" element="tns:ReportTypes" />
</wsdl:message>
<wsdl:message name="IQueryService_ReportTypes_OutputMessage">
<wsdl:part name="parameters" element="tns:ReportTypesResponse" />
</wsdl:message>
<wsdl:portType name="IQueryService">
<wsdl:operation name="ExecuteQuery">
<wsdl:input wsaw:Action="http://tempuri.org/IQueryService/ExecuteQuery" message="tns:IQueryService_ExecuteQuery_InputMessage" />
<wsdl:output wsaw:Action="http://tempuri.org/IQueryService/ExecuteQueryResponse" message="tns:IQueryService_ExecuteQuery_OutputMessage" />
<wsdl:fault wsaw:Action="http://tempuri.org/IQueryService/ExecuteQueryBeWoFaultFault" name="BeWoFaultFault" message="tns:IQueryService_ExecuteQuery_BeWoFaultFault_FaultMessage" />
</wsdl:operation>
<wsdl:operation name="GetAllQueriesOfType">
<wsdl:input wsaw:Action="http://tempuri.org/IQueryService/GetAllQueriesOfType" message="tns:IQueryService_GetAllQueriesOfType_InputMessage" />
<wsdl:output wsaw:Action="http://tempuri.org/IQueryService/GetAllQueriesOfTypeResponse" message="tns:IQueryService_GetAllQueriesOfType_OutputMessage" />
<wsdl:fault wsaw:Action="http://tempuri.org/IQueryService/GetAllQueriesOfTypeBeWoFaultFault" name="BeWoFaultFault" message="tns:IQueryService_GetAllQueriesOfType_BeWoFaultFault_FaultMessage" />
</wsdl:operation>
<wsdl:operation name="PrepareQueryReport">
<wsdl:input wsaw:Action="http://tempuri.org/IQueryService/PrepareQueryReport" message="tns:IQueryService_PrepareQueryReport_InputMessage" />
<wsdl:output wsaw:Action="http://tempuri.org/IQueryService/PrepareQueryReportResponse" message="tns:IQueryService_PrepareQueryReport_OutputMessage" />
<wsdl:fault wsaw:Action="http://tempuri.org/IQueryService/PrepareQueryReportBeWoFaultFault" name="BeWoFaultFault" message="tns:IQueryService_PrepareQueryReport_BeWoFaultFault_FaultMessage" />
</wsdl:operation>
<wsdl:operation name="ReportTypes">
<wsdl:input wsaw:Action="http://tempuri.org/IQueryService/ReportTypes" message="tns:IQueryService_ReportTypes_InputMessage" />
<wsdl:output wsaw:Action="http://tempuri.org/IQueryService/ReportTypesResponse" message="tns:IQueryService_ReportTypes_OutputMessage" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="QueryServiceEndpoint" type="tns:IQueryService">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="ExecuteQuery">
<soap:operation soapAction="http://tempuri.org/IQueryService/ExecuteQuery" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="BeWoFaultFault">
<soap:fault use="literal" name="BeWoFaultFault" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="GetAllQueriesOfType">
<soap:operation soapAction="http://tempuri.org/IQueryService/GetAllQueriesOfType" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="BeWoFaultFault">
<soap:fault use="literal" name="BeWoFaultFault" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="PrepareQueryReport">
<soap:operation soapAction="http://tempuri.org/IQueryService/PrepareQueryReport" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="BeWoFaultFault">
<soap:fault use="literal" name="BeWoFaultFault" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="ReportTypes">
<soap:operation soapAction="http://tempuri.org/IQueryService/ReportTypes" 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="QueryServiceImp">
<wsdl:port name="QueryServiceEndpoint" binding="tns:QueryServiceEndpoint">
<soap:address location="http://bib-pc3/Host/QueryService.svc" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

View File

@@ -1,504 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace BeWo.QueryService {
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="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
[System.SerializableAttribute()]
public partial class BeWoFault : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
[System.NonSerializedAttribute()]
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private BeWo.QueryService.BeWoFaultType FaultTypeField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string InnerExceptionMessageField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string InnerExceptionStackTraceField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string MessageField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string StackTraceField;
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
}
set {
this.extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public BeWo.QueryService.BeWoFaultType FaultType {
get {
return this.FaultTypeField;
}
set {
if ((this.FaultTypeField.Equals(value) != true)) {
this.FaultTypeField = value;
this.RaisePropertyChanged("FaultType");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string InnerExceptionMessage {
get {
return this.InnerExceptionMessageField;
}
set {
if ((object.ReferenceEquals(this.InnerExceptionMessageField, value) != true)) {
this.InnerExceptionMessageField = value;
this.RaisePropertyChanged("InnerExceptionMessage");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string InnerExceptionStackTrace {
get {
return this.InnerExceptionStackTraceField;
}
set {
if ((object.ReferenceEquals(this.InnerExceptionStackTraceField, value) != true)) {
this.InnerExceptionStackTraceField = value;
this.RaisePropertyChanged("InnerExceptionStackTrace");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string Message {
get {
return this.MessageField;
}
set {
if ((object.ReferenceEquals(this.MessageField, value) != true)) {
this.MessageField = value;
this.RaisePropertyChanged("Message");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string StackTrace {
get {
return this.StackTraceField;
}
set {
if ((object.ReferenceEquals(this.StackTraceField, value) != true)) {
this.StackTraceField = value;
this.RaisePropertyChanged("StackTrace");
}
}
}
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.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="BeWoFaultType", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
public enum BeWoFaultType : int {
[System.Runtime.Serialization.EnumMemberAttribute()]
Unknown = 0,
[System.Runtime.Serialization.EnumMemberAttribute()]
Concurrency = 1,
[System.Runtime.Serialization.EnumMemberAttribute()]
DeleteNotPossible = 2,
[System.Runtime.Serialization.EnumMemberAttribute()]
LoginNameTaken = 3,
[System.Runtime.Serialization.EnumMemberAttribute()]
CustomWithoutDetails = 4,
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="QueryService.IQueryService")]
public interface IQueryService {
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IQueryService/ExecuteQuery", ReplyAction="http://tempuri.org/IQueryService/ExecuteQueryResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.QueryService.BeWoFault), Action="http://tempuri.org/IQueryService/ExecuteQueryBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
System.Data.DataTable ExecuteQuery(long pQueryOid, System.Collections.Generic.List<BS.Shared.DataContracts.QueryParamDC> parameter);
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IQueryService/ExecuteQuery", ReplyAction="http://tempuri.org/IQueryService/ExecuteQueryResponse")]
System.IAsyncResult BeginExecuteQuery(long pQueryOid, System.Collections.Generic.List<BS.Shared.DataContracts.QueryParamDC> parameter, System.AsyncCallback callback, object asyncState);
System.Data.DataTable EndExecuteQuery(System.IAsyncResult result);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IQueryService/GetAllQueriesOfType", ReplyAction="http://tempuri.org/IQueryService/GetAllQueriesOfTypeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.QueryService.BeWoFault), Action="http://tempuri.org/IQueryService/GetAllQueriesOfTypeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
System.Collections.Generic.List<BS.Shared.DataContracts.QueryDC> GetAllQueriesOfType(BS.Shared.QueryType pType);
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IQueryService/GetAllQueriesOfType", ReplyAction="http://tempuri.org/IQueryService/GetAllQueriesOfTypeResponse")]
System.IAsyncResult BeginGetAllQueriesOfType(BS.Shared.QueryType pType, System.AsyncCallback callback, object asyncState);
System.Collections.Generic.List<BS.Shared.DataContracts.QueryDC> EndGetAllQueriesOfType(System.IAsyncResult result);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IQueryService/PrepareQueryReport", ReplyAction="http://tempuri.org/IQueryService/PrepareQueryReportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.QueryService.BeWoFault), Action="http://tempuri.org/IQueryService/PrepareQueryReportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
string PrepareQueryReport(System.Data.DataTable dataTable, string id);
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IQueryService/PrepareQueryReport", ReplyAction="http://tempuri.org/IQueryService/PrepareQueryReportResponse")]
System.IAsyncResult BeginPrepareQueryReport(System.Data.DataTable dataTable, string id, System.AsyncCallback callback, object asyncState);
string EndPrepareQueryReport(System.IAsyncResult result);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IQueryService/ReportTypes", ReplyAction="http://tempuri.org/IQueryService/ReportTypesResponse")]
void ReportTypes(BS.Shared.DataContracts.ReportTypes pType);
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IQueryService/ReportTypes", ReplyAction="http://tempuri.org/IQueryService/ReportTypesResponse")]
System.IAsyncResult BeginReportTypes(BS.Shared.DataContracts.ReportTypes pType, System.AsyncCallback callback, object asyncState);
void EndReportTypes(System.IAsyncResult result);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface IQueryServiceChannel : BeWo.QueryService.IQueryService, System.ServiceModel.IClientChannel {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class ExecuteQueryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
public ExecuteQueryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
public System.Data.DataTable Result {
get {
base.RaiseExceptionIfNecessary();
return ((System.Data.DataTable)(this.results[0]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class GetAllQueriesOfTypeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
public GetAllQueriesOfTypeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
public System.Collections.Generic.List<BS.Shared.DataContracts.QueryDC> Result {
get {
base.RaiseExceptionIfNecessary();
return ((System.Collections.Generic.List<BS.Shared.DataContracts.QueryDC>)(this.results[0]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class PrepareQueryReportCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
public PrepareQueryReportCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
public string Result {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class QueryServiceClient : System.ServiceModel.ClientBase<BeWo.QueryService.IQueryService>, BeWo.QueryService.IQueryService {
private BeginOperationDelegate onBeginExecuteQueryDelegate;
private EndOperationDelegate onEndExecuteQueryDelegate;
private System.Threading.SendOrPostCallback onExecuteQueryCompletedDelegate;
private BeginOperationDelegate onBeginGetAllQueriesOfTypeDelegate;
private EndOperationDelegate onEndGetAllQueriesOfTypeDelegate;
private System.Threading.SendOrPostCallback onGetAllQueriesOfTypeCompletedDelegate;
private BeginOperationDelegate onBeginPrepareQueryReportDelegate;
private EndOperationDelegate onEndPrepareQueryReportDelegate;
private System.Threading.SendOrPostCallback onPrepareQueryReportCompletedDelegate;
private BeginOperationDelegate onBeginReportTypesDelegate;
private EndOperationDelegate onEndReportTypesDelegate;
private System.Threading.SendOrPostCallback onReportTypesCompletedDelegate;
public QueryServiceClient() {
}
public QueryServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName) {
}
public QueryServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public QueryServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public QueryServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress) {
}
public event System.EventHandler<ExecuteQueryCompletedEventArgs> ExecuteQueryCompleted;
public event System.EventHandler<GetAllQueriesOfTypeCompletedEventArgs> GetAllQueriesOfTypeCompleted;
public event System.EventHandler<PrepareQueryReportCompletedEventArgs> PrepareQueryReportCompleted;
public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> ReportTypesCompleted;
public System.Data.DataTable ExecuteQuery(long pQueryOid, System.Collections.Generic.List<BS.Shared.DataContracts.QueryParamDC> parameter) {
return base.Channel.ExecuteQuery(pQueryOid, parameter);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public System.IAsyncResult BeginExecuteQuery(long pQueryOid, System.Collections.Generic.List<BS.Shared.DataContracts.QueryParamDC> parameter, System.AsyncCallback callback, object asyncState) {
return base.Channel.BeginExecuteQuery(pQueryOid, parameter, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public System.Data.DataTable EndExecuteQuery(System.IAsyncResult result) {
return base.Channel.EndExecuteQuery(result);
}
private System.IAsyncResult OnBeginExecuteQuery(object[] inValues, System.AsyncCallback callback, object asyncState) {
long pQueryOid = ((long)(inValues[0]));
System.Collections.Generic.List<BS.Shared.DataContracts.QueryParamDC> parameter = ((System.Collections.Generic.List<BS.Shared.DataContracts.QueryParamDC>)(inValues[1]));
return this.BeginExecuteQuery(pQueryOid, parameter, callback, asyncState);
}
private object[] OnEndExecuteQuery(System.IAsyncResult result) {
System.Data.DataTable retVal = this.EndExecuteQuery(result);
return new object[] {
retVal};
}
private void OnExecuteQueryCompleted(object state) {
if ((this.ExecuteQueryCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
this.ExecuteQueryCompleted(this, new ExecuteQueryCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
public void ExecuteQueryAsync(long pQueryOid, System.Collections.Generic.List<BS.Shared.DataContracts.QueryParamDC> parameter) {
this.ExecuteQueryAsync(pQueryOid, parameter, null);
}
public void ExecuteQueryAsync(long pQueryOid, System.Collections.Generic.List<BS.Shared.DataContracts.QueryParamDC> parameter, object userState) {
if ((this.onBeginExecuteQueryDelegate == null)) {
this.onBeginExecuteQueryDelegate = new BeginOperationDelegate(this.OnBeginExecuteQuery);
}
if ((this.onEndExecuteQueryDelegate == null)) {
this.onEndExecuteQueryDelegate = new EndOperationDelegate(this.OnEndExecuteQuery);
}
if ((this.onExecuteQueryCompletedDelegate == null)) {
this.onExecuteQueryCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnExecuteQueryCompleted);
}
base.InvokeAsync(this.onBeginExecuteQueryDelegate, new object[] {
pQueryOid,
parameter}, this.onEndExecuteQueryDelegate, this.onExecuteQueryCompletedDelegate, userState);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.QueryDC> GetAllQueriesOfType(BS.Shared.QueryType pType) {
return base.Channel.GetAllQueriesOfType(pType);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public System.IAsyncResult BeginGetAllQueriesOfType(BS.Shared.QueryType pType, System.AsyncCallback callback, object asyncState) {
return base.Channel.BeginGetAllQueriesOfType(pType, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public System.Collections.Generic.List<BS.Shared.DataContracts.QueryDC> EndGetAllQueriesOfType(System.IAsyncResult result) {
return base.Channel.EndGetAllQueriesOfType(result);
}
private System.IAsyncResult OnBeginGetAllQueriesOfType(object[] inValues, System.AsyncCallback callback, object asyncState) {
BS.Shared.QueryType pType = ((BS.Shared.QueryType)(inValues[0]));
return this.BeginGetAllQueriesOfType(pType, callback, asyncState);
}
private object[] OnEndGetAllQueriesOfType(System.IAsyncResult result) {
System.Collections.Generic.List<BS.Shared.DataContracts.QueryDC> retVal = this.EndGetAllQueriesOfType(result);
return new object[] {
retVal};
}
private void OnGetAllQueriesOfTypeCompleted(object state) {
if ((this.GetAllQueriesOfTypeCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
this.GetAllQueriesOfTypeCompleted(this, new GetAllQueriesOfTypeCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
public void GetAllQueriesOfTypeAsync(BS.Shared.QueryType pType) {
this.GetAllQueriesOfTypeAsync(pType, null);
}
public void GetAllQueriesOfTypeAsync(BS.Shared.QueryType pType, object userState) {
if ((this.onBeginGetAllQueriesOfTypeDelegate == null)) {
this.onBeginGetAllQueriesOfTypeDelegate = new BeginOperationDelegate(this.OnBeginGetAllQueriesOfType);
}
if ((this.onEndGetAllQueriesOfTypeDelegate == null)) {
this.onEndGetAllQueriesOfTypeDelegate = new EndOperationDelegate(this.OnEndGetAllQueriesOfType);
}
if ((this.onGetAllQueriesOfTypeCompletedDelegate == null)) {
this.onGetAllQueriesOfTypeCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetAllQueriesOfTypeCompleted);
}
base.InvokeAsync(this.onBeginGetAllQueriesOfTypeDelegate, new object[] {
pType}, this.onEndGetAllQueriesOfTypeDelegate, this.onGetAllQueriesOfTypeCompletedDelegate, userState);
}
public string PrepareQueryReport(System.Data.DataTable dataTable, string id) {
return base.Channel.PrepareQueryReport(dataTable, id);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public System.IAsyncResult BeginPrepareQueryReport(System.Data.DataTable dataTable, string id, System.AsyncCallback callback, object asyncState) {
return base.Channel.BeginPrepareQueryReport(dataTable, id, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public string EndPrepareQueryReport(System.IAsyncResult result) {
return base.Channel.EndPrepareQueryReport(result);
}
private System.IAsyncResult OnBeginPrepareQueryReport(object[] inValues, System.AsyncCallback callback, object asyncState) {
System.Data.DataTable dataTable = ((System.Data.DataTable)(inValues[0]));
string id = ((string)(inValues[1]));
return this.BeginPrepareQueryReport(dataTable, id, callback, asyncState);
}
private object[] OnEndPrepareQueryReport(System.IAsyncResult result) {
string retVal = this.EndPrepareQueryReport(result);
return new object[] {
retVal};
}
private void OnPrepareQueryReportCompleted(object state) {
if ((this.PrepareQueryReportCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
this.PrepareQueryReportCompleted(this, new PrepareQueryReportCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
public void PrepareQueryReportAsync(System.Data.DataTable dataTable, string id) {
this.PrepareQueryReportAsync(dataTable, id, null);
}
public void PrepareQueryReportAsync(System.Data.DataTable dataTable, string id, object userState) {
if ((this.onBeginPrepareQueryReportDelegate == null)) {
this.onBeginPrepareQueryReportDelegate = new BeginOperationDelegate(this.OnBeginPrepareQueryReport);
}
if ((this.onEndPrepareQueryReportDelegate == null)) {
this.onEndPrepareQueryReportDelegate = new EndOperationDelegate(this.OnEndPrepareQueryReport);
}
if ((this.onPrepareQueryReportCompletedDelegate == null)) {
this.onPrepareQueryReportCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnPrepareQueryReportCompleted);
}
base.InvokeAsync(this.onBeginPrepareQueryReportDelegate, new object[] {
dataTable,
id}, this.onEndPrepareQueryReportDelegate, this.onPrepareQueryReportCompletedDelegate, userState);
}
public void ReportTypes(BS.Shared.DataContracts.ReportTypes pType) {
base.Channel.ReportTypes(pType);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public System.IAsyncResult BeginReportTypes(BS.Shared.DataContracts.ReportTypes pType, System.AsyncCallback callback, object asyncState) {
return base.Channel.BeginReportTypes(pType, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
public void EndReportTypes(System.IAsyncResult result) {
base.Channel.EndReportTypes(result);
}
private System.IAsyncResult OnBeginReportTypes(object[] inValues, System.AsyncCallback callback, object asyncState) {
BS.Shared.DataContracts.ReportTypes pType = ((BS.Shared.DataContracts.ReportTypes)(inValues[0]));
return this.BeginReportTypes(pType, callback, asyncState);
}
private object[] OnEndReportTypes(System.IAsyncResult result) {
this.EndReportTypes(result);
return null;
}
private void OnReportTypesCompleted(object state) {
if ((this.ReportTypesCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
this.ReportTypesCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
}
}
public void ReportTypesAsync(BS.Shared.DataContracts.ReportTypes pType) {
this.ReportTypesAsync(pType, null);
}
public void ReportTypesAsync(BS.Shared.DataContracts.ReportTypes pType, object userState) {
if ((this.onBeginReportTypesDelegate == null)) {
this.onBeginReportTypesDelegate = new BeginOperationDelegate(this.OnBeginReportTypes);
}
if ((this.onEndReportTypesDelegate == null)) {
this.onEndReportTypesDelegate = new EndOperationDelegate(this.OnEndReportTypes);
}
if ((this.onReportTypesCompletedDelegate == null)) {
this.onReportTypesCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnReportTypesCompleted);
}
base.InvokeAsync(this.onBeginReportTypesDelegate, new object[] {
pType}, this.onEndReportTypesDelegate, this.onReportTypesCompletedDelegate, userState);
}
}
}

View File

@@ -1,40 +0,0 @@
<?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="139a2597-cb42-49e0-94f2-6d8712558a0a" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
<ClientOptions>
<GenerateAsynchronousMethods>true</GenerateAsynchronousMethods>
<EnableDataBinding>true</EnableDataBinding>
<ExcludedTypes />
<ImportXmlTypes>false</ImportXmlTypes>
<GenerateInternalTypes>false</GenerateInternalTypes>
<GenerateMessageContracts>false</GenerateMessageContracts>
<NamespaceMappings />
<CollectionMappings>
<CollectionMapping TypeName="System.Collections.Generic.List`1" Category="List" />
</CollectionMappings>
<GenerateSerializableTypes>true</GenerateSerializableTypes>
<Serializer>Auto</Serializer>
<UseSerializerForFaults>true</UseSerializerForFaults>
<ReferenceAllAssemblies>true</ReferenceAllAssemblies>
<ReferencedAssemblies />
<ReferencedDataContractTypes />
<ServiceContractMappings />
</ClientOptions>
<MetadataSources>
<MetadataSource Address="http://localhost/Host/QueryService.svc" Protocol="http" SourceId="1" />
</MetadataSources>
<Metadata>
<MetadataFile FileName="QueryService6.xsd" MetadataType="Schema" ID="6b889ba6-4b3d-464d-9e3e-9ae6cf862b65" SourceId="1" SourceUrl="http://bib-pc3/Host/QueryService.svc?xsd=xsd4" />
<MetadataFile FileName="QueryService7.xsd" MetadataType="Schema" ID="ed65de4a-5130-486c-a40e-42b1dd5eeb58" SourceId="1" SourceUrl="http://bib-pc3/Host/QueryService.svc?xsd=xsd6" />
<MetadataFile FileName="QueryService1.disco" MetadataType="Disco" ID="4a7a2a45-c6c0-487c-bd19-9e97c207e9d5" SourceId="1" SourceUrl="http://bib-pc3/Host/QueryService.svc?disco" />
<MetadataFile FileName="QueryServiceImp1.wsdl" MetadataType="Wsdl" ID="08958428-a7c5-4b48-bef5-7fe3bba4f790" SourceId="1" SourceUrl="http://bib-pc3/Host/QueryService.svc?wsdl" />
<MetadataFile FileName="QueryService8.xsd" MetadataType="Schema" ID="2f9ea708-d1b2-400f-9a89-f47db1448ede" SourceId="1" SourceUrl="http://bib-pc3/Host/QueryService.svc?xsd=xsd5" />
<MetadataFile FileName="QueryService9.xsd" MetadataType="Schema" ID="7a5130b7-46fd-4145-a837-f9c58f707401" SourceId="1" SourceUrl="http://bib-pc3/Host/QueryService.svc?xsd=xsd2" />
<MetadataFile FileName="QueryService10.xsd" MetadataType="Schema" ID="2d4689aa-1b4a-4c56-ae97-256297665444" SourceId="1" SourceUrl="http://bib-pc3/Host/QueryService.svc?xsd=xsd3" />
<MetadataFile FileName="QueryService11.xsd" MetadataType="Schema" ID="55b8a910-a460-48e8-b307-e462db20d242" SourceId="1" SourceUrl="http://bib-pc3/Host/QueryService.svc?xsd=xsd0" />
<MetadataFile FileName="QueryService12.xsd" MetadataType="Schema" ID="2190e187-1f4b-4383-9a0b-34234c68938a" SourceId="1" SourceUrl="http://bib-pc3/Host/QueryService.svc?xsd=xsd1" />
</Metadata>
<Extensions>
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
</Extensions>
</ReferenceGroup>

View File

@@ -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:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data name=&quot;QueryServiceEndpoint1&quot; /&gt;" bindingType="basicHttpBinding" name="QueryServiceEndpoint1" />
</bindings>
<endpoints>
<endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://bib-pc3/Host/QueryService.svc&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;QueryServiceEndpoint1&quot; contract=&quot;QueryService.IQueryService&quot; name=&quot;QueryServiceEndpoint1&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://bib-pc3/Host/QueryService.svc&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;QueryServiceEndpoint1&quot; contract=&quot;QueryService.IQueryService&quot; name=&quot;QueryServiceEndpoint1&quot; /&gt;" contractName="QueryService.IQueryService" name="QueryServiceEndpoint1" />
</endpoints>
</configurationSnapshot>

View File

@@ -1,201 +0,0 @@
<?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="c07rOlPQnOi272Q2LeTIOw5Y+Cw=">
<bindingConfigurations>
<bindingConfiguration bindingType="basicHttpBinding" name="QueryServiceEndpoint1">
<properties>
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>QueryServiceEndpoint1</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>(Auflistung)</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="QueryServiceEndpoint1" contract="QueryService.IQueryService" bindingType="basicHttpBinding" address="http://bib-pc3/Host/QueryService.svc" bindingConfiguration="QueryServiceEndpoint1">
<properties>
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>http://bib-pc3/Host/QueryService.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>QueryServiceEndpoint1</serializedValue>
</property>
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<serializedValue>QueryService.IQueryService</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>QueryServiceEndpoint1</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>

File diff suppressed because it is too large Load Diff

View File

@@ -6,7 +6,6 @@ using System.Threading;
using System.Windows;
using BeWo.Multitenancy;
using BeWo.QueryService;
using BeWo.Security;
using BS.Shared;

View File

@@ -1,2 +1,2 @@
svcutil.exe /noConfig /edb /n:*,BeWo.ServiceProxy /out:ServiceProxy\Generated.cs /ct:System.Collections.Generic.List`1 /r:..\Shared\bin\Debug\BS.Shared.dll http://localhost:3777/Host/EmployeeService.svc?wsdl http://localhost:3777/Host/CustomerService.svc?wsdl http://localhost:3777/Host/UserService.svc?wsdl http://localhost:3777/Host/StreamingService.svc?wsdl http://localhost:3777/Host/ValueListService.svc?wsdl http://localhost:3777/Host/DownloadService.svc?wsdl http://localhost:3777/Host/ResourceService.svc?wsdl http://localhost:3777/Host/OperationsService.svc?wsdl http://localhost:3777/Host/AnalysisService.svc?wsdl http://localhost:3777/Host/MailService.svc?wsdl http://localhost:3777/Host/AccountingService.svc?wsdl http://localhost:3777/Host/ReportService.svc?wsdl
svcutil.exe /noConfig /edb /n:*,BeWo.ServiceProxy /out:ServiceProxy\Generated.cs /ct:System.Collections.Generic.List`1 /r:..\Shared\bin\Debug\BS.Shared.dll http://localhost:3777/Host/EmployeeService.svc?wsdl http://localhost:3777/Host/CustomerService.svc?wsdl http://localhost:3777/Host/UserService.svc?wsdl http://localhost:3777/Host/StreamingService.svc?wsdl http://localhost:3777/Host/ValueListService.svc?wsdl http://localhost:3777/Host/DownloadService.svc?wsdl http://localhost:3777/Host/ResourceService.svc?wsdl http://localhost:3777/Host/OperationsService.svc?wsdl http://localhost:3777/Host/AnalysisService.svc?wsdl http://localhost:3777/Host/MailService.svc?wsdl http://localhost:3777/Host/AccountingService.svc?wsdl http://localhost:3777/Host/ReportService.svc?wsdl http://localhost:3777/Host/QueryService.svc?wsdl
CMD /K

View File

@@ -637,9 +637,11 @@ namespace BeWo.View.Detail.Report
return null;
},
r => this.Dispatch(delegate
rstr => this.Dispatch(delegate
{
datagrid_result.ItemsSource = r;
DataTable table = BS.Shared.Core.Utils.XMLDeserializeFromString<DataTable>(rstr);
datagrid_result.ItemsSource = table;
SetOidColumnsInvisible();
foreach (
@@ -651,9 +653,9 @@ namespace BeWo.View.Detail.Report
column.CellTemplate = BuildLinkTemplate(column.HeaderCaption.ToString());
}
if (r == null || r.Columns.Count <= 0) return;
if (table == null || table.Columns.Count <= 0) return;
summaryItem.FieldName = r.Columns[0].ColumnName;
summaryItem.FieldName = table.Columns[0].ColumnName;
summaryItem.DisplayFormat = "anz: {0}";
}));
}
@@ -907,9 +909,11 @@ namespace BeWo.View.Detail.Report
if (lQuery != null)
{
var dt = datagrid_result.ItemsSource as DataTable;
var dtStr = BS.Shared.Core.Utils.XMLSerializeToString(dt);
ServiceFacade.DoQueryServiceSync(
q =>
q.PrepareQueryReport(dt, BeWoApp.Tenant + "queryeoid" + BeWoApp.LoggedOnUser.Employee.EmployeeOid));
q.PrepareQueryReport(dtStr, BeWoApp.Tenant + "queryeoid" + BeWoApp.LoggedOnUser.Employee.EmployeeOid));
string navigateUri = linkPdfExport.NavigateUri.ToString();
@@ -948,10 +952,11 @@ namespace BeWo.View.Detail.Report
}
else
{
DataTable dt = ServiceFacade.DoQueryServiceSync(s => s.ExecuteQuery(lQuery.Oid, parameterList));
String dtStr = ServiceFacade.DoQueryServiceSync(s => s.ExecuteQuery(lQuery.Oid, parameterList));
ServiceFacade.DoQueryServiceSync(
q =>
q.PrepareQueryReport(dt, BeWoApp.Tenant + "queryeoid" + BeWoApp.LoggedOnUser.Employee.EmployeeOid));
q.PrepareQueryReport(dtStr, BeWoApp.Tenant + "queryeoid" + BeWoApp.LoggedOnUser.Employee.EmployeeOid));
string navigateUri = linkPdfExport.NavigateUri.ToString();
navigateUri = BeWoUtils.RemoveAuthenticationInfoFromUri(navigateUri);

View File

@@ -15,7 +15,6 @@ using BeWo.Core;
using System.Windows.Documents;
using BeWo.Core.Service;
using System.Windows.Threading;
using BeWo.QueryService;
using BeWo.View.Detail;
using BeWo.View.Master;
using BeWo.View.Report.FLSReport;

View File

@@ -16,7 +16,6 @@ using BeWo.Core;
using System.Windows.Documents;
using BeWo.Core.Service;
using System.Windows.Threading;
using BeWo.QueryService;
using BeWo.View.Detail;
using BeWo.View.Master;
using BeWo.View.Report.FLSReport;

View File

@@ -37,12 +37,11 @@
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
<binding name="QueryServiceEndpoint1" />
</basicHttpBinding>
</bindings>
<client>
<endpoint binding="basicHttpBinding" bindingConfiguration="QueryServiceEndpoint"
contract="QueryService.IQueryService" name="QueryServiceEndpoint" />
contract="BeWo.ServiceProxy.IQueryService" name="QueryServiceEndpoint" />
<endpoint binding="basicHttpBinding" bindingConfiguration="BeWoStreamingEndpoint"
contract="BeWo.ServiceProxy.IStreamingService" name="StreamingServiceEndpoint" />
<endpoint binding="basicHttpBinding" bindingConfiguration="BeWoBasicEndpoint"
@@ -71,9 +70,6 @@
contract="BeWo.ServiceProxy.IMailService" name="MailServiceEndpoint" />
<endpoint binding="basicHttpBinding" bindingConfiguration="BeWoBasicEndpoint"
contract="BeWo.ServiceProxy.IReportService" name="ReportServiceEndpoint" />
<endpoint address="http://bib-pc3/Host/QueryService.svc" binding="basicHttpBinding"
bindingConfiguration="QueryServiceEndpoint1" contract="QueryService.IQueryService"
name="QueryServiceEndpoint1" />
</client>
<behaviors>
<endpointBehaviors>

View File

@@ -7,7 +7,7 @@
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties>
<StartPageUrl>Login/demo</StartPageUrl>
<StartPageUrl>Chat/LoginToken?benutzername=cb&amp;passwort=bewo&amp;kundennummer=4368658435&amp;typ=users</StartPageUrl>
<StartAction>SpecificPage</StartAction>
<AspNetDebugging>True</AspNetDebugging>
<SilverlightDebugging>False</SilverlightDebugging>

View File

@@ -102,6 +102,10 @@ namespace BeWoPlanerMobil.Service
private static bool ShouldConfigureHibernateSession(HttpApplication context)
{
if (context.Request.FilePath.IndexOf("/Chat/") >= 0)
{
return false;
}
return String.IsNullOrEmpty(context.Request.FilePath) || context.Request.FilePath.IndexOf("Admin.aspx") < 0;
}

View File

@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ApiBerlin</RootNamespace>
<AssemblyName>3984525482_Reports</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
@@ -21,6 +21,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -29,6 +30,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="DevExpress.Data.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />

View File

@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>BeWoGuen</RootNamespace>
<AssemblyName>6251348980_Reports</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
@@ -21,6 +21,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -29,6 +30,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="DevExpress.Data.v13.2, Version=13.2.13.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />

View File

@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>BeWoViersen</RootNamespace>
<AssemblyName>8423627748_Reports</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
@@ -21,6 +21,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -29,6 +30,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="DevExpress.Data.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />

View File

@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>BetreuwoWesel</RootNamespace>
<AssemblyName>3623837005_Reports</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
@@ -21,6 +21,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -29,6 +30,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="BS.Shared">

View File

@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>BundBBetreutesWohnen</RootNamespace>
<AssemblyName>7852961459_Reports</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
@@ -21,6 +21,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -29,6 +30,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="BS.Shared, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">

View File

@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>DiakonieNeustadtAisch</RootNamespace>
<AssemblyName>6149463003_Reports</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
@@ -21,6 +21,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -29,6 +30,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />

View File

@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Findus</RootNamespace>
<AssemblyName>5712358157_Reports</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
@@ -21,6 +21,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -29,6 +30,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="DevExpress.Data.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />

View File

@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>HilfeDaheim2</RootNamespace>
<AssemblyName>6601628227_Reports</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
@@ -21,6 +21,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -29,6 +30,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="DevExpress.Data.v13.2, Version=13.2.13.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
@@ -48,29 +50,41 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Finanzauswertung.cs" />
<Compile Include="Finanzauswertung.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Finanzauswertung.designer.cs">
<DependentUpon>Finanzauswertung.cs</DependentUpon>
</Compile>
<Compile Include="Forderungen.cs" />
<Compile Include="Forderungen.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Forderungen.designer.cs">
<DependentUpon>Forderungen.cs</DependentUpon>
</Compile>
<Compile Include="InvoiceCustomerReport.cs" />
<Compile Include="InvoiceCustomerReport.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="InvoiceCustomerReport.Designer.cs">
<DependentUpon>InvoiceCustomerReport.cs</DependentUpon>
</Compile>
<Compile Include="Invoicing\CustomInvoiceNumberGenerator.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ServiceInvoiceReport.cs" />
<Compile Include="ServiceInvoiceReport.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="ServiceInvoiceReport.Designer.cs">
<DependentUpon>ServiceInvoiceReport.cs</DependentUpon>
</Compile>
<Compile Include="ServicesOverviewReport.cs" />
<Compile Include="ServicesOverviewReport.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="ServicesOverviewReport.Designer.cs">
<DependentUpon>ServicesOverviewReport.cs</DependentUpon>
</Compile>
<Compile Include="SettlementReport.cs" />
<Compile Include="SettlementReport.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="SettlementReport.Designer.cs">
<DependentUpon>SettlementReport.cs</DependentUpon>
</Compile>

View File

@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>HphBersenbrueckAph</RootNamespace>
<AssemblyName>1609455614_Reports</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
@@ -21,6 +21,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -29,6 +30,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="DevExpress.Data.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />

View File

@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>HphBersenbrueckFreizeitUndReisen</RootNamespace>
<AssemblyName>4525013596_Reports</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
@@ -21,6 +21,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -29,6 +30,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="DevExpress.Data.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />

View File

@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>IbpEingliederungshilfe</RootNamespace>
<AssemblyName>4011431596_Reports</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
@@ -21,6 +21,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -29,6 +30,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="DevExpress.Data.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />

View File

@@ -1 +1,2 @@
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v13.2, Version=13.2.13.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a

View File

@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>LebenshilfeKoblenz</RootNamespace>
<AssemblyName>1218057423_Reports</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
@@ -21,6 +21,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -29,6 +30,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="DevExpress.Data.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />

View File

@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Monvita</RootNamespace>
<AssemblyName>1992495802_Reports</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
@@ -21,6 +21,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -29,6 +30,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="DevExpress.Data.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />

View File

@@ -6,7 +6,6 @@ using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Service.MessageContracts;
using BeWo.Service.Plugins;
using DevExpress.Web.ASPxEditors.Internal;
using DevExpress.XtraPrinting.Native;
namespace PsychosozialerTraegervereinReports.Import

View File

@@ -1 +1,2 @@
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v13.2, Version=13.2.13.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a

View File

@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Salem</RootNamespace>
<AssemblyName>4704264986_Reports</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
@@ -21,6 +21,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -29,6 +30,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="DevExpress.Data.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />

View File

@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>VkmAachenSbd</RootNamespace>
<AssemblyName>6548202677_Reports</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
@@ -21,6 +21,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -29,6 +30,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="DevExpress.Data.v13.2, Version=13.2.13.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />

View File

@@ -148,7 +148,7 @@ namespace BeWo.Service.Plugins
//t = "7381352241"; // Ressource e.V.
//t = "3607551608"; // Betreuungsbüro Scholz
//t = "3104936392"; // B.A.P. Bielefelder Ambulante Pflege
t = "1106039294"; // Hph Bersenbrück ATZ
//t = "1106039294"; // Hph Bersenbrück ATZ
//t = "5562845955"; // Praunheimer Werkstätten
//t = "4801617798"; // Severin
//t = "1172092025"; // Flingern

View File

@@ -12,7 +12,7 @@ namespace BeWo.Service.ServiceContracts
{
[FaultContract(typeof(BeWoFault))]
[OperationContract]
DataTable ExecuteQuery(long pQueryOid, List<QueryParamDC> parameter);
string ExecuteQuery(long pQueryOid, List<QueryParamDC> parameter);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
@@ -20,7 +20,7 @@ namespace BeWo.Service.ServiceContracts
[FaultContract(typeof(BeWoFault))]
[OperationContract]
string PrepareQueryReport(DataTable dataTable, string id);
string PrepareQueryReport(string dataTableJsonString, string id);
// To make the Client know the reporttypes so he can use it as paramter in report.aspx
[OperationContract]

View File

@@ -13,7 +13,7 @@ using BeWo.Service.ServiceContracts;
using BS.Shared;
using BS.Shared.Core;
using BS.Shared.DataContracts;
using Newtonsoft.Json;
using Utils = BeWo.Service.Core.Utils;
namespace BeWo.Service.ServiceImplementations
@@ -21,10 +21,11 @@ namespace BeWo.Service.ServiceImplementations
[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall, ConcurrencyMode = ConcurrencyMode.Single)]
public class QueryServiceImp : IQueryService
{
public DataTable ExecuteQuery(long pQueryOid, List<QueryParamDC> parameter)
public string ExecuteQuery(long pQueryOid, List<QueryParamDC> parameter)
{
try
{
DataTable table = null;
Query lQuery = DAOFactory.GenericDAO.LoadByID<Query>(pQueryOid);
string sql = lQuery.Sql;
@@ -35,9 +36,14 @@ namespace BeWo.Service.ServiceImplementations
sql = this.ReplaceQueryParameter(sql, parameter);
}
return DAOFactory.AdoDAO.ExecuteQuery(sql).Tables[0];
table = DAOFactory.AdoDAO.ExecuteQuery(sql).Tables[0];
}
return new DataTable("emptytable");
if (table == null)
{
table = new DataTable("emptytable");
}
var temp = BS.Shared.Core.Utils.XMLSerializeToString(table);
return temp;
}
catch (Exception e)
{
@@ -85,7 +91,7 @@ namespace BeWo.Service.ServiceImplementations
}
}
public string PrepareQueryReport(DataTable dataTable, string id)
public string PrepareQueryReport(string dataTableJsonString, string id)
{
try
{
@@ -94,7 +100,11 @@ namespace BeWo.Service.ServiceImplementations
var lDir = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, MultitenancyOperationContextExt.Current.Tenant + @"\temp");
var lPath = Path.Combine(lDir, lResult);
BS.Shared.Core.Utils.XMLSerialize(lPath, dataTable);
var table = BS.Shared.Core.Utils.XMLDeserializeFromString<DataTable>(dataTableJsonString);
BS.Shared.Core.Utils.XMLSerialize(lPath, table);
return lResult;
}