AfterSaveEntities() protected method

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
return 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));
 }