コード例 #1
0
ファイル: WorkflowActionForm.cs プロジェクト: ewin66/rockrms
 /// <summary>
 /// Updates any Cache Objects that are associated with this entity
 /// </summary>
 /// <param name="entityState">State of the entity.</param>
 /// <param name="dbContext">The database context.</param>
 public void UpdateCache(System.Data.Entity.EntityState entityState, Rock.Data.DbContext dbContext)
 {
     WorkflowActionFormCache.UpdateCachedEntity(this.Id, entityState);
 }
コード例 #2
0
 /// <summary>
 /// Updates any Cache Objects that are associated with this entity
 /// </summary>
 /// <param name="entityState">State of the entity.</param>
 /// <param name="dbContext">The database context.</param>
 public void UpdateCache(EntityState entityState, Data.DbContext dbContext)
 {
     WorkflowActionFormCache.UpdateCachedEntity(this.WorkflowActionFormId, EntityState.Modified);
     WorkflowActionFormAttributeCache.UpdateCachedEntity(this.Id, entityState);
 }