Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
More complicated with Linq
Message
From
11/04/2012 14:59:37
 
 
To
11/04/2012 12:06:44
General information
Forum:
ASP.NET
Category:
LINQ
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01540963
Message ID:
01541120
Views:
29
>You may also want to look at the ToTraceString function (http://msdn.microsoft.com/en-us/library/system.data.objects.objectquery.totracestring.aspx). This will show you the actual command that gets executed against your database. You'll need to save off your query without the FirstOrDefault to use it though, and you may have to cast the query as System.Data.Objects.ObjectQuery.

Very well, thank you
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform