public List <CompExtention.Component> GetTableAsComponent()
        {
            List <string> Tables = new List <string>();

            Builder.Data.ComponentBuilder  cb = new Builder.Data.ComponentBuilder(this.Connection);
            List <CompExtention.Component> CompList;

            CompList = ComponentDataHandler.GetComponents(this.Connection);
            Tables   = cb.GetTables();

            foreach (string s in Tables)
            {
                var c = CompList.Where(x => x.TableName == s).FirstOrDefault();
                if (c == null)
                {
                    var comp = new Component(s, ComponentType.none);
                    comp.TableName = s;
                    CompList.Add(comp);
                }
            }
            return(CompList.OrderBy(x => x.TableName).ToList());
        }