Introduced IRelationRepository.SaveBulk to use internally when performance is important.

Fixed issue in RelationRepository.Save not populating Ids on LocalDB/SqlServer
This commit is contained in:
Bjarke Berg
2020-10-08 14:37:17 +02:00
parent 3171cdda70
commit 55db973e82
5 changed files with 99 additions and 12 deletions

View File

@@ -984,7 +984,7 @@ namespace Umbraco.Core.Persistence.Repositories.Implement
}).WhereNotNull();
// Save bulk relations
RelationRepository.Save(toSave);
RelationRepository.SaveBulk(toSave);
}