protected int OnDeleted(ICondition condition, string[] cascades, int result) { var args = new DataDeletedEventArgs(this.Name, condition, cascades, result); this.OnDeleted(args); return(args.Result); }
protected virtual void OnDeleted(DataDeletedEventArgs args) { var e = this.Deleted; if (e != null) { e(this, args); } }