This is a migrated thread and some comments may be shown as answers.

Class to trace the SQL statements generated by Telerik OpenAccess ORM

2 Answers 54 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Amilton
Top achievements
Rank 1
Amilton asked on 31 Mar 2016, 02:06 PM

Hello.

I searched the documentation and found a link with a class for tracing of SQL queries: 
http://www.telerik.com/help/openaccess-classic/openaccess-tasks-howto-trace-sql-statements.html

I would like, if possible, a sample project using this class to handle the log file of queries.

Regards,
Felipe.

2 Answers, 1 is accepted

Sort by
0
Doroteya
Telerik team
answered on 04 Apr 2016, 04:39 PM
Hi Felipe,

The article you found out is regarding the Classic API of Data Access. Based on the provided information, though, I'm under the impression that you are using the contemporary Context API, more specifically, that you have an .rlinq file in your solution. If my assumption is correct, you could use the Telerik Data Access Profiler and Tuning Advisor to monitor and finetune the performance of your application. More details about the configuration of the project are available in this documentation article.

Additionally, as the Visual Studio integration of Data Access was deprecated a year ago, the Profiler along with the necessary ServiceHost assembly are distributed through the Telerik.DataAccess.Profiler NuGet package.

I hope this helps. Let me know if you need further information.


Regards,
Doroteya
Telerik
 
Check out the latest announcement about Telerik Data Access vNext as a powerful framework able to solve core development problems.
0
Amilton
Top achievements
Rank 1
answered on 15 Apr 2016, 06:48 PM

Hello.

I read the documentation and put the profile in my project, but the stack trace information is not available, even though I checked the Include Stack Trace option in model settings.

My settings are the same as these:
http://docs.telerik.com/data-access/images/1gettingstarted-profiler-015.png

Regards,
Felipe.

Tags
General Discussions
Asked by
Amilton
Top achievements
Rank 1
Answers by
Doroteya
Telerik team
Amilton
Top achievements
Rank 1
Share this question
or