|
@ -175,7 +175,7 @@ namespace SqlSugar |
|
|
|
|
|
|
|
|
}, (cm, key) => |
|
|
}, (cm, key) => |
|
|
{ |
|
|
{ |
|
|
string sql = "select * from " + tableName + " limit 0,1"; |
|
|
string sql = "PRAGMA table_info(" + tableName + ")"; |
|
|
var oldIsEnableLog = this.Context.Ado.IsEnableLogEvent; |
|
|
var oldIsEnableLog = this.Context.Ado.IsEnableLogEvent; |
|
|
this.Context.Ado.IsEnableLogEvent = false; |
|
|
this.Context.Ado.IsEnableLogEvent = false; |
|
|
using (DbDataReader reader = (SqliteDataReader)this.Context.Ado.GetDataReader(sql)) |
|
|
using (DbDataReader reader = (SqliteDataReader)this.Context.Ado.GetDataReader(sql)) |
|
|