protected void SaveAll() { SaveChangesEvent?.Invoke(this, EventArgs.Empty); }
/// <summary> /// 保存的方法 /// </summary> /// <returns></returns> public override int SaveChanges() { SaveChangesEvent?.Invoke(this, HandleClass); return(base.SaveChanges()); }