Пример #1
0
        public static DataSet GetAlertDataSet(Guid alertID)
        {
            if (AlertList.ContainsKey(alertID) == false)
            {
                return(null);
            }

            String       strQuery  = GetAlertQueryString(alertID);
            GEAlertsInfo alertInfo = AlertList[alertID];

            BusinessObjectController ctrl = BusinessControllerFactory.GetBusinessController(alertInfo.TableName);

            if (ctrl == null)
            {
                return(null);
            }

            return(ctrl.GetDataSet(strQuery));
        }