Stop DefiningQuery being overwritten by edmx designer
The defining query element in the edmx XML needs adding by hand, but when reusing the update model from database it is overwritten.
It was be very useful if the defining queries are not overwritten, as we primarily work in a database first way... so the team isn't familiar with the edmx xml... however we have specific features requiring DefiningQuery which could be overwritten often... it means that DefiningQuery couldn't be a long term solution for us as it'll cause to much pain to producitvity & gotcha bugs.
Closing this as it is specific to EF6 and/or EF6 designer and we are now only tracking EF Core ideas here. If this is important to you, create an issue at http://github.com/aspnet/entityframework6/issues/new, but keep in mind that moving forward, our team will only fix bugs, implement small improvements and accept community contributions in the EF6 codebase.