public SysMenuCollection FetchByQuery(Query qry) { SysMenuCollection coll = new SysMenuCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysMenuCollection FetchAll() { SysMenuCollection coll = new SysMenuCollection(); Query qry = new Query(SysMenu.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysMenuCollection FetchByID(object IdMenu) { SysMenuCollection coll = new SysMenuCollection().Where("idMenu", IdMenu).Load(); return(coll); }