Skip to content

Commit 9bbefe7

Browse files
committed
- 修改方法名,避免与其他 Provider 命名冲突;#1975
1 parent f245981 commit 9bbefe7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Providers/FreeSql.Provider.Sqlite/SqliteExtensions.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ public static partial class FreeSqlSqliteGlobalExtensions
1616
/// <returns></returns>
1717
public static string FormatSqlite(this string that, params object[] args) => _sqliteAdo.Addslashes(that, args);
1818
static FreeSql.Sqlite.SqliteAdo _sqliteAdo = new FreeSql.Sqlite.SqliteAdo();
19-
public static void BulkInsert<T>(this IInsert<T> that) where T : class
19+
20+
public static void ExecuteSqliteBulkInsert<T>(this IInsert<T> that) where T : class
2021
{
2122
var insert = that as FreeSql.Sqlite.Curd.SqliteInsert<T>;
2223
if (insert == null) throw new Exception(CoreErrorStrings.S_Features_Unique("BulkInsert", "Sqlite"));
@@ -112,7 +113,7 @@ public static void BulkInsert<T>(this IInsert<T> that) where T : class
112113
}
113114
else
114115
{
115-
throw new NotImplementedException($"ExecuteSqlBulkCopy {CoreErrorStrings.S_Not_Implemented_FeedBack}");
116+
throw new NotImplementedException($"ExecuteSqliteBulkInsert {CoreErrorStrings.S_Not_Implemented_FeedBack}");
116117
}
117118
}
118119
finally

0 commit comments

Comments
 (0)