Ejemplo n.º 1
0
        public List <string> GetSelectedTabledOfPath(string tableName)
        {
            if (SelectedTables != null)
            {
                foreach (List <string> path in SelectedTables)
                {
                    if (path != null && BaseMarkupUtilities.IsExistOnList(path, tableName))
                    {
                        return(path);
                    }
                }
            }

            return(GetAllSelectedTables());
        }
Ejemplo n.º 2
0
        public List <string> GetAllSelectedTables()
        {
            List <string> selectedTables = new List <string>();

            if (SelectedTables != null)
            {
                foreach (List <string> path in SelectedTables)
                {
                    if (path != null)
                    {
                        foreach (string table in path)
                        {
                            if (!BaseMarkupUtilities.IsExistOnList(selectedTables, table))
                            {
                                selectedTables.Add(table);
                            }
                        }
                    }
                }
            }

            return(selectedTables);
        }