mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
-
This commit is contained in:
parent
5c4ec2e54a
commit
b566a8e1c2
@ -175,7 +175,7 @@ namespace SqlSugar
|
||||
|
||||
}, (cm, key) =>
|
||||
{
|
||||
string sql = "select * from " + tableName + " limit 0,1";
|
||||
string sql = "PRAGMA table_info(" + tableName + ")";
|
||||
var oldIsEnableLog = this.Context.Ado.IsEnableLogEvent;
|
||||
this.Context.Ado.IsEnableLogEvent = false;
|
||||
using (DbDataReader reader = (SqliteDataReader)this.Context.Ado.GetDataReader(sql))
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user