//------------------------------------------------------------------------------ // // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.225 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut generiert wird. // //------------------------------------------------------------------------------ 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.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 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 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 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 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 Result { get { base.RaiseExceptionIfNecessary(); return ((System.Collections.Generic.List)(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 { 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 ExecuteQueryCompleted; public event System.EventHandler GetAllQueriesOfTypeCompleted; public event System.EventHandler PrepareQueryReportCompleted; public event System.EventHandler ReportTypesCompleted; public System.Data.DataTable ExecuteQuery(long pQueryOid, System.Collections.Generic.List parameter) { return base.Channel.ExecuteQuery(pQueryOid, parameter); } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] public System.IAsyncResult BeginExecuteQuery(long pQueryOid, System.Collections.Generic.List 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 parameter = ((System.Collections.Generic.List)(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 parameter) { this.ExecuteQueryAsync(pQueryOid, parameter, null); } public void ExecuteQueryAsync(long pQueryOid, System.Collections.Generic.List 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 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 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 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); } } }