I am currently using the Self Tracking entities of the .NET Entity Framework, however I would like to speed up my execution of queries.
The first thing everyone seems to suggest is generate the views for the model at compile time.
Using the ssdl files etc, I was able to create a 'MyModel.Views.cs', which is compiled in my project. However I saw no benefit of this this what so ever? Am I missing something here? Do I get no benefit from this if I am using Self Tracking entities?
What other ways can I increase performance with the Entity Framework? How can I create Pre Compiled views, but supply with with parameters? A search query for example needs to take various different parameters, but could do with being made quicker!
Thanks