-增加RestAPI ExecuteBulkCopy适配

This commit is contained in:
dailyccc 2023-02-21 20:28:57 +08:00
parent 5fc7cba0d3
commit 29d8d8d977

View File

@ -1,6 +1,7 @@
using FreeSql.Internal; using FreeSql.Internal;
using FreeSql.Internal.CommonProvider; using FreeSql.Internal.CommonProvider;
using FreeSql.PostgreSQL.Curd; using FreeSql.PostgreSQL.Curd;
using FreeSql.Provider.QuestDb;
using FreeSql.QuestDb.Curd; using FreeSql.QuestDb.Curd;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Linq; using Newtonsoft.Json.Linq;
@ -16,6 +17,7 @@ using System.Net.NetworkInformation;
using System.Numerics; using System.Numerics;
using System.Reflection; using System.Reflection;
using System.Threading; using System.Threading;
using Microsoft.Extensions.DependencyInjection;
namespace FreeSql.QuestDb namespace FreeSql.QuestDb
{ {
@ -134,6 +136,11 @@ namespace FreeSql.QuestDb
Select0Provider._dicMethodDataReaderGetValue[typeof(Guid)] = Select0Provider._dicMethodDataReaderGetValue[typeof(Guid)] =
typeof(DbDataReader).GetMethod("GetGuid", new Type[] { typeof(int) }); typeof(DbDataReader).GetMethod("GetGuid", new Type[] { typeof(int) });
QuestDbContainer.Initialize(service =>
{
service.AddHttpClient();
});
} }
public override ISelect<T1> CreateSelectProvider<T1>(object dywhere) => public override ISelect<T1> CreateSelectProvider<T1>(object dywhere) =>