Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
hi guys,

i want to log/trace EntityFramework-Statements to log4net.

how can i do this? unfortunately i found nothing.

thanks in advance.
Posted
Updated 11-Mar-13 5:30am
v2

1 solution

 
Share this answer
 
v2
Comments
Member 8950080 11-Mar-13 12:00pm    
EntityFramework generates ADO.NET-SQL-Statements.
Andy411 11-Mar-13 12:11pm    
OK, I understand what you mean. I never did it, however I tried to improve my answer.
Member 8950080 11-Mar-13 12:16pm    
much better... thanks... i go through these links

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900