Exemplo 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();
            }
        }
Exemplo 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();
            }
        }
		public static AppCommonInfoSettings GetConfig()
		{
			AppCommonInfoSettings result =
				(AppCommonInfoSettings)ConfigurationBroker.GetSection("appCommonInfoSettings");

			if (result == null)
				result = new AppCommonInfoSettings();

			return result;
		}
        public static AppCommonInfoSettings GetConfig()
        {
            AppCommonInfoSettings result =
                (AppCommonInfoSettings)ConfigurationBroker.GetSection("appCommonInfoSettings");

            if (result == null)
            {
                result = new AppCommonInfoSettings();
            }

            return(result);
        }