?
Solved

Linq To EF - Too Good?

Posted on 2011-02-22
3
Medium Priority
?
402 Views
Last Modified: 2013-11-11
I don't like to look a gift-horse in the mouth, but...Customers-Invoices, tables+EF objects. I make a request for list Invoices, watching SQL Profiler like hawk, get the list, QuickWatch on one Invoice, see the related Customer object, pop the + sign, and I get the Customer full object, but I don't see any action in the profiler????
Where is it getting the data from?
(I'm no expert on SQL Profiler, I'm using the freebie one AnjLab with two Events selected only, SQLBatchStart + SQLBatchComplete )
0
Comment
Question by:Silas2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 total points
ID: 34952134
The commands won't be run as a batch. You need to be watching for statement based events, although i'm not sure precisely what they will be named in the AnjLab version.
0
 
LVL 10

Assisted Solution

by:John Claes
John Claes earned 500 total points
ID: 34952172
Entity framework gets his data Through the folowing application Name : .Net SCLCLient Data Provider
RPC:Completed gives you the query that has ran

I'm using the standard template in the Profiler.
0
 
LVL 63

Expert Comment

by:Fernando Soto
ID: 34952410
It depends on how the query was set up to include or not to include child entities. Can you post the code you used including the instantiation of the ObjectContext.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question