1 | //------------------------------------------------------------------------------
|
---|
2 | // <auto-generated>
|
---|
3 | // This code was generated by a tool.
|
---|
4 | // Runtime Version:4.0.30319.1
|
---|
5 | //
|
---|
6 | // Changes to this file may cause incorrect behavior and will be lost if
|
---|
7 | // the code is regenerated.
|
---|
8 | // </auto-generated>
|
---|
9 | //------------------------------------------------------------------------------
|
---|
10 |
|
---|
11 | namespace HeuristicLab.OKB.Cockpit.Query.OKBQuery {
|
---|
12 | using System.Runtime.Serialization;
|
---|
13 | using System;
|
---|
14 |
|
---|
15 |
|
---|
16 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
17 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
---|
18 | [System.Runtime.Serialization.DataContractAttribute(Name="AttributeSelector", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB")]
|
---|
19 | [System.SerializableAttribute()]
|
---|
20 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<HeuristicLab.OKB.Cockpit.Query.OKBQuery.AttributeSelector>))]
|
---|
21 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<object>))]
|
---|
22 | public partial class AttributeSelector : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
|
---|
23 |
|
---|
24 | [System.NonSerializedAttribute()]
|
---|
25 | private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
|
---|
26 |
|
---|
27 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
28 | private System.Collections.Generic.List<object> AllowedValuesField;
|
---|
29 |
|
---|
30 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
31 | private string DataTypeNameField;
|
---|
32 |
|
---|
33 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
34 | private string FieldNameField;
|
---|
35 |
|
---|
36 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
37 | private bool IsHiddenField;
|
---|
38 |
|
---|
39 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
40 | private object MaxValueField;
|
---|
41 |
|
---|
42 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
43 | private object MinValueField;
|
---|
44 |
|
---|
45 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
46 | private string TableNameField;
|
---|
47 |
|
---|
48 | [global::System.ComponentModel.BrowsableAttribute(false)]
|
---|
49 | public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
|
---|
50 | get {
|
---|
51 | return this.extensionDataField;
|
---|
52 | }
|
---|
53 | set {
|
---|
54 | this.extensionDataField = value;
|
---|
55 | }
|
---|
56 | }
|
---|
57 |
|
---|
58 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
59 | public System.Collections.Generic.List<object> AllowedValues {
|
---|
60 | get {
|
---|
61 | return this.AllowedValuesField;
|
---|
62 | }
|
---|
63 | set {
|
---|
64 | if ((object.ReferenceEquals(this.AllowedValuesField, value) != true)) {
|
---|
65 | this.AllowedValuesField = value;
|
---|
66 | this.RaisePropertyChanged("AllowedValues");
|
---|
67 | }
|
---|
68 | }
|
---|
69 | }
|
---|
70 |
|
---|
71 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
72 | public string DataTypeName {
|
---|
73 | get {
|
---|
74 | return this.DataTypeNameField;
|
---|
75 | }
|
---|
76 | set {
|
---|
77 | if ((object.ReferenceEquals(this.DataTypeNameField, value) != true)) {
|
---|
78 | this.DataTypeNameField = value;
|
---|
79 | this.RaisePropertyChanged("DataTypeName");
|
---|
80 | }
|
---|
81 | }
|
---|
82 | }
|
---|
83 |
|
---|
84 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
85 | public string FieldName {
|
---|
86 | get {
|
---|
87 | return this.FieldNameField;
|
---|
88 | }
|
---|
89 | set {
|
---|
90 | if ((object.ReferenceEquals(this.FieldNameField, value) != true)) {
|
---|
91 | this.FieldNameField = value;
|
---|
92 | this.RaisePropertyChanged("FieldName");
|
---|
93 | }
|
---|
94 | }
|
---|
95 | }
|
---|
96 |
|
---|
97 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
98 | public bool IsHidden {
|
---|
99 | get {
|
---|
100 | return this.IsHiddenField;
|
---|
101 | }
|
---|
102 | set {
|
---|
103 | if ((this.IsHiddenField.Equals(value) != true)) {
|
---|
104 | this.IsHiddenField = value;
|
---|
105 | this.RaisePropertyChanged("IsHidden");
|
---|
106 | }
|
---|
107 | }
|
---|
108 | }
|
---|
109 |
|
---|
110 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
111 | public object MaxValue {
|
---|
112 | get {
|
---|
113 | return this.MaxValueField;
|
---|
114 | }
|
---|
115 | set {
|
---|
116 | if ((object.ReferenceEquals(this.MaxValueField, value) != true)) {
|
---|
117 | this.MaxValueField = value;
|
---|
118 | this.RaisePropertyChanged("MaxValue");
|
---|
119 | }
|
---|
120 | }
|
---|
121 | }
|
---|
122 |
|
---|
123 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
124 | public object MinValue {
|
---|
125 | get {
|
---|
126 | return this.MinValueField;
|
---|
127 | }
|
---|
128 | set {
|
---|
129 | if ((object.ReferenceEquals(this.MinValueField, value) != true)) {
|
---|
130 | this.MinValueField = value;
|
---|
131 | this.RaisePropertyChanged("MinValue");
|
---|
132 | }
|
---|
133 | }
|
---|
134 | }
|
---|
135 |
|
---|
136 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
137 | public string TableName {
|
---|
138 | get {
|
---|
139 | return this.TableNameField;
|
---|
140 | }
|
---|
141 | set {
|
---|
142 | if ((object.ReferenceEquals(this.TableNameField, value) != true)) {
|
---|
143 | this.TableNameField = value;
|
---|
144 | this.RaisePropertyChanged("TableName");
|
---|
145 | }
|
---|
146 | }
|
---|
147 | }
|
---|
148 |
|
---|
149 | public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
---|
150 |
|
---|
151 | protected void RaisePropertyChanged(string propertyName) {
|
---|
152 | System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
---|
153 | if ((propertyChanged != null)) {
|
---|
154 | propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
---|
155 | }
|
---|
156 | }
|
---|
157 | }
|
---|
158 |
|
---|
159 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
160 | [System.ServiceModel.ServiceContractAttribute(ConfigurationName="OKBQuery.IQueryService", SessionMode=System.ServiceModel.SessionMode.Required)]
|
---|
161 | public interface IQueryService {
|
---|
162 |
|
---|
163 | [System.ServiceModel.OperationContractAttribute(IsTerminating=true, Action="http://tempuri.org/IQueryService/GetAllAttributeSelectors", ReplyAction="http://tempuri.org/IQueryService/GetAllAttributeSelectorsResponse")]
|
---|
164 | System.Collections.Generic.List<HeuristicLab.OKB.Cockpit.Query.OKBQuery.AttributeSelector> GetAllAttributeSelectors();
|
---|
165 |
|
---|
166 | [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IQueryService/PrepareQuery", ReplyAction="http://tempuri.org/IQueryService/PrepareQueryResponse")]
|
---|
167 | System.Data.DataTable PrepareQuery(System.Collections.Generic.List<HeuristicLab.OKB.Cockpit.Query.OKBQuery.AttributeSelector> selectors);
|
---|
168 |
|
---|
169 | [System.ServiceModel.OperationContractAttribute(IsInitiating=false, Action="http://tempuri.org/IQueryService/GetCount", ReplyAction="http://tempuri.org/IQueryService/GetCountResponse")]
|
---|
170 | int GetCount();
|
---|
171 |
|
---|
172 | [System.ServiceModel.OperationContractAttribute(IsInitiating=false, Action="http://tempuri.org/IQueryService/GetNextRows", ReplyAction="http://tempuri.org/IQueryService/GetNextRowsResponse")]
|
---|
173 | System.Data.DataTable GetNextRows(int nRows);
|
---|
174 |
|
---|
175 | [System.ServiceModel.OperationContractAttribute(IsTerminating=true, IsInitiating=false, Action="http://tempuri.org/IQueryService/Terminate", ReplyAction="http://tempuri.org/IQueryService/TerminateResponse")]
|
---|
176 | void Terminate();
|
---|
177 | }
|
---|
178 |
|
---|
179 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
180 | public interface IQueryServiceChannel : HeuristicLab.OKB.Cockpit.Query.OKBQuery.IQueryService, System.ServiceModel.IClientChannel {
|
---|
181 | }
|
---|
182 |
|
---|
183 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
184 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
185 | public partial class QueryServiceClient : System.ServiceModel.ClientBase<HeuristicLab.OKB.Cockpit.Query.OKBQuery.IQueryService>, HeuristicLab.OKB.Cockpit.Query.OKBQuery.IQueryService {
|
---|
186 |
|
---|
187 | public QueryServiceClient() {
|
---|
188 | }
|
---|
189 |
|
---|
190 | public QueryServiceClient(string endpointConfigurationName) :
|
---|
191 | base(endpointConfigurationName) {
|
---|
192 | }
|
---|
193 |
|
---|
194 | public QueryServiceClient(string endpointConfigurationName, string remoteAddress) :
|
---|
195 | base(endpointConfigurationName, remoteAddress) {
|
---|
196 | }
|
---|
197 |
|
---|
198 | public QueryServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
199 | base(endpointConfigurationName, remoteAddress) {
|
---|
200 | }
|
---|
201 |
|
---|
202 | public QueryServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
203 | base(binding, remoteAddress) {
|
---|
204 | }
|
---|
205 |
|
---|
206 | public System.Collections.Generic.List<HeuristicLab.OKB.Cockpit.Query.OKBQuery.AttributeSelector> GetAllAttributeSelectors() {
|
---|
207 | return base.Channel.GetAllAttributeSelectors();
|
---|
208 | }
|
---|
209 |
|
---|
210 | public System.Data.DataTable PrepareQuery(System.Collections.Generic.List<HeuristicLab.OKB.Cockpit.Query.OKBQuery.AttributeSelector> selectors) {
|
---|
211 | return base.Channel.PrepareQuery(selectors);
|
---|
212 | }
|
---|
213 |
|
---|
214 | public int GetCount() {
|
---|
215 | return base.Channel.GetCount();
|
---|
216 | }
|
---|
217 |
|
---|
218 | public System.Data.DataTable GetNextRows(int nRows) {
|
---|
219 | return base.Channel.GetNextRows(nRows);
|
---|
220 | }
|
---|
221 |
|
---|
222 | public void Terminate() {
|
---|
223 | base.Channel.Terminate();
|
---|
224 | }
|
---|
225 | }
|
---|
226 | }
|
---|