Breeze.ContextProvider.ContextProvider.AfterSaveEntities C# (CSharp) Method

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
    protected internal virtual void AfterSaveEntities(Dictionary<Type, List<EntityInfo>> saveMap, List<KeyMapping> keyMappings) {
      if (AfterSaveEntitiesDelegate != null) {
        AfterSaveEntitiesDelegate(saveMap, keyMappings);
      }
    }

Usage Example

コード例 #1
0
 public void AfterSave()
 {
     ContextProvider.AfterSaveEntities(SaveMap, KeyMappings);
 }
All Usage Examples Of Breeze.ContextProvider.ContextProvider::AfterSaveEntities