public TupTurnosProtegidoCollection FetchByQuery(Query qry) { TupTurnosProtegidoCollection coll = new TupTurnosProtegidoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TupTurnosProtegidoCollection FetchAll() { TupTurnosProtegidoCollection coll = new TupTurnosProtegidoCollection(); Query qry = new Query(TupTurnosProtegido.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TupTurnosProtegidoCollection FetchByID(object IdTurnoSubsecretaria) { TupTurnosProtegidoCollection coll = new TupTurnosProtegidoCollection().Where("idTurnoSubsecretaria", IdTurnoSubsecretaria).Load(); return(coll); }