Exemple #1
0
 public ResultStatus GetContainers(
     ContainerInquiry containerInquiry,
     ContainerInquiry_Request request,
     out ContainerInquiry_Result result)
 {
     return(this.GetContainers(containerInquiry, (ContainerInquiry_GetContainers_Parameters)null, request, out result));
 }
Exemple #2
0
 public ResultStatus GetEnvironment(
     ContainerInquiry cdo,
     ContainerInquiry_Request request,
     out ContainerInquiry_Result result)
 {
     result = (ContainerInquiry_Result)null;
     try
     {
         return(((IContainerInquiryService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #3
0
 public ResultStatus CommitTransaction(
     ContainerInquiry_Request request,
     out ContainerInquiry_Result result)
 {
     result = (ContainerInquiry_Result)null;
     try
     {
         ContainerInquiryMethod[] methods = new ContainerInquiryMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IContainerInquiryService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #4
0
        public ResultStatus ExecuteTransaction(
            ContainerInquiry cdo,
            ContainerInquiry_Request request,
            out ContainerInquiry_Result result)
        {
            result = (ContainerInquiry_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IContainerInquiryService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ContainerInquiryMethod(cdo, ContainerInquiryMethods.ExecuteTransaction, (ContainerInquiry_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);
        }
Exemple #5
0
        public ResultStatus GetChildContainers(
            ContainerInquiry containerInquiry,
            ContainerInquiry_GetChildContainers_Parameters parameters,
            ContainerInquiry_Request request,
            out ContainerInquiry_Result result)
        {
            result = (ContainerInquiry_Result)null;
            this.OnBeforeCall(nameof(GetChildContainers), (DCObject)containerInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IContainerInquiryService)this._Channel).GetChildContainers(this._UserProfile, containerInquiry, parameters, request, out result) : this.AddMethod((Method) new ContainerInquiryMethod(containerInquiry, ContainerInquiryMethods.GetChildContainers, (ContainerInquiry_Parameters)parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetChildContainers), res, (DCObject)containerInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Exemple #6
0
 public ResultStatus ExecuteTransaction(
     ContainerInquiry_Request request,
     out ContainerInquiry_Result result)
 {
     return(this.ExecuteTransaction((ContainerInquiry)null, request, out result));
 }
Exemple #7
0
 public ResultStatus GetEnvironment(
     ContainerInquiry_Request request,
     out ContainerInquiry_Result result)
 {
     return(this.GetEnvironment((ContainerInquiry)null, request, out result));
 }