public MamTratamientoCollection FetchByQuery(Query qry) { MamTratamientoCollection coll = new MamTratamientoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public MamTratamientoCollection FetchAll() { MamTratamientoCollection coll = new MamTratamientoCollection(); Query qry = new Query(MamTratamiento.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public MamTratamientoCollection FetchByID(object IdTratamiento) { MamTratamientoCollection coll = new MamTratamientoCollection().Where("idTratamiento", IdTratamiento).Load(); return(coll); }