直接InsertRange空集合会报错
if (addList.Count>0) { dbContext.FsFactories.InsertRange(addList); } if (updateList.Count>0) { dbContext.FsFactories.UpdateRange(updateList); }
2023-10-14 13:00:58
直接InsertRange空集合会报错
if (addList.Count>0) { dbContext.FsFactories.InsertRange(addList); } if (updateList.Count>0) { dbContext.FsFactories.UpdateRange(updateList); }