![]() | CYQ.Data componentsCYQ.Data support multi-database application [Txt,Xml,Access, MSSQL, Oracle,SQLite,MySql], help easily and quickly to develop your project |
CYQ.Data 数据框架 调试使用帮助
Guide |
|
|
| #TopicOwner |
本节介绍CYQ.Data,基本的调试方法: 一:打开调试开关 设置配置项:AppSettings:<add key="OpenDebugInfo" value="true" /> 二:调试中输出SQL语句 示例: using(MAction action = new MAction(TableNames.Users))
{
...执行数据块...
Response.Write(action.DebugInfo);//Asp.net中输出调试信息
Console.WriteLine(action.DebugInfo);//Winform中输出调试信息
} 三:高级用法,可输出任意两个点间的SQL语句(V5.0以上功能) 示例:输出一个页面所有执行的SQL语句: 1:在页面开始之前设置调试开始:[可以是PageLoad的事件中设置,或Global.asax的相应事件设置] AppDebug.Start();//设置SQL执行语句记录开始 2:在页面结束输出之前输出语句:[可以是OnUnload事件中设置,或Globbal.asax的相应事件设置] Response.Write(AppDebug.DebugInfo);//获取记录中的SQL语句,并输出
![]() |
Post Comment
Bulletin
Article Search
Categories
- Platform for dynamic (20)
- Feedback (9)
- Guide (33)
- Principles (19)
- Project-Case (8)
- Business & Buy (2)
- Technology exchange (45)
New Article
- CYQ.Data Components Getting Started Guide [Part 5]-[MProc Execute Stored Procedures or SQL]
- CYQ.Data Components Getting Started Guide [Part 4]-[MAction Insert Delete Update]
- CYQ.Data Components Getting Started Guide [Part 3]-[MAction Get And Set Value]
- CYQ.Data Components Getting Started Guide [Part 2]-[MAction Data Query- Fill And Select]
- CYQ.Data Components Getting Started Guide [Part 1]
New Comment
- When some one searches for his necessary thing, therefore he/she wishes to be available that in detail, so that thing is maintained over here.
- This is my first time pay a quick visit at here and i am in fact happy to read everthing at alone place.
- I truly appreciate this blog article.Really thank you! Cool.
- please pay a visit to the web sites we follow, like this one particular, as it represents our picks in the web
- Really enjoyed this post.Really thank you!
- Really enjoyed this article.Really looking forward to read more. Great.
- poker bonuses What are the norms of copyright of web content? How as it different from Patent?
- Wow! Thank you! I permanently needed to write on my blog something like that. Can I implement a fragment of your post to my site?
- This website was how do I say it? Relevant!! Finally I ave found something that helped me. Cheers!
- I was reading through some of your content on this internet site and I believe this web site is very informative ! Continue posting.