Пример #1
0
        protected object OnGetted(ICondition condition, string scope, Paging paging, Sorting[] sortings, object result)
        {
            var args = new DataGettedEventArgs(this.Name, condition, scope, paging, sortings, result);

            this.OnGetted(args);
            return(args.Result);
        }
Пример #2
0
        protected TEntity OnGetted(ICondition condition, string scope, TEntity result)
        {
            var args = new DataGettedEventArgs <TEntity>(this.Name, condition, scope, result);

            this.OnGetted(args);
            return(args.Result);
        }
Пример #3
0
        protected virtual void OnGetted(DataGettedEventArgs args)
        {
            var e = this.Getted;

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