public Result RunSql(string sql) { RunSqlRequest request = new RunSqlRequest(sql); RunSqlResponse response = this.RunSql(request); return(response.RunSqlResult); }
private RunSqlResponse RunSql(RunSqlRequest request) { CFInvokeInfo info = new CFInvokeInfo(); info.Action = "http://tempuri.org/IServiceBase/RunSql"; info.RequestIsWrapped = true; info.ReplyAction = "http://tempuri.org/IServiceBase/RunSqlResponse"; info.ResponseIsWrapped = true; RunSqlResponse retVal = base.Invoke <RunSqlRequest, RunSqlResponse>(info, request); return(retVal); }