Esempio n. 1
0
    public Result RunSql(string sql)
    {
        RunSqlRequest  request  = new RunSqlRequest(sql);
        RunSqlResponse response = this.RunSql(request);

        return(response.RunSqlResult);
    }
Esempio n. 2
0
    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);
    }