mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
-
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user