I've encountered some performance problems when using the EF Power Tools extension beta 2 to reverse-engineer my complex database. I had some theories as to how I can improve this, but couldn't find any reference to published source.
Will this extension ever be released as open source? If yes, when and where?
By the way, the problem I'm having is that the reverse-engineering takes a very long time on my complex database with hundreds of entities (during which the SQL Server is working) and hangs the Visual Studio UI (I'm using 2010).
The process takes about 10 minutes on my beefy workstation and absolutely idle SQL Server. I tried it on a much simpler DB before and it finished in about 5 seconds.
I'm guessing it's creating a very heavy schema query on the DB, and then hangs the UI thread while waiting for the response. If that's the case, I'd try to split the query results and fetch data in chunks, and also perhaps move the generation code into a separate thread while the UI gives feedback on the progress.
A simpler solution would be to just create a command-line interface to do the same thing (is there one already and I'm missing it?)
It is available on Entity Framework code base here

Fork it, contribute, do what you want.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With