protected virtual void OnSelected(DataSelectionContext context)
        {
            var e = this.Selected;

            if (e != null)
            {
                e(this, new DataSelectedEventArgs(context));
            }
        }
        protected virtual void OnGetted(DataSelectionContext context)
        {
            var e = this.Getted;

            if (e != null)
            {
                e(this, new DataGettedEventArgs <TEntity>(context));
            }
        }
        protected virtual bool OnGetting(DataSelectionContext context)
        {
            var e = this.Getting;

            if (e == null)
            {
                return(false);
            }

            var args = new DataGettingEventArgs <TEntity>(context);

            e(this, args);
            return(args.Cancel);
        }
 protected virtual void OnSelected(DataSelectionContext context)
 {
 }