public void RemoveDepartureNode(string CommPartnerId, string TransactionId, RemoveDepartureNodeDoc aRemoveDepartureNodeDoc)
 {
     this.Invoke("RemoveDepartureNode", new object[] {
         CommPartnerId,
         TransactionId,
         aRemoveDepartureNodeDoc
     });
     return;
 }
示例#2
0
        public ArrayList InternalProcess(System.String MsgOutId)
        {
            ArrayList aRemoveDepartureNodeDocList = new ArrayList();

            IDataReader r = db.ExecuteReader(
                "select" +
                " MSG_OUT_REMOVE_DEP_NODE.DEPARTUREIDENTITY" +
                ",MSG_OUT_REMOVE_DEP_NODE.SEQNUM" +
                " from   MSG_OUT_REMOVE_DEP_NODE" +
                " where  MSG_OUT_REMOVE_DEP_NODE.MSG_OUT_ID = '" + MsgOutId + "'");

            while (r.Read())
            {
                RemoveDepartureNodeDoc aRemoveDepartureNodeDoc = new RemoveDepartureNodeDoc();

                aRemoveDepartureNodeDoc.OPCODE = "1";

                if (r.IsDBNull(0))
                {
                    aRemoveDepartureNodeDoc.DepartureIdentity = null;
                }
                else
                {
                    aRemoveDepartureNodeDoc.DepartureIdentity = r.GetString(0);
                }

                if (r.IsDBNull(1))
                {
                    aRemoveDepartureNodeDoc.SEQNUM = null;
                }
                else
                {
                    aRemoveDepartureNodeDoc.SEQNUM = r.GetInt32(1);
                }

                aRemoveDepartureNodeDocList.Add(aRemoveDepartureNodeDoc);
            }

            r.Close();


            return(aRemoveDepartureNodeDocList);
        }
 public System.IAsyncResult BeginRemoveDepartureNode(string CommPartnerId, string TransactionId, RemoveDepartureNodeDoc aRemoveDepartureNodeDoc, System.AsyncCallback callback, object asyncState)
 {
     return(this.BeginInvoke("RemoveDepartureNode", new object[] {
         CommPartnerId,
         TransactionId,
         aRemoveDepartureNodeDoc
     }, callback, asyncState));
 }