/// <summary>
        /// Query the EA model and returns the results in the EA Search Window
        /// </summary>
        /// <returns></returns>
        private bool QueryModel()
        {
            // get connection string of repository
            string    connectionString = LinqUtil.GetConnectionString(_repository, out var provider);
            DataTable dt;

            using (var db = new DataModels.EaDataModel(provider, connectionString))
            {
                dt = (from o in db.t_object
                      orderby new { o.Name, o.Object_Type, o.Stereotype }
                      select new { CLASSGUID = o.ea_guid, CLASSTYPE = o.Object_Type, Name = o.Name, Type = o.Object_Type, Stereotype = o.Stereotype }
                      ).Distinct()
                     .ToDataTable();
            }
            // 2. Order, Filter, Join, Format to XML
            string xml = LinqUtil.QueryAndMakeXmlFromTable(dt);

            // 3. Out put to EA
            _repository.RunModelSearch("", "", "", xml);
            return(true);
        }