public virtual List <Lite <Entity> > FindMany(FindManyOptions options) { AssertFindable(options.QueryName); SearchWindow sw = CreateSearchWindow(options); if (sw.ShowDialog() == true) { return(sw.SelectedItems); } return(null); }
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()); }
public static List <Lite <Entity> > FindMany(FindManyOptions options) { return(Manager.FindMany(options)); }