private String ExceuteCreateSubscriptionQuery() { QueryClass lcQueryClass; lcQueryClass = new QueryClass(QueryClass.QueryType.SPRCreateSubscription); lcQueryClass.ReplaceDictionaryPlaceHolder(clAuthenticationBlock); lcQueryClass.ReplaceDictionaryPlaceHolder(clDataBlock); return(Convert.ToString(lcQueryClass.GetResult())); }
private int InsertOrderInfoRecord(OrderInfoRow paOrderInfoRow) { object lcResult; int lcOrderNo; QueryClass lcQuery; lcQuery = new QueryClass(QueryClass.QueryType.InsertOrderInfoRecord); lcQuery.ReplaceRowPlaceHolder(paOrderInfoRow.Row); if (((lcResult = lcQuery.GetResult()) != null) && ((lcOrderNo = Convert.ToInt32(lcResult)) > 0)) { return(lcOrderNo); } else { return(-1); } }