提交 587d10cd 编写于 作者: S szjay

no commit message

上级 a8024430
......@@ -127,7 +127,7 @@ namespace System.Data.Entity
int fromPos = sql.ToLower().IndexOf("from");
sql = sql.Substring(fromPos);
sql = "select count(1) cnt " + sql;
int count = ExecuteScalar<int>(db, sql);
int count = ExecuteScalar<int>(db, sql, where);
return count;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册