mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 13:34:32 +08:00
-
This commit is contained in:
parent
31b1df127d
commit
86750dcdae
@ -175,7 +175,7 @@ namespace SqlSugar
|
|||||||
}, (cm, key) =>
|
}, (cm, key) =>
|
||||||
{
|
{
|
||||||
string sql = "select * from " + tableName + " limit 0,1";
|
string sql = "select * from " + tableName + " limit 0,1";
|
||||||
using (DbDataReader reader = new SQLiteCommand(sql).ExecuteReader(System.Data.CommandBehavior.SchemaOnly))
|
using (DbDataReader reader = (SQLiteDataReader)this.Context.Ado.GetDataReader(sql))
|
||||||
{
|
{
|
||||||
return AdoCore.GetColumnInfosByTableName(tableName, reader);
|
return AdoCore.GetColumnInfosByTableName(tableName, reader);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user