/// <summary>
 /// Release DataContext of an ElementContext.
 /// you may keep main element if the purpose of ReleaseDataContext is for refreshing data.
 /// </summary>
 /// <param name="ecId">ElementContext Id</param>
 public static void ReleaseDataContext(Guid ecId)
 {
     DataManager.GetDefaultInstance().RemoveDataContext(ecId);
 }
 /// <summary>
 /// Release all data in Action Data Manager
 /// </summary>
 public static void ReleaseAll()
 {
     DataManager.Clear();
 }