troubleshooting Question

How do I find the SQL command being executed by Entity Framework 4?

Avatar of curiouswebster
curiouswebsterFlag for United States of America asked on
.NET ProgrammingASP.NETMicrosoft SQL Server 2008
5 Comments2 Solutions359 ViewsLast Modified:
I am getting an exception that there's a problem with the INSERT statement being created by EF4.  Clearly, there is a problem with the values I feed in from te View.

How can I inspect that query?  Can it be done with Visual Studio 2010? I have used a SQL Server utility but forget what that's called. That might be the best way actually.

Thanks,
newbieweb
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros