- 增加 IInsertOrUpdate.SetSource(sql) 重载方法;

This commit is contained in:
2881099
2022-08-17 19:49:54 +08:00
parent 4829df9573
commit e12f6e04a2
26 changed files with 245 additions and 76 deletions

View File

@ -46,6 +46,8 @@ namespace FreeSql
/// <returns></returns>
IInsertOrUpdate<T1> SetSource(IEnumerable<T1> source, Expression<Func<T1, object>> tempPrimarys = null);
IInsertOrUpdate<T1> SetSource(string sql, Expression<Func<T1, object>> tempPrimarys = null);
/// <summary>
/// 当记录存在时,什么都不做<para></para>
/// 换句话:只有记录不存在时才插入