- 修改方法名,避免与其他 Provider 命名冲突;#1975

This commit is contained in:
2881099
2025-02-15 11:47:08 +08:00
parent f245981954
commit 9bbefe7d86

View File

@@ -16,7 +16,8 @@ public static partial class FreeSqlSqliteGlobalExtensions
/// <returns></returns>
public static string FormatSqlite(this string that, params object[] args) => _sqliteAdo.Addslashes(that, args);
static FreeSql.Sqlite.SqliteAdo _sqliteAdo = new FreeSql.Sqlite.SqliteAdo();
public static void BulkInsert<T>(this IInsert<T> that) where T : class
public static void ExecuteSqliteBulkInsert<T>(this IInsert<T> that) where T : class
{
var insert = that as FreeSql.Sqlite.Curd.SqliteInsert<T>;
if (insert == null) throw new Exception(CoreErrorStrings.S_Features_Unique("BulkInsert", "Sqlite"));
@@ -112,7 +113,7 @@ public static partial class FreeSqlSqliteGlobalExtensions
}
else
{
throw new NotImplementedException($"ExecuteSqlBulkCopy {CoreErrorStrings.S_Not_Implemented_FeedBack}");
throw new NotImplementedException($"ExecuteSqliteBulkInsert {CoreErrorStrings.S_Not_Implemented_FeedBack}");
}
}
finally