public ResultStatus GetEnvironment( VoidProcessObject cdo, VoidProcessObject_Request request, out VoidProcessObject_Result result) { result = (VoidProcessObject_Result)null; try { return(((IVoidProcessObjectService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result)); } catch (Exception ex) { return(this.OnThrowException(ex)); } }
public ResultStatus CommitTransaction( VoidProcessObject_Request request, out VoidProcessObject_Result result) { result = (VoidProcessObject_Result)null; try { VoidProcessObjectMethod[] methods = new VoidProcessObjectMethod[this.GetMethodCount()]; this.CopyMethods((Method[])methods); return(((IVoidProcessObjectService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result)); } catch (Exception ex) { return(this.OnThrowException(ex)); } }
public ResultStatus ExecuteTransaction( VoidProcessObject cdo, VoidProcessObject_Request request, out VoidProcessObject_Result result) { result = (VoidProcessObject_Result)null; this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IVoidProcessObjectService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new VoidProcessObjectMethod(cdo, VoidProcessObjectMethods.ExecuteTransaction, (VoidProcessObject_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); }
public ResultStatus GetActions( VoidProcessObject voidProcessObject, VoidProcessObject_Parameters parameters, VoidProcessObject_Request request, out VoidProcessObject_Result result) { result = (VoidProcessObject_Result)null; this.OnBeforeCall(nameof(GetActions), (DCObject)voidProcessObject, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IVoidProcessObjectService)this._Channel).GetActions(this._UserProfile, voidProcessObject, parameters, request, out result) : this.AddMethod((Method) new VoidProcessObjectMethod(voidProcessObject, VoidProcessObjectMethods.GetActions, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(GetActions), res, (DCObject)voidProcessObject, (Parameters)parameters, (Request)request, (Result)result); } return(res); }
public ResultStatus ExecuteTransaction( VoidProcessObject_Request request, out VoidProcessObject_Result result) { return(this.ExecuteTransaction((VoidProcessObject)null, request, out result)); }
public ResultStatus GetEnvironment( VoidProcessObject_Request request, out VoidProcessObject_Result result) { return(this.GetEnvironment((VoidProcessObject)null, request, out result)); }