Barry wrote:
I run SQL Profiler to trace the activities on SQL Server when I open my project, it does not have any activities on SQL Server, so I think the designer do not interogate my database and refresh the schema when I open my existing project.
Once a project is created, no database activity is performed so loading a project won't make the designer connect to the db.
I only included tables in my project, it does not contain any views, stored procedures, and custom properties.
Hmm. Well, the designer deserializes, binary, the complete object graph, which contains project elements and catalog elements. If that's slow, the main cause is often a lot of elements in the catalog, e.g. thousands of procs, thousands of tables etc. Even if you map just 10 entities, if you have 1000 procs and 1000 tables, loading it will be slow.
Like I said, it doesn't have to be slow, if you want me to have a look, please mail me the .lgp file: support AT llblgen.com (you can zip the .lgp file).