home recent topics recent posts search register faq   AspNetForum v.4.8.2.0

Huagati Systems Support Forum :: Forum

user:
psw:
| lost password
Home » Huagati Linq-to-SQL Profiler Support » Entity Framework Logging Messages in this topic - RSS
4/1/2010 5:12:44 PM
moneill
Posts 19
Hi Kristopher

I have been using the profiler built into apps as a logging tool for Linq 2 Sql , I have started to approach the inevitable conversion to EF as Vs 2010 approaches

I think the answer is no , but is there any way I can use the profiler tool to log stuff going to the Db from an Entity Framework Object context

If NO , is there any plan to add this functionality , a bit like the LLBL Gen add in look alike. Micorsoft seem determined that EF is the way so I suppose we mere mortals muts at least try and "obey"

Cheers

Mike
4/5/2010 10:41:57 AM
Kristofer
Posts 256
Hi Mike,

A logging provider for EF is planned, but the release date for it has not yet been determined.

As for EF vs L2S in VS2010; I think the jury is still out on that one. Linq-to-SQL is still there in VS2010, they have made some fixes and improvements to it. They're obviously spending a lot of time and money on improving EF but for many scenarios I think L2S is still a better option. (If you just need 1:1 mapping, and use SQL Server, there's no need for the 'extras' that come with EF in my opinion, and sometimes the EF 'extras' can slow down both development and runtime performance due to additional complexity...). I think L2S will still be a viable option for many years to come, but that is just me making guesses again...

Best regards,
Kristofer
6/8/2010 1:59:41 PM
Kristofer
Posts 256
The profiler logging component for Entity Framework v4 is included in version 1.31 of the profiler.

A beta version of v 1.31 can be downloaded from http://www.huagati.com/l2sprofiler/download/HuagatiQueryProfiler_131_beta.zip
7/28/2010 3:41:54 PM
moneill
Posts 19
Hi Krisofer

Are you going to give us a Noddy Guide for EF profiling , I tried using 1.31 as with the l2S profiler but the methods don't match

Am I being thick ?/

Mike
8/6/2010 3:02:19 PM
moneill
Posts 19
Hi Kristofer

Any Reply ??

Mike
8/6/2010 5:58:39 PM
Kristofer
Posts 256
Hi,

Sorry, I missed that one.

Yes, the methods on the EF logging component are slightly different. There are two sample projects included with the installer that shows how to use the EF profiler, together with some sample queries to generate log files. (see the "Code Samples (zip)" menu option under the Huagati Query Profiler program group in the start menu after installing)

I also posted a brief intro to it here:
http://huagati.blogspot.com/2010/06/entity-framework-support-in-huagati.html

Best regards,
Kristofer
8/9/2010 5:11:49 PM
moneill
Posts 19
Hi Krisptofer

Not a problem , I was being dumb as ever , I didn't see the samples \

All up and running perfectly

Cheers
Mike
8/10/2010 9:14:52 AM
Kristofer
Posts 256
moneill wrote:
All up and running perfectly

Cheers
Mike


Great to hear!

Kristofer
pages: 1
|

Home » Huagati Linq-to-SQL Profiler Support » Entity Framework Logging