Beispiel #1
0
 public ResultStatus SetCompletionMessage(
     ExportImportTxns exportImportTxns,
     ExportImportTxns_Request request,
     out ExportImportTxns_Result result)
 {
     return(this.SetCompletionMessage(exportImportTxns, (ExportImportTxns_SetCompletionMessage_Parameters)null, request, out result));
 }
Beispiel #2
0
 public ResultStatus Load(
     ExportImportTxns exportImportTxns,
     ExportImportTxns_Request request,
     out ExportImportTxns_Result result)
 {
     return(this.Load(exportImportTxns, (ExportImportTxns_Parameters)null, request, out result));
 }
Beispiel #3
0
 public ResultStatus GetWIPMsgs(
     ExportImportTxns exportImportTxns,
     ExportImportTxns_Request request,
     out ExportImportTxns_Result result)
 {
     return(this.GetWIPMsgs(exportImportTxns, (ExportImportTxns_Parameters)null, request, out result));
 }
Beispiel #4
0
 public ResultStatus GetEnvironment(
     ExportImportTxns cdo,
     ExportImportTxns_Request request,
     out ExportImportTxns_Result result)
 {
     result = (ExportImportTxns_Result)null;
     try
     {
         return(((IExportImportTxnsService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #5
0
 public ResultStatus CommitTransaction(
     ExportImportTxns_Request request,
     out ExportImportTxns_Result result)
 {
     result = (ExportImportTxns_Result)null;
     try
     {
         ExportImportTxnsMethod[] methods = new ExportImportTxnsMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IExportImportTxnsService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #6
0
        public ResultStatus ExecuteTransaction(
            ExportImportTxns cdo,
            ExportImportTxns_Request request,
            out ExportImportTxns_Result result)
        {
            result = (ExportImportTxns_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IExportImportTxnsService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ExportImportTxnsMethod(cdo, ExportImportTxnsMethods.ExecuteTransaction, (ExportImportTxns_Parameters)null));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(ExecuteTransaction), res, (DCObject)cdo, (Parameters)null, (Request)request, (Result)result);
            }
            return(res);
        }
Beispiel #7
0
        public ResultStatus Load(
            ExportImportTxns exportImportTxns,
            ExportImportTxns_Parameters parameters,
            ExportImportTxns_Request request,
            out ExportImportTxns_Result result)
        {
            result = (ExportImportTxns_Result)null;
            this.OnBeforeCall(nameof(Load), (DCObject)exportImportTxns, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IExportImportTxnsService)this._Channel).Load(this._UserProfile, exportImportTxns, parameters, request, out result) : this.AddMethod((Method) new ExportImportTxnsMethod(exportImportTxns, ExportImportTxnsMethods.Load, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Load), res, (DCObject)exportImportTxns, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Beispiel #8
0
 public ResultStatus ExecuteTransaction(
     ExportImportTxns_Request request,
     out ExportImportTxns_Result result)
 {
     return(this.ExecuteTransaction((ExportImportTxns)null, request, out result));
 }
Beispiel #9
0
 public ResultStatus GetEnvironment(
     ExportImportTxns_Request request,
     out ExportImportTxns_Result result)
 {
     return(this.GetEnvironment((ExportImportTxns)null, request, out result));
 }