Esempio n. 1
0
        public SysMenuCollection FetchByQuery(Query qry)
        {
            SysMenuCollection coll = new SysMenuCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public SysMenuCollection FetchAll()
        {
            SysMenuCollection coll = new SysMenuCollection();
            Query             qry  = new Query(SysMenu.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public SysMenuCollection FetchByID(object IdMenu)
        {
            SysMenuCollection coll = new SysMenuCollection().Where("idMenu", IdMenu).Load();

            return(coll);
        }