/// <summary> /// Raises the Saving event /// </summary> /// <param name="businessObject"> /// The business Object. /// </param> /// <param name="action"> /// The action. /// </param> protected static void OnSaving(BusinessBase <T, TKey> businessObject, SaveAction action) { if (Saving != null) { Saving(businessObject, new SavedEventArgs(action)); } }
/// <summary> /// Raises the Saved event. /// </summary> protected static void OnSaved(BusinessBase <TYPE, KEY> businessObject, SaveAction action) { if (Saved != null) { Saved(businessObject, new SavedEventArgs(action)); } }