public SysPermisoCollection FetchByQuery(Query qry)
        {
            SysPermisoCollection coll = new SysPermisoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public SysPermisoCollection FetchAll()
        {
            SysPermisoCollection coll = new SysPermisoCollection();
            Query qry = new Query(SysPermiso.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public SysPermisoCollection FetchByID(object IdPermiso)
        {
            SysPermisoCollection coll = new SysPermisoCollection().Where("idPermiso", IdPermiso).Load();

            return(coll);
        }