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); }