Example #1
0
        public static string GetCellCode(this DashboardMaster dashboard, string productID)
        {
            string key = productID;

            if (string.IsNullOrEmpty(key))
            {
                return(null);
            }

            var maps = dashboard.CellCodeMaps;

            string cellCode;

            if (maps.TryGetValue(key, out cellCode))
            {
                return(cellCode);
            }

            return(null);
        }
Example #2
0
        public static void AddCellCodeMaps(this DashboardMaster dashboard, string productID, string cellCode)
        {
            if (string.IsNullOrEmpty(cellCode))
            {
                return;
            }

            string key = productID;

            if (string.IsNullOrEmpty(key))
            {
                return;
            }

            var maps = dashboard.CellCodeMaps;

            if (maps.ContainsKey(key))
            {
                return;
            }

            maps.Add(key, cellCode);
        }
        public DataSet GetCommonDashboardData(DashboardMaster obj)
        {
            DALCommon dal = new DALCommon(ConStr);

            return(dal.GetCommonDashboardData(obj));
        }
Example #4
0
        public DataSet GetCommonDashboardData(DashboardMaster obj)
        {
            BALCommon bal = new BALCommon(ConStr);

            return(bal.GetCommonDashboardData(obj));
        }
Example #5
0
        public DataSet GetCommonDashboardData(DashboardMaster obj)
        {
            DataSet ds = new DataSet();

            return(ds);
        }