Наследование: FindOptionsBase
Пример #1
0
        public virtual List <Lite <Entity> > FindMany(FindManyOptions options)
        {
            AssertFindable(options.QueryName);

            SearchWindow sw = CreateSearchWindow(options);

            if (sw.ShowDialog() == true)
            {
                return(sw.SelectedItems);
            }
            return(null);
        }
Пример #2
0
        public static List <Lite <T> > FindMany <T>(FindManyOptions options)
            where T : Entity
        {
            if (options.QueryName == null)
            {
                options.QueryName = typeof(T);
            }

            List <Lite <Entity> > result = Manager.FindMany(options);

            if (result == null)
            {
                return(null);
            }

            return(result.Cast <Lite <T> >().ToList());
        }
Пример #3
0
 public static List <Lite <Entity> > FindMany(FindManyOptions options)
 {
     return(Manager.FindMany(options));
 }