コード例 #1
0
        public SysMenuCollection FetchByQuery(Query qry)
        {
            SysMenuCollection coll = new SysMenuCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public SysMenuCollection FetchAll()
        {
            SysMenuCollection coll = new SysMenuCollection();
            Query             qry  = new Query(SysMenu.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #3
0
        public SysMenuCollection FetchByID(object IdMenu)
        {
            SysMenuCollection coll = new SysMenuCollection().Where("idMenu", IdMenu).Load();

            return(coll);
        }