AfterSaveEntities() защищенный Метод

Called after the entities have been saved, and all the temporary keys have been replaced by real keys. The base implementation calls AfterSaveEntitiesDelegate, or does nothing if AfterSaveEntitiesDelegate is null.
protected AfterSaveEntities ( Dictionary saveMap, List keyMappings ) : void
saveMap Dictionary The same saveMap that was returned from BeforeSaveEntities
keyMappings List The mapping of temporary keys to real keys
Результат void
Пример #1
0
 public void AfterSave()
 {
     ContextProvider.AfterSaveEntities(SaveMap, KeyMappings);
 }
Пример #2
0
 public Task AfterSaveAsync(CancellationToken cancellationToken)
 {
     ContextProvider.AfterSaveEntities(SaveMap, KeyMappings);
     return(ContextProvider.AfterSaveEntitiesAsync(SaveMap, KeyMappings, cancellationToken));
 }