/// <summary> /// /// </summary> /// <returns></returns> public EntityDeletionImpact ReportImpact() { EntityDeletionImpact retVal = new EntityDeletionImpact("MockImpact2"); retVal.NewAssociationSubItem("association in MockImpact2") .NewEntityUpdateSubItem("some entity is updated"); return retVal; }
/// <summary> /// /// </summary> /// <returns></returns> public EntityDeletionImpact ReportImpact() { EntityDeletionImpact retVal = new EntityDeletionImpact("MockImpact1"); AssociationImpact ai = retVal.NewAssociationSubItem("Association to MockImpacter2 from MockImpacter1"); foreach (MockImpacter2 mi2 in mockAssociation) ai.NewEntityDeletionSubItem(mi2); return retVal; }