[转]How to log queries using Entity Framework 7? 本文转自:https://stackoverflow.com/questions/26747837/how-to-log-queries-using-entity-framework-7