Exemplo n.º 1
0
        protected int OnDeleted(ICondition condition, string[] cascades, int result)
        {
            var args = new DataDeletedEventArgs(this.Name, condition, cascades, result);

            this.OnDeleted(args);
            return(args.Result);
        }
Exemplo n.º 2
0
        protected virtual void OnDeleted(DataDeletedEventArgs args)
        {
            var e = this.Deleted;

            if (e != null)
            {
                e(this, args);
            }
        }