public PnRelPacienteAfiliadoCollection FetchByQuery(Query qry) { PnRelPacienteAfiliadoCollection coll = new PnRelPacienteAfiliadoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnRelPacienteAfiliadoCollection FetchAll() { PnRelPacienteAfiliadoCollection coll = new PnRelPacienteAfiliadoCollection(); Query qry = new Query(PnRelPacienteAfiliado.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnRelPacienteAfiliadoCollection FetchByID(object IdRelPacienteAfiliado) { PnRelPacienteAfiliadoCollection coll = new PnRelPacienteAfiliadoCollection().Where("idRelPacienteAfiliado", IdRelPacienteAfiliado).Load(); return(coll); }