I added pregenerated views to my EF project. It actually seems to be working. The init
method gets called, the view is obviously loaded. FYI, this method is called: DbMappingView GetView(EntitySetBase extent)
.
However, nothing changed. The startup is as slow as ever: 8 to 10 seconds. All subsequent queries are very fast.
I only have two quite small entities (20 columns together). So nothing complicated. Why is it still so slow?