Stop linqpad from querying __MigrationHistory on each call
EF queries the __MigrationHistory each time the DbContext is opened to ensure the DB context is in sync with the DB. This can be very expensive. Can LinqPad provide an option to skip this check by doing Database.SetInitializer<UserQuery>(null)?
UserQuery seems to be the class that gets derived from the user created DbContext.
4
votes
Hasani Blackwell
shared this idea