internal DataQuery( ClarifyDataAccessWS clarifyDataAccessWS, string objectName, string resultTableName ) { this.clarifyDataAccessWS = clarifyDataAccessWS; genericProtocol = new Protocol.QueryProtocol(); genericProtocol.ObjectName = objectName; genericProtocol.ResultTableName = resultTableName; }
public string Query(DataQuery[] dataQueryItems, bool includeSchema) { Protocol.QueryProtocol[] protocolGenerics = new Protocol.QueryProtocol[ dataQueryItems.Length ]; int i = 0; foreach( DataQuery generic in dataQueryItems ) { generic.QueryPreprocess(); protocolGenerics[i] = generic.Protocol; i++; } return this.genericSrvProtocol.Query( protocolGenerics, includeSchema ); }
/// <remarks/> public System.IAsyncResult BeginQuery(QueryProtocol[] generics, bool includeSchema, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("Query", new object[] { generics, includeSchema}, callback, asyncState); }
public string Query(QueryProtocol[] generics, bool includeSchema) { object[] results = this.Invoke("Query", new object[] { generics, includeSchema}); return ((string)(results[0])); }