Exemple #1
0
 public ResultStatus Load(
     V4_InstanceSecurity v4_InstanceSecurity,
     V4_InstanceSecurity_Request request,
     out V4_InstanceSecurity_Result result)
 {
     return(this.Load(v4_InstanceSecurity, (V4_InstanceSecurity_Parameters)null, request, out result));
 }
Exemple #2
0
 public ResultStatus GetEnvironment(
     V4_InstanceSecurity cdo,
     V4_InstanceSecurity_Request request,
     out V4_InstanceSecurity_Result result)
 {
     result = (V4_InstanceSecurity_Result)null;
     try
     {
         return(((IV4_InstanceSecurityService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #3
0
 public ResultStatus CommitTransaction(
     V4_InstanceSecurity_Request request,
     out V4_InstanceSecurity_Result result)
 {
     result = (V4_InstanceSecurity_Result)null;
     try
     {
         V4_InstanceSecurityMethod[] methods = new V4_InstanceSecurityMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IV4_InstanceSecurityService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #4
0
        public ResultStatus ExecuteTransaction(
            V4_InstanceSecurity cdo,
            V4_InstanceSecurity_Request request,
            out V4_InstanceSecurity_Result result)
        {
            result = (V4_InstanceSecurity_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IV4_InstanceSecurityService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new V4_InstanceSecurityMethod(cdo, V4_InstanceSecurityMethods.ExecuteTransaction, (V4_InstanceSecurity_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 Load(
            V4_InstanceSecurity v4_InstanceSecurity,
            V4_InstanceSecurity_Parameters parameters,
            V4_InstanceSecurity_Request request,
            out V4_InstanceSecurity_Result result)
        {
            result = (V4_InstanceSecurity_Result)null;
            this.OnBeforeCall(nameof(Load), (DCObject)v4_InstanceSecurity, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IV4_InstanceSecurityService)this._Channel).Load(this._UserProfile, v4_InstanceSecurity, parameters, request, out result) : this.AddMethod((Method) new V4_InstanceSecurityMethod(v4_InstanceSecurity, V4_InstanceSecurityMethods.Load, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Load), res, (DCObject)v4_InstanceSecurity, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Exemple #6
0
 public ResultStatus ExecuteTransaction(
     V4_InstanceSecurity_Request request,
     out V4_InstanceSecurity_Result result)
 {
     return(this.ExecuteTransaction((V4_InstanceSecurity)null, request, out result));
 }
Exemple #7
0
 public ResultStatus GetEnvironment(
     V4_InstanceSecurity_Request request,
     out V4_InstanceSecurity_Result result)
 {
     return(this.GetEnvironment((V4_InstanceSecurity)null, request, out result));
 }