示例#1
0
        public override Guid Execute(out ErrorResultTO errors)
        {
            WebserviceExecution.InstanceOutputDefintions = InstanceOutputDefinition;
            var result = WebserviceExecution.Execute(out errors);

            return(result);
        }
示例#2
0
        public override Guid Execute(out ErrorResultTO errors, int update)
        {
            _webserviceExecution.InstanceInputDefinitions = InstanceInputDefinition;
            _webserviceExecution.InstanceOutputDefintions = InstanceOutputDefinition;
            var result = _webserviceExecution.Execute(out errors, update);

            return(result);
        }
示例#3
0
        public override Guid Execute(out ErrorResultTO errors)
        {
            // set the output definition ;)
            _pluginServiceExecution.InstanceOutputDefintions = InstanceOutputDefinition;

            var result = _pluginServiceExecution.Execute(out errors);

            return(result);
        }
        public override Guid Execute(out ErrorResultTO errors, int update)
        {
            errors = new ErrorResultTO();
            _databaseServiceExecution.BeforeExecution(errors);

            if (_databaseServiceExecution is DatabaseServiceExecution databaseServiceExecution)
            {
                databaseServiceExecution.InstanceInputDefinitions = InstanceInputDefinition;
                databaseServiceExecution.InstanceOutputDefintions = InstanceOutputDefinition;
            }

            var result = _databaseServiceExecution.Execute(out errors, update);

            _databaseServiceExecution.AfterExecution(errors);
            return(result);
        }
        public override Guid Execute(out ErrorResultTO errors)
        {
            errors = new ErrorResultTO();
            _databaseServiceExecution.BeforeExecution(errors);

            var databaseServiceExecution = _databaseServiceExecution as DatabaseServiceExecution;

            if (databaseServiceExecution != null)
            {
                databaseServiceExecution.InstanceOutputDefintions = InstanceOutputDefinition;
            }

            var result = _databaseServiceExecution.Execute(out errors);

            _databaseServiceExecution.AfterExecution(errors);
            return(result);
        }