Ejemplo n.º 1
0
        public void UpdateProcessStatus(IEnumerable <IWfProcess> processes)
        {
            using (TransactionScope scope = TransactionScopeFactory.Create(TransactionScopeOption.Required))
            {
                AppCommonInfoSettings.GetConfig().Operations.ForEach(op => op.UpdateProcessStatus(processes));

                scope.Complete();
            }
        }
Ejemplo n.º 2
0
        public void Update(AppCommonInfo aci, params string[] ignoredUpdateProperties)
        {
            using (TransactionScope scope = TransactionScopeFactory.Create(TransactionScopeOption.Required))
            {
                AppCommonInfoSettings.GetConfig().Operations.ForEach(op => op.Update(aci, ignoredUpdateProperties));

                scope.Complete();
            }
        }