public AprRelRecienNacidoDefectoCongenitoCollection FetchByQuery(Query qry) { AprRelRecienNacidoDefectoCongenitoCollection coll = new AprRelRecienNacidoDefectoCongenitoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AprRelRecienNacidoDefectoCongenitoCollection FetchAll() { AprRelRecienNacidoDefectoCongenitoCollection coll = new AprRelRecienNacidoDefectoCongenitoCollection(); Query qry = new Query(AprRelRecienNacidoDefectoCongenito.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AprRelRecienNacidoDefectoCongenitoCollection FetchByID(object IdRelacion) { AprRelRecienNacidoDefectoCongenitoCollection coll = new AprRelRecienNacidoDefectoCongenitoCollection().Where("idRelacion", IdRelacion).Load(); return(coll); }