Пример #1
0
        public static void AutomaticUpdateNo(String strTableName)
        {
            BusinessObjectController ctrl = BusinessControllerFactory.GetBusinessController(strTableName);

            foreach (BusinessObject obj in ctrl.GetListAllObjects())
            {
                GenerateNo(obj);
                ctrl.UpdateObject(obj);
            }
        }