log4net SQL Logging in Entity Framework 5 for SELECT, UPDATE; DELETE; INSERT RRS feed

  • Question

  • Hi,

    is there a way like in NHibernate to log all dynamically genertaed CRUD statetement directly into a log file just by configuration? Obviously EF5 also needs to translate from object-orientation into relational SQL statements, so I dont understand why this CRUD string could not be logged to a file like all other ORM doing it. 

    Or am I missing here something?

    Thanks for any help!



    Friday, August 31, 2012 7:59 AM