示例#1
0
        public SysPermisoCollection FetchByQuery(Query qry)
        {
            SysPermisoCollection coll = new SysPermisoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#2
0
        public SysPermisoCollection FetchAll()
        {
            SysPermisoCollection coll = new SysPermisoCollection();
            Query qry = new Query(SysPermiso.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }