dotnetcore / dotnetcore/WTM

RunSQL 执行不返回DataTable

Open
#481 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
4.3k
Forks
896
PR merge metrics
No merged PRs in 30d

Description

![image](https://user-images.githubusercontent.com/53858121/119588502-8629d580-be03-11eb-96f1-dbb8370e7fc9.png)

string sql5 = string.Format("Select * FROM ActionLogs where ModuleName = '{0}' ", "WtmLog");
var dt= _WtmContexts.DC.RunSQL(sql5);

后台任务里这样写不返回DataTable,在Controllers里面测试也不行

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.