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