Solved

Linq To EF - Too Good?

Posted on 2011-02-22
3
399 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 125 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 125 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

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

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

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

724 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