mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 04:18:16 +08:00
- 增加 FreeSql.Provider.Sqlite 对 Xamarin 环境下的适配;
This commit is contained in:
@ -3,7 +3,6 @@ using SafeObjectPool;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Data.Common;
|
||||
using System.Data.SQLite;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
|
||||
@ -56,7 +55,7 @@ namespace FreeSql.Sqlite
|
||||
|
||||
protected override DbCommand CreateCommand()
|
||||
{
|
||||
return new SQLiteCommand();
|
||||
return MonoAdapter.GetSqliteCommand();
|
||||
}
|
||||
|
||||
protected override void ReturnConnection(ObjectPool<DbConnection> pool, Object<DbConnection> conn, Exception ex)
|
||||
|
Reference in New Issue
Block a user