提交 c5e53a42 编写于 作者: S szjay

no commit message

上级 88b39efc
...@@ -20,6 +20,7 @@ using System.Data.Entity.Infrastructure; ...@@ -20,6 +20,7 @@ using System.Data.Entity.Infrastructure;
using System.Data.Entity.Migrations; using System.Data.Entity.Migrations;
using System.Data.Entity.Validation; using System.Data.Entity.Validation;
using System.Data.SqlClient; using System.Data.SqlClient;
using System.Diagnostics;
using System.Linq; using System.Linq;
using System.Linq.Expressions; using System.Linq.Expressions;
using System.Reflection; using System.Reflection;
...@@ -198,6 +199,10 @@ namespace System.Data.Entity ...@@ -198,6 +199,10 @@ namespace System.Data.Entity
{ {
SystemLogger.Instance.WriteSql("", cmd.CommandText); SystemLogger.Instance.WriteSql("", cmd.CommandText);
} }
else
{
Debug.WriteLine(cmd.CommandText);
}
DbDataReader reader = null; DbDataReader reader = null;
try try
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册