コード例 #1
0
ファイル: ServiceBase.cs プロジェクト: niyeshiw/PDA
    public Result RunSqlSap(string sql)
    {
        RunSqlSapRequest  request  = new RunSqlSapRequest(sql);
        RunSqlSapResponse response = this.RunSqlSap(request);

        return(response.RunSqlSapResult);
    }
コード例 #2
0
ファイル: ServiceBase.cs プロジェクト: niyeshiw/PDA
    private RunSqlSapResponse RunSqlSap(RunSqlSapRequest request)
    {
        CFInvokeInfo info = new CFInvokeInfo();

        info.Action            = "http://tempuri.org/IServiceBase/RunSqlSap";
        info.RequestIsWrapped  = true;
        info.ReplyAction       = "http://tempuri.org/IServiceBase/RunSqlSapResponse";
        info.ResponseIsWrapped = true;
        RunSqlSapResponse retVal = base.Invoke <RunSqlSapRequest, RunSqlSapResponse>(info, request);

        return(retVal);
    }