/// <remarks/>
 public void deleteLinesAsync(CAdxCallContext callContext, string publicName, CAdxParamKeyValue[] objectKeys, string blocKey, string[] lineKeys, object userState) {
     if ((this.deleteLinesOperationCompleted == null)) {
         this.deleteLinesOperationCompleted = new System.Threading.SendOrPostCallback(this.OndeleteLinesOperationCompleted);
     }
     this.InvokeAsync("deleteLines", new object[] {
                 callContext,
                 publicName,
                 objectKeys,
                 blocKey,
                 lineKeys}, this.deleteLinesOperationCompleted, userState);
 }
 public CAdxResultXml deleteLines(CAdxCallContext callContext, string publicName, CAdxParamKeyValue[] objectKeys, string blocKey, string[] lineKeys) {
     object[] results = this.Invoke("deleteLines", new object[] {
                 callContext,
                 publicName,
                 objectKeys,
                 blocKey,
                 lineKeys});
     return ((CAdxResultXml)(results[0]));
 }
 /// <remarks/>
 public void deleteLinesAsync(CAdxCallContext callContext, string publicName, CAdxParamKeyValue[] objectKeys, string blocKey, string[] lineKeys) {
     this.deleteLinesAsync(callContext, publicName, objectKeys, blocKey, lineKeys, null);
 }
 /// <remarks/>
 public void actionObjectKeysAsync(CAdxCallContext callContext, string publicName, string actionCode, CAdxParamKeyValue[] objectKeys, object userState) {
     if ((this.actionObjectKeysOperationCompleted == null)) {
         this.actionObjectKeysOperationCompleted = new System.Threading.SendOrPostCallback(this.OnactionObjectKeysOperationCompleted);
     }
     this.InvokeAsync("actionObjectKeys", new object[] {
                 callContext,
                 publicName,
                 actionCode,
                 objectKeys}, this.actionObjectKeysOperationCompleted, userState);
 }
 /// <remarks/>
 public void insertLinesAsync(CAdxCallContext callContext, string publicName, CAdxParamKeyValue[] objectKeys, string blocKey, string lineKey, string lineXml) {
     this.insertLinesAsync(callContext, publicName, objectKeys, blocKey, lineKey, lineXml, null);
 }
 public CAdxResultXml read(CAdxCallContext callContext, string publicName, CAdxParamKeyValue[] objectKeys) {
     object[] results = this.Invoke("read", new object[] {
                 callContext,
                 publicName,
                 objectKeys});
     return ((CAdxResultXml)(results[0]));
 }
 /// <remarks/>
 public void actionObjectKeysAsync(CAdxCallContext callContext, string publicName, string actionCode, CAdxParamKeyValue[] objectKeys) {
     this.actionObjectKeysAsync(callContext, publicName, actionCode, objectKeys, null);
 }
 /// <remarks/>
 public void modifyAsync(CAdxCallContext callContext, string publicName, CAdxParamKeyValue[] objectKeys, string objectXml) {
     this.modifyAsync(callContext, publicName, objectKeys, objectXml, null);
 }
 /// <remarks/>
 public void modifyAsync(CAdxCallContext callContext, string publicName, CAdxParamKeyValue[] objectKeys, string objectXml, object userState) {
     if ((this.modifyOperationCompleted == null)) {
         this.modifyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnmodifyOperationCompleted);
     }
     this.InvokeAsync("modify", new object[] {
                 callContext,
                 publicName,
                 objectKeys,
                 objectXml}, this.modifyOperationCompleted, userState);
 }
 /// <remarks/>
 public void queryAsync(CAdxCallContext callContext, string publicName, CAdxParamKeyValue[] objectKeys, int listSize, object userState) {
     if ((this.queryOperationCompleted == null)) {
         this.queryOperationCompleted = new System.Threading.SendOrPostCallback(this.OnqueryOperationCompleted);
     }
     this.InvokeAsync("query", new object[] {
                 callContext,
                 publicName,
                 objectKeys,
                 listSize}, this.queryOperationCompleted, userState);
 }
 public CAdxResultXml modify(CAdxCallContext callContext, string publicName, CAdxParamKeyValue[] objectKeys, string objectXml) {
     object[] results = this.Invoke("modify", new object[] {
                 callContext,
                 publicName,
                 objectKeys,
                 objectXml});
     return ((CAdxResultXml)(results[0]));
 }
 /// <remarks/>
 public void queryAsync(CAdxCallContext callContext, string publicName, CAdxParamKeyValue[] objectKeys, int listSize) {
     this.queryAsync(callContext, publicName, objectKeys, listSize, null);
 }
 public CAdxResultXml query(CAdxCallContext callContext, string publicName, CAdxParamKeyValue[] objectKeys, int listSize) {
     object[] results = this.Invoke("query", new object[] {
                 callContext,
                 publicName,
                 objectKeys,
                 listSize});
     return ((CAdxResultXml)(results[0]));
 }
 /// <remarks/>
 public void readAsync(CAdxCallContext callContext, string publicName, CAdxParamKeyValue[] objectKeys) {
     this.readAsync(callContext, publicName, objectKeys, null);
 }
 private CAdxParamKeyValue CreateParamKeyValue(XmlNode leftListXmlNode, String[] keyValues, int i)
 {
     CAdxParamKeyValue paramKeyValue = new CAdxParamKeyValue();
     paramKeyValue.key = leftListXmlNode.ChildNodes[i].Attributes["NAM"].Value;
     // Clean up value string
     string value = keyValues[i].Replace("\r", string.Empty);
     value = value.Replace("\n", string.Empty);
     paramKeyValue.value = value;
     return paramKeyValue;
 }
 public CAdxResultXml actionObjectKeys(CAdxCallContext callContext, string publicName, string actionCode, CAdxParamKeyValue[] objectKeys) {
     object[] results = this.Invoke("actionObjectKeys", new object[] {
                 callContext,
                 publicName,
                 actionCode,
                 objectKeys});
     return ((CAdxResultXml)(results[0]));
 }
        private CAdxParamKeyValue[] GetCriteria(CAdxCallContext cAdxCallContext)
        {
            // Split Criteria string
            String[] keyValues = txtCriteria.Text.Split('\n');

            // Get left list keys
            XmlNode leftListNode = GetLeftListItems(cAdxCallContext);

            // SSHA Only supports upto 50 parameters
            CAdxParamKeyValue[] objectKeys = new CAdxParamKeyValue[keyValues.Length];

            if (leftListNode != null)
            {
                int keyIndex = 0;

                for (int i = 0; i < keyValues.Length; i++)
                {
                    if (String.IsNullOrEmpty(keyValues[i].Trim()) == false)
                    {
                        CAdxParamKeyValue paramKeyValue = CreateParamKeyValue(leftListNode, keyValues, i);
                        objectKeys[keyIndex] = paramKeyValue;
                        keyIndex++;
                    }
                }
            }

            return objectKeys;
        }
 private CAdxParamKeyValue CreateParamKeyValue(XmlNode leftListXmlNode, String[] keyValues, int i)
 {
     CAdxParamKeyValue paramKeyValue = new CAdxParamKeyValue();
     paramKeyValue.key = leftListXmlNode.ChildNodes[i].Attributes["NAM"].Value;
     paramKeyValue.value = keyValues[i];
     return paramKeyValue;
 }