public OdoProgramaCollection FetchByQuery(Query qry) { OdoProgramaCollection coll = new OdoProgramaCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public OdoProgramaCollection FetchAll() { OdoProgramaCollection coll = new OdoProgramaCollection(); Query qry = new Query(OdoPrograma.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public OdoProgramaCollection FetchByID(object IdProgramaOdontologia) { OdoProgramaCollection coll = new OdoProgramaCollection().Where("idProgramaOdontologia", IdProgramaOdontologia).Load(); return(coll); }